less than a minute
MQTT: ia/<customerID>/<location>/<AssetID>/addShift
For Kafka just switch the /
character with a .
This message is send to indicate the start and end of a shift.
key | data type | description |
---|---|---|
timestamp_ms | int64 | unix timestamp of the shift start |
timestamp_ms_end | int64 | optional unix timestamp of the shift end |
A shift with start and end:
{
"timestamp_ms":1589788888888,
"timestamp_ms_end":1589788888888
}
And shift without end:
{
"timestamp_ms":1589788888888
}