state

State messages are sent every time an asset changes status.

Topic

MQTT: ia/<customerID>/<location>/<AssetID>/state

For Kafka just switch the / character with a .

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

keydata typedescription
stateuint32value of the state according to the link above
timestamp_msuint64unix 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 February 17, 2023: update (#208) (ea731fc)