activity
activity messages are sent when a new order is added.
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.
Topic
ia/<customerID>/<location>/<AssetID>/activity
ia.<customerID>.<location>.<AssetID>.activity
Usage
A message is sent here each time the machine runs or stops.
Content
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 |
JSON
Examples
The asset was active during the timestamp of the message:
{
"timestamp_ms":1588879689394,
"activity": true,
}
Schema
Producers
- Typically Node-RED
Consumers
- Typically Node-RED
Last modified April 17, 2023: build: version 0.9.13 (6cb0a01)