The content of this article is deprecated, and will be removed in the future
state
State messages are sent every time an asset changes status.
less than a minute
Topic
ia/<customerID>/<location>/<AssetID>/state
ia.<customerID>.<location>.<AssetID>.state
Usage
A message is sent here each time the asset changes status. Subsequent changes are not possible. Different statuses can also be process steps, such as “setup”, “post-processing”, etc. You can find a list of all supported states here.
Content
key | data type | description |
---|---|---|
state | uint32 | value of the state according to the link above |
timestamp_ms | uint64 | unix timestamp of message creation |
JSON
Example
The asset has a state of 10000, which means it is actively producing.
{
"timestamp_ms":1589788888888,
"state":10000
}
Producers
- Typically Node-RED
Consumers
Last modified December 19, 2024: Merge pull request #306 from united-manufacturing-hub/feat/eng-1713/rename-data-model-v1 (667ff8b)