# How to automatically ping devices and use the result

**URL:** <https://community.homey.app/t/how-to-automatically-ping-devices-and-use-the-result/88845>\
**Category:** Questions & Help\
**Created:** [September 5, 2023, 6:24pm UTC](https://community.homey.app/t/how-to-automatically-ping-devices-and-use-the-result/88845 "2023-09-05T18:24:13Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Sharkys](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/sharkys/32/54029_2.png) [@Sharkys](https://community.homey.app/u/Sharkys)\
**Post date:** [September 6, 2023, 4:41am UTC](https://community.homey.app/t/how-to-automatically-ping-devices-and-use-the-result/88845/4 "2023-09-06T04:41:07Z")

</div>

Some battery operated devices can be pinged indeed, mostly those with bigger batteries , eg. Aqara Roller E1.  
I don’t know how to ping, but this script might provide workaround.

> [@A script to check sensor last update](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142/25):
>
> Updated script I posted above - added counter of non responding devices - eg, in case you would like to initiate some action based on number of not-responding devices - please note this is the version I’m using, so feel free to change relevant variables below the section // Filter devices to check Changelog : 0.1 - update - converting notReportingCount to a number - if you used previous version of script, delete tag by await tag(‘notReportingCount’, null);\* 0.2 - added filtering based on dev…

---

_[View the full topic](https://community.homey.app/t/how-to-automatically-ping-devices-and-use-the-result/88845)._
