# \[Community Survey\] Homey v5 ZigBee Health check and statistics collection (HomeyScript)

**URL:** <https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231>\
**Category:** Questions & Help\
**Tags:** zigbee\
**Created:** [March 7, 2021, 3:22pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231 "2021-03-07T15:22:23Z")\
**Posts on this page:** 20\
**Page:** 3

<div class="post-metadata">

**Author:** ![Le\_Cactus](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/le_cactus/32/9727_2.png) [@Le\_Cactus](https://community.homey.app/u/Le_Cactus)\
**Post date:** [March 12, 2021, 7:04am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/44 "2021-03-12T07:04:20Z")

</div>

Tjanks for the tip.

---

<div class="post-metadata">

**Author:** ![Eric\_B](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/eric_b/32/10238_2.png) [@Eric\_B](https://community.homey.app/u/Eric_B)\
**Post date:** [March 12, 2021, 8:37am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/45 "2021-03-12T08:37:27Z")

</div>

reporting : 8,“00124b001eeb2b22”,2,true,“Homey Pro (Early 2019)”,“5.0.1”,0,18,0,2,“2.6.3”,36,4,32,1,3,4,"#",0,3,22,8 , $

Hi Geurt,  
How many routers are advised? I have 4 routers for 32 end devices.  
But the output is telling me to add more routers…

Regards,

Eric

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 12, 2021, 12:00pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/46 "2021-03-12T12:00:35Z")

</div>

> [@Eric\_B](#):
>
> How many routers are advised? I have 4 routers for 32 end devices.  
> But the output is telling me to add more routers…

I just Follow Athoms recommendations,

> **[Creating a stable Zigbee network with Homey Pro](https://support.homey.app/hc/en-us/articles/360019239879-Advice-on-building-a-stable-Zigbee-network)**
>
> (This article only applies to Homey Pro (2016-2019)).
> Zigbee is one of the wireless technologies in Homey and is used by popular brands like IKEA, Philips Hue, Xiaomi Aqara, and others to control d...

> **3. Add a number of routers for a stable network**  
> Zigbee routers can repeat/relay messages and improve the overall stability of your Zigbee network. That is why we recommend to place at least one router for every five end-devices in your Zigbee network.

Rating it with an 8 I think you have no real issues, if you have, look fe for some IKEA repeaters.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 14, 2021, 4:02pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/47 "2021-03-14T16:02:16Z")

</div>

After 30 reponses in ~7 days a nice feedback for userHappiness:

An average of 7.6 at this moment.  
 ![image](https://us1.discourse-cdn.com/flex025/uploads/athom/original/3X/d/d/dd1dfddb27888952d040d1e52721d6aba02fbb18.png)

---

<div class="post-metadata">

**Author:** ![anCnoc](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/ancnoc/32/19097_2.png) [@anCnoc](https://community.homey.app/u/anCnoc)\
**Post date:** [March 15, 2021, 7:55am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/48 "2021-03-15T07:55:47Z")

</div>

> reporting : 5,“00124b001f1f9db1”,2,false,“Homey Pro (Early 2019)”,“5.0.0”,0,11,0,2,“2.6.3”,15,1,14,2,3,0,“#”,0,0,0 , $

---

<div class="post-metadata">

**Author:** ![Nyegaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nyegaard/32/30125_2.png) [@Nyegaard](https://community.homey.app/u/Nyegaard)\
**Post date:** [March 15, 2021, 9:19am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/49 "2021-03-15T09:19:38Z")

</div>

> reporting : 2,“00124b0020b97d6d”,2,false,“Homey Pro (Early 2019)”,“5.0.2-rc.1”,0,11,0,2,“2.6.3”,49,42,7,2,7,16,“#”,8,14,26,6 , $

---

<div class="post-metadata">

**Author:** ![Hannes85](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@Hannes85](https://community.homey.app/u/Hannes85)\
**Post date:** [March 15, 2021, 10:19am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/50 "2021-03-15T10:19:23Z")

</div>

Just to be clear; I take it the x axle would be happiness (scale of 1-10) and the y axle is amount of responses?

---

<div class="post-metadata">

**Author:** ![peltsi51](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/peltsi51/32/12564_2.png) [@peltsi51](https://community.homey.app/u/peltsi51)\
**Post date:** [March 15, 2021, 12:08pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/51 "2021-03-15T12:08:09Z")

</div>

> reporting : 9,“00124b001b4445ac”,2,false,“Homey Pro (Early 2019)”,“5.0.1”,0,11,0,2,“2.6.3”,24,17,7,3,10,7,“#”,0,4,13,7 , $

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 15, 2021, 4:08pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/52 "2021-03-15T16:08:21Z")

</div>

> [@Hannes85](#):
>
> take it the x axle would be happiness (scale of 1-10) and the y axle is amount of responses?

Correct, I updated it in the sheet.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 15, 2021, 4:14pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/53 "2021-03-15T16:14:00Z")

</div>

> [@Nyegaard](#):
>
> reporting : 2,“00124b0020b97d6d”,

With a pretty good nr of 42 routers, and only 7 end devices you experience a high number of 8 bad routes. Have you already tried repairing them fe using [Fixing disconnected Zigbee devices (without having to modify all flows)](https://community.homey.app/t/fixing-disconnected-zigbee-devices-without-having-to-modify-all-flows/37896)

Or have you contacted Athom already?

---

<div class="post-metadata">

**Author:** ![Henk\_Renting](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/henk_renting/32/87634_2.png) [@Henk\_Renting](https://community.homey.app/u/Henk_Renting)\
**Post date:** [March 15, 2021, 6:52pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/54 "2021-03-15T18:52:14Z")

</div>

That is a very neat script, @Dijker! Came in very handy!  
Now I saw one of my windowsensors wasn’t reporting. Thx!

Perhaps off-topic, but:  
Do you have such a script for Z-Wave as well?

---

<div class="post-metadata">

**Author:** ![Nyegaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nyegaard/32/30125_2.png) [@Nyegaard](https://community.homey.app/u/Nyegaard)\
**Post date:** [March 16, 2021, 8:10am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/55 "2021-03-16T08:10:54Z")

</div>

The offline devices aren’t actually a problem and not my source of unhappiness, hehe. They’re offline because they’re all battery operated switches around the house, but the network is so unstable that we don’t actually use the zigbee system at all right now - just use the hardwired switches to turn things on and off.

It’s utterly random how it works here, I was in contact with Athom during the 5.0 betas and some of the builds worked brilliantly, quick and stable, and suddenly the next build broke it all.

So I’m a bit exhausted to be honest. From one day to the next it would stop responding.

---

<div class="post-metadata">

**Author:** ![rvdeijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rvdeijk/32/22542_2.png) [@rvdeijk](https://community.homey.app/u/rvdeijk)\
**Post date:** [March 16, 2021, 8:19am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/56 "2021-03-16T08:19:02Z")

</div>

> [@Nyegaard](#):
>
> just use the hardwired switches to turn things on and off

Do you mean that you toggle a ‘smart light bulb (Zigbee)’ with a normal switch? In other words: Does the zigbee light lose power and as a result can’t operate anymore as a zigbee router? Cause if that’s the case, I could imagine that the zigbee mesh is quite unstable. If routers constantly disappear, that other routers or enddevices rely on or had a connection with.

---

<div class="post-metadata">

**Author:** ![Nyegaard](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/nyegaard/32/30125_2.png) [@Nyegaard](https://community.homey.app/u/Nyegaard)\
**Post date:** [March 16, 2021, 9:40am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/57 "2021-03-16T09:40:50Z")

</div>

Yes, but that’s the fallback after the zigbee wasnt stable to begin with 😉  
So we only do that when zigbee fails, so it’s not the cause for the broken mesh, but rather the fallback when the network breaks.

I’ll probably try to move most devices back to hue and ikea gateways and just let homey send api calls to those, it seems to work significantly better for us.

---

<div class="post-metadata">

**Author:** ![rvdeijk](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/rvdeijk/32/22542_2.png) [@rvdeijk](https://community.homey.app/u/rvdeijk)\
**Post date:** [March 18, 2021, 5:39am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/58 "2021-03-18T05:39:35Z")

</div>

@Nyegaard Did you had contact with Athom to guide you through a solution? In another topic I read a possible solution for some:

> [@Homey v5.0.0 (Stable Release)](https://community.homey.app/t/homey-v5-0-0-stable-release/42697/271):
>
> I sent an email to Athom support and they suggested to download and install the full update via the following steps: Hold your Homey upside down for 1 minute to enter recovery mode. When Homey enters the recovery, go to [setup.athom.com](http://setup.athom.com) with a laptop or desktop. Select your preferred language, and click “continue in browser”, shown in grey. When “searching for updates” is displayed (or in my case “Homey is up-to-date”), press the ALT button on your keyboard and press on the “Download full updat…

---

<div class="post-metadata">

**Author:** ![Steven\_Renders](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/steven_renders/32/29861_2.png) [@Steven\_Renders](https://community.homey.app/u/Steven_Renders)\
**Post date:** [March 18, 2021, 9:48am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/59 "2021-03-18T09:48:37Z")

</div>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[7: Zigbee Reporting Data]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

> reporting : 7,“00124b002112383d”,2,false,“Homey Pro (Early 2019)”,“5.0.1-rc.1”,0,11,0,2,“2.6.3”,51,30,21,6,16,12,“#”,0,11,29,11,1 , $

---

<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:** [March 18, 2021, 10:11am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/60 "2021-03-18T10:11:53Z")

</div>

```
> reporting : 8,"00124b00199ef7dc",2,false,"Homey (Early 2019)","5.0.1",0,11,0,2,"2.6.3",54,20,34,7,13,16,"#",2,4,28,20,3,1 , $

```

Have two Aqara door sensors with errors in their routes, but they’re working just fine anyway.

---

<div class="post-metadata">

**Author:** ![Dijker](https://avatars.discourse-cdn.com/v4/letter/d/b9bd4f/32.png) [@Dijker](https://community.homey.app/u/Dijker)\
**Post date:** [March 18, 2021, 6:31pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/61 "2021-03-18T18:31:49Z")

</div>

Updated the Chart with Channels # Used in Post [[Community Survey] Homey v5 ZigBee Health check and statistics collection (HomeyScript) - #3 by Dijker](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/3)

---

<div class="post-metadata">

**Author:** ![Jone\_Gjerde](https://sea1.discourse-cdn.com/flex025/user_avatar/community.homey.app/jone_gjerde/32/16719_2.png) [@Jone\_Gjerde](https://community.homey.app/u/Jone_Gjerde)\
**Post date:** [March 24, 2021, 7:59pm UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/62 "2021-03-24T19:59:03Z")

</div>

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[2: logStatInfo]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-  
Platform : linux 4.14.15-g3c513a6eca Node.JS v12.16.1  
Model : Homey Pro (Early 2019) - Model ID homey3d  
CPUs #/Model/Speed : 2 x ARMv7 Processor rev 10 (v7l) - 996 Mhz.  
Homey Firmware : 5.0.4  
Memory Total : 996 MB - Free : 426024 KB - (42%)  
Data and Time : Wednesday 24th March 2021 20:49:31 Zone Europe/Oslo [2021-03-24T19:49:31.881Z]  
Uptime : 1d + 21:03:09  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[3: Zigbee Network Data]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

# Nodes : 29

# Routers : 9

# EndDevice : 20

# manufacturerNames : 2

> manufacturerNames : [“LUMI”,“IKEA of Sweden”]

# modelIds : 6

> modelIds : [“lumi.weather”,“lumi.sensor\_wleak.aq1”,“lumi.sensor\_magnet.aq2”,“TRADFRI Signal Repeater”,“lumi.plug.maeu01”,“lumi.remote.b1acn01”]  
> -=-=-=-=-=-=-=-=-=-=-=-=-=-[3b: routing is an ephemeral state and may change at any time]-=-=-=-=-=-=-=-=-=-=-=-=-=-

# Bad Routes : 0

# Routes 0 hops : 3

# Routes 1 hops : 12

# Routes 2 hops : 9

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[5: Devices active Routing]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-  
26512 - (IKEA of Sweden - TRADFRI Signal Repeater)  
24630 - (IKEA of Sweden - TRADFRI Signal Repeater)  
19078 - (IKEA of Sweden - TRADFRI Signal Repeater)  
31750 - (IKEA of Sweden - TRADFRI Signal Repeater)  
36962 - (IKEA of Sweden - TRADFRI Signal Repeater)  
62523 - (IKEA of Sweden - TRADFRI Signal Repeater)  
21311 - (LUMI - lumi.plug.maeu01)  
33231 - (IKEA of Sweden - TRADFRI Signal Repeater)  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[6: Zigbee Health Advices]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-  
Curently no advices  
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[7: Zigbee Reporting Data]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

> reporting : 10,“00124b001f1f94e2”,2,false,“Homey Pro (Early 2019)”,“5.0.4”,0,18,0,2,“2.6.3”,29,9,20,2,6,8,“#”,0,3,12,9 , $

---

<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:** [March 26, 2021, 9:42am UTC](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231/63 "2021-03-26T09:42:25Z")

</div>

Wow, why I didn’t find this sooner ? 😉 Thank you @Dijker , fantastic, Athom shall be recommending this by default ! (…and pay you 😉 )

```
reporting : 0,"00124b001b44530e",2,false,"Homey Pro (Early 2019)","5.0.4",0,11,0,2,"2.6.3",61,15,46,4,24,14,"#",0,11,38,12 , $

    -=-=-=-=-=-=-=-=-=-=-=-=-=-[3b: routing is an ephemeral state and may change at any time]-=-=-=-=-=-=-=-=-=-=-=-=-=-

 # Bad Routes : 0

 # Routes 0 hops : 11

 # Routes 1 hops : 38

 # Routes 2 hops : 12

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[5: Devices active Routing]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

23892 - (Philips - LWW001)

22201 - (Philips - LCP002)

64684 - (IKEA of Sweden - TRADFRI control outlet)

33572 - (Philips - LTW013)

58321 - (IKEA of Sweden - TRADFRI control outlet)

25863 - (IKEA of Sweden - TRADFRI signal repeater)

25383 - (Philips - LTW013)

48173 - (IKEA of Sweden - TRADFRI control outlet)

49470 - (IKEA of Sweden - TRADFRI signal repeater)

42632 - (IKEA of Sweden - TRADFRI control outlet)

9780 - (Philips - LWW001)

19479 - (Philips - LTC001)

50009 - (Philips - LCP001)

58270 - (IKEA of Sweden - TRADFRI control outlet)

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[6: Zigbee Health Advices]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

Curently no advices
```

[Previous page](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231.md?page=2)

[Next page](https://community.homey.app/t/community-survey-homey-v5-zigbee-health-check-and-statistics-collection-homeyscript/44231.md?page=4)
