added
⏱Global timestamp for all variables in an MQTT payload
about 4 years ago by Agustin Pelaez
Some customers have expressed the need to reduce the MQTT payload, which could get very large when sending a timestamp value for each variable.
With this in mind, we deployed a new MQTT topic:
/v2.0/devices/<device_label>
This topic supports the same payload you're used to send, but now receives an extra key called "timestamp", which is applied to all values in the payload:
{"temperature": 23, "humidity":55, "timestamp": 1601414731000}}
This feature will also be extended to our HTTP API soon.