The content of this article is deprecated, and will be removed in the future
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 January 22, 2024: Update version (074cc23)