Skip to content

Connectivity Status

The HMI Device State service tracks whether each HMI Device is active or inactive and updates a set of server-side attributes (or time-series) with connection timestamps. This lets you build automations — notifications, alarms, dashboard indicators — that react to HMI Devices going offline or coming back online.

When a HMI Device connects, disconnects, or becomes inactive, iRis Cloud updates the following values:

FieldTypeDescription
activeBooleantrue if the HMI Device is currently active
lastConnectTimems since epochWhen the HMI Device last connected
lastDisconnectTimems since epochWhen the HMI Device last disconnected
lastActivityTimems since epochWhen the HMI Device last sent telemetry, attributes, or an RPC command
inactivityAlarmTimems since epochWhen the last inactivity event was fired

The HMI Device State service tracks four connectivity event types while updating HMI Device state.

EventWhen it fires
ConnectHMI Device establishes a session (MQTT)
DisconnectHMI Device session closes (MQTT)
ActivityAn inactive HMI Device sends telemetry, updates attributes, or sends an RPC command
InactivityNo activity received

A HMI Device is marked inactive when no activity is received for 60 seconds. iRis Cloud checks all HMI Devices on a schedule controlled by 60 seconds.