Skip to content

Hubitat How To : Check the device Online Offline Health Status

kkossev edited this page Jul 19, 2024 · 3 revisions

(Almost) All of my drivers support the **healthStatus **attribute. It may have the following values:

  • **online **- the device is online to the HE hub
  • **offline **- the device is offline (not paired, disconnected) to the HE hub
  • **unknown **- health status is unknown to the driver.

изображение

How it works?

The healthStatus attribute is initally set to 'unknown' when the driver is installed for a first time. As soon as any Zigbee packet is received from the device, the heathStatus is set to 'online'. Then, a deviceHealthCheck timer is started. If nothing was received from the device for three consecutive deviceHealthCheck periods, it is considered that the device has dropped of the network and the healthStatus attribute is set to offline.

The activity checking period is configurable :

изображение

For most of the devices the default activity checking period is once per 4 hours, i.e. a device that has dropped off the network will be marked as offline after 12 hours.

изображение

See [Project] Device Health Status [Tuya, Aqara, Ikea, Sonoff, Lidl, ThirdReality and others] for more Hubitat community drivers that support the **healthCheck **attribute.


back to How To

back to Wiki Home

Clone this wiki locally