Skip to content

Add timestamp to json output #42

@oregonpillow

Description

@oregonpillow

In my example output:

[
  {
    "vendorid": 13651,
    "productid": 40961,
    "manufacturer": "PCsensor",
    "product": "TEMPerHUM",
    "busnum": 1,
    "devnum": 3,
    "devices": [
      "hidraw0",
      "hidraw1"
    ],
    "port": "1-10",
    "firmware": "TEMPerHUM_V4.1",
    "hex_firmware": "54454d50657248554d5f56342e310000",
    "hex_data": "802005ae17620000",
    "internal temperature": 14.54,
    "internal humidity": 59.86
  }
]

there is not timestamp, surely this is some key information that should be included within the output? A Linux epoch time for example.
Would be happy to submit PR for this,

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions