How online/offline status works
A device is online when we've received a message from it within the last 90 seconds. After that it's marked offline and a device/offline event is emitted.
What the status dot colours mean
Device dot
A device's dot reflects its live presence and read health, in this order of priority:
- ๐ข Green โ online and healthy. We've received a good reading within the last 90 seconds and every tag is within its threshold.
- ๐ก Yellow โ online, but a threshold is breached. The device is reporting fine, but at least one tag is outside its configured alert threshold (see alert thresholds). This is about the value, not the connection โ it clears automatically when the value returns to range.
- ๐ Amber โ unreachable (the gateway can't read it). The gateway is online and tried to read this device, but the read failed โ a sensor didn't respond, a Modbus/parameter read errored, and so on. The link to the gateway is fine; this one device or sensor isn't answering. Hover the dot for the reason (e.g. "a parameter is unreadable").
- ๐ด Red / grey โ offline. No live presence at all: either the gateway itself is down, or the device's heartbeat expired (nothing seen for 90 s), or a direct-MQTT device went silent.
Amber vs. red is the important distinction. Amber means "the gateway is talking to us, but this one device won't answer"; red/grey means "we've got nothing." A flaky sensor on a healthy gateway shows amber โ far more useful than a plain "offline". Amber is not a replacement for offline; it's a finer state that splits the old "offline" into device-not-answering (amber) and nothing-there (red/grey).
When a whole gateway goes offline, its devices switch from amber to red/grey โ once the gateway is gone we can no longer say it's "trying", so the devices are simply offline. They return to amber if the gateway reconnects and the same read keeps failing.
Priority: offline (red/grey) and unreachable (amber) both take precedence over the yellow threshold warning โ a device that isn't reading can't be "in alert".
(One cosmetic note: "offline" renders red on the Devices list but grey on the gateway detail page and in the mobile app โ same state, different shade.)
Gateway dot
A gateway's dot reflects only its own connection โ an unreachable child device never turns the gateway amber:
- ๐ข Green โ online. The gateway is connected, whether or not every device under it is responding.
- ๐ด Red / grey โ offline. The gateway itself is disconnected (and all its devices show offline too).
If the gateway is online but one of its devices is unreachable, the gateway stays green and the problem is surfaced at the device level instead: the device-count on the gateway card turns amber, the gateway detail page shows a "N device(s) unreachable" badge, and that device shows its own amber dot. This keeps "the gateway is down" and "a device under it is misbehaving" clearly separate โ you always know which one to go fix.
Notes:
- The dot is live presence; it is independent of the device's active/inactive status badge.
- A device with reads paused still shows its last presence; look for the Paused badge (see pause device reads).
- Presence is tracked in memory, not the database โ it resets if our cache is flushed, and devices re-appear as soon as they publish again.
If a device is unexpectedly offline, see device shows offline.