addShift

AddShift messages are sent to add a shift with start and end timestamp.

Topic

MQTT: ia/<customerID>/<location>/<AssetID>/addShift

For Kafka just switch the / character with a .

Usage

This message is send to indicate the start and end of a shift.

Content

keydata typedescription
timestamp_msint64unix timestamp of the shift start
timestamp_ms_endint64optional unix timestamp of the shift end

JSON

Examples

A shift with start and end:

{
  "timestamp_ms":1589788888888,
  "timestamp_ms_end":1589788888888
}

And shift without end:

{
  "timestamp_ms":1589788888888
}

Producers

Consumers

Last modified February 17, 2023: update (#208) (ea731fc)