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 September 13, 2024: Merge pull request #304 from united-manufacturing-hub/revert-303-eng-1400 (72fc28c)