For every message received, Connhex automatically adds some fields before performing a database insertion.
|protocol||Protocol through which the message has been received. For example, 'mqtt' or 'http'.|
|publisher||id of the device from which the message has been sent|
|channel||Internal Connhex identifier. For MQTT, this is the topic assigned to a given device.|
The Connhex JSON format has a mandatory t field reserved for a timestamp. How does that one differ from the Time column automatically created by Connhex?
Time certifies when a message has been received, whereas t is generated by the device before sending the message itself. t typically refers to when the measurements have been recorded, and differs from Time. This also accounts for:
- network latency
- additional computation performed from the device before sending the message (for example, batching)