Homey Community Forum

Device status

Hi, i`m planning to write a script which is able to detect if some devices have dropped from zigbee network. Question is this - how can i actually be sure Homey gets data from the devices and not from some cache? Is there some API calls which actually contact the device? Or should i fake- update some property on the device with existing value?

Purpose is to run the script once in hour and by that gain visibility to failures and their occurrence time.

Have you already tried the built Device flow “A device hasn’t reported” for one hour?


Have look at: https://developer.athom.com/tools/api-playground .
Un-comment and run the line // Homey.devices.getDevices({ online: true });
Search this forum for HomeyScript