UDMI / Docs / Messages / State
Schema Definition: state.json (🧬View)
- There is an implicit minimum update interval of one second applied to state updates, and it is considered an error to update device state more often than that. If there are multiple state updates from a device in under a second they should be coalesced into one update (sent after an appropriate backoff timer) and not buffered (sending multiple messages).
last_config
should be the timestamp from thetimestamp
field of the last successfully parsedconfig
message (not the timestamp the message was received/processed).- The state message are sent as a part of sequences
This working example shows how a typical state
message
is constructed.