# Device status

**URL:** <https://community.homey.app/t/device-status/31791>\
**Category:** Questions & Help\
**Tags:** homeyscript\
**Created:** [June 28, 2020, 5:47pm UTC](https://community.homey.app/t/device-status/31791 "2020-06-28T17:47:55Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nogdose](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nogdose/32/16576_2.png) [@Nogdose](https://community.homey.app/u/Nogdose)\
**Post date:** [June 28, 2020, 5:47pm UTC](https://community.homey.app/t/device-status/31791/1 "2020-06-28T17:47:55Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![rindler](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rindler/32/5501_2.png) [@rindler](https://community.homey.app/u/rindler)\
**Post date:** [June 28, 2020, 6:53pm UTC](https://community.homey.app/t/device-status/31791/2 "2020-06-28T18:53:58Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![JPe4619](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jpe4619/32/9017_2.png) [@JPe4619](https://community.homey.app/u/JPe4619)\
**Post date:** [June 28, 2020, 8:24pm UTC](https://community.homey.app/t/device-status/31791/3 "2020-06-28T20:24:10Z")

</div>

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