less than a minute
This is part of our recommended workflow to create machine states. The data sent here will not be stored in the database automatically, as it will be required to be converted into a state. In the future, there will be a microservice, which converts these automatically.
MQTT: ia/<customerID>/<location>/<AssetID>/activity
For Kafka just switch the /
character with a .
A message is sent here each time the machine runs or stops.
key | data type | description |
---|---|---|
timestamp_ms | int | unix timestamp of message creation |
activity | bool | true if asset is currently active, false if asset is currently inactive |
The asset was active during the timestamp of the message:
{
"timestamp_ms":1588879689394,
"activity": true,
}