# Re-add existing zigbee device automatically

**URL:** <https://community.homey.app/t/re-add-existing-zigbee-device-automatically/110005>\
**Category:** Devices\
**Tags:** app, zigbee\
**Created:** [May 17, 2024, 7:01am UTC](https://community.homey.app/t/re-add-existing-zigbee-device-automatically/110005 "2024-05-17T07:01:41Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 17, 2024, 8:14am UTC](https://community.homey.app/t/re-add-existing-zigbee-device-automatically/110005/2 "2024-05-17T08:14:34Z")

</div>

> [@Thomas\_Buran](#):
>
> is there a way to automate this process

Unfortunately there is not. The pairing must be still invoked on the device itself.  
There is a script however might might help you to check if device is alive (depending of device type) -

> [@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…

or for Zigbee only

> [@A script to check sensor last update](https://community.homey.app/t/a-script-to-check-sensor-last-update/63142/39):
>
> As there is for some time options to see Lastseen timestamp for Zigbee devices, here is the script for Zigbee devices only, which might be more accurate for Zigbee devices. Thanks @Caseda for your overview script wink Version 0.3 - updated for HomeyScript v. 3.5.1 Version 0.3b - fixed for THEN card (returning TEXT value), primary use-better use is for AND card though Version 0.4 - added option to filter out routers and/or end devices Version 0.5 - added option to exclude ZONES, moved varia…

Beware of some specifics, eg. lights, unless powered on, send update in between 12-24 hours, battery powered devices sometimes on external trigger only (eg. motion) etc.

As you are probably on HP19, I would also suggest you to have a look on recommendations (if any) provided by this script :

> [@\[Community Survey\] Homey v5 ZigBee Health check and statistics collection (HomeyScript)](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231):
>
> Hi Guys, With the ZigBee improvements in Homey Firmware v5 and reading about all tips for building and fixing a good ZigBee mesh network I wanted to know how big ZigBee Meshes grow on Homey and how Happy the Homey users are with it. To collect all Data I ask you to run a [HomeyScript](https://homey.app/en-gb/app/com.athom.homeyscript/HomeyScript/) on your Homey V5 and report back some results here. The script is placed on my Github as it is to large for here. For copying the script to HomeyScript you can better open it [RAW here!](https://raw.githubusercontent.com/Dijker/nu.Dijker.UnseenHomeyScripts/master/ZigBeeHealth.js) How to run the script: I…

_(might not be however compatible with latest HomeyScript)_

---

_[View the full topic](https://community.homey.app/t/re-add-existing-zigbee-device-automatically/110005)._
