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

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 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!

How to run the script:

  • Install HomeyScript on your Homey (Must be in Firmware v5!)
  • Open the Homey Web App https://my.homey.app/
  • Navigate to HomeyScript < / > in the Left navigation bar.
  • Create a New Script
  • Copy the script from the external link above and past the complete script (more then ~200 lines) in your new HomeyScript (Best done from a Deskop!)
  • Edit the 8th and 9th line to tell me how happy you are and if you started with ZigBee of reset ZigBee after upgrading to Firmware v5.
  • Save the Script and RUN
  • Review the output

If everything went well you will see:
———————————————————
:white_check_mark: Script Success

Reporting back:
Please report your results back here in the thread (if you want), from all sections you can skip the first two as these can contain personal identifiable information about your Homey.
The other sections are the readable part of the information analysed.
If you share it here you can discuss it with others. If you don’t want your Device names reported you can choose in line #10 to show only IDs by setting anonymizeNames = true .

For me the most important part is the almost last line starting with > reporting :
Example:

> reporting : 9,“00124b0018dd5ed5”,2,false,“Homey (Early 2018)”,“5.0.1-rc.1”,0,11,0,2,“2.6.3”,61,20,41,4,24,16,“#”,8,11,28,17,4,5 , $

Only this line is necessary to PM to me for collection and get the report details back from me
I collect information in a Google sheet, if you report it here or in PM I will add the info and send you in PM a link to the sheet.

ToDo
I just started, but will look if I can find more ways to represent information in the sheet. maybe updating the script to report more info.

̶I̶ ̶a̶l̶s̶o̶ ̶w̶i̶l̶l̶ ̶l̶o̶o̶k̶ ̶i̶n̶t̶o̶ ̶c̶r̶e̶a̶t̶i̶n̶g̶ ̶a̶ ̶m̶o̶d̶i̶f̶i̶e̶d̶ ̶s̶c̶r̶i̶p̶t̶ ̶t̶o̶ ̶r̶e̶p̶o̶r̶t̶ ̶t̶h̶e̶ ̶d̶e̶v̶i̶c̶e̶s̶ ̶w̶i̶t̶h̶ ̶b̶a̶d̶ ̶r̶o̶u̶t̶e̶s̶ ̶t̶o̶ ̶t̶h̶e̶ ̶t̶i̶m̶e̶l̶i̶n̶e̶ ̶(̶n̶o̶t̶i̶f̶i̶c̶a̶t̶i̶o̶n̶s̶)̶ ̶s̶o̶ ̶y̶o̶u̶ ̶c̶a̶n̶ ̶r̶u̶n̶ ̶t̶h̶e̶ ̶n̶o̶t̶i̶f̶i̶c̶a̶t̶i̶o̶n̶s̶-̶s̶c̶r̶i̶p̶t̶ ̶d̶a̶i̶l̶y̶ ̶f̶r̶o̶m̶ ̶a̶ ̶f̶l̶o̶w̶.̶

9 Likes

Example output

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 0: logIDInfo ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Homey HostName        : homey-5a***************a
Homey HomeyName       : My Homey 
Wifi                  : ****** 10:ce:a9:01:02:03
ifconfig              : 10.1.2.3:80
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 1: ZigBee controllerState RAW data ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
controllerState =>  {"panId":12345,
"extendedPanId":"dd:dd:dd:dd:dd:dd:dd:dd",
"IEEEAddress":"00:12:4b:00:18:dd:5e:d5",
"networkKey":"01:00:00:00:00:00:00:00:00:00:00:00:00:00:00:0d",
"networkAddress":0,
"channel":11,
"chipVersion":0,
"transportRev":2,
"zstackVersion":"2.6.3"}'
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 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.1-rc.1
Memory       Total    : 996 MB  - Free :  589084 KB - (58%)
Data and Time         : zondag 7de maart 2021 16:23:57  Zone   Europe/Amsterdam  [2021-03-07T15:23:57.204Z]
Uptime                : 4d + 03:39:34
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 3: Zigbee Network Data ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
# Nodes               : 61
# Routers             : 20
# EndDevice           : 41
# manufacturerNames   : 4
> manufacturerNames   : ["IKEA of Sweden","LUMI","abcd","_TZ2000_a476raq2"]
# modelIds            : 24
> modelIds            : ["TRADFRI bulb GU10 WS 400lm","TRADFRI bulb E14 W op/ch 400lm",
"TRADFRI signal repeater","TRADFRI control outlet",
"TRADFRI Driver 10W","lumi.sensor_motion.aq2",
"lumi.sensor_magnet.aq2","lumi.weather","lumi.vibration.aq1",
"lumi.sensor_swit","Dimmer-Switch-ZB3.0",
"TRADFRI bulb E27 opal 1000lm","lumi.sens","
TRADFRI Signal Repeater","LEPTITER Recessed spot light",
"lumi.sensor_wleak.aq1","TRADFRI remote control",
"lumi.sen_ill.mgl01","TRADFRI motion sensor","TRADFRI on/off switch",
"TS0201","lumi.relay.c2acn01","lumi.remote.b286acn01","lumi.sensor_ht"]
-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 3b: routing is an ephemeral state and may change at any time  ]-=-=-=-=-=-=-=-=-=-=-=-=-=-
 # Bad Routes    : 8
 # Routes 0 hops : 11
 # Routes 1 hops : 26
 # Routes 2 hops : 19
 # Routes 3 hops : 7
 # Routes 4 hops : 2
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 4: Devices with Error in Route ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Vibration Sensor sk - (LUMI - lumi.vibration.aq1)
WK 2 Dimbare Lamp (E14) - (IKEA of Sweden - TRADFRI bulb E14 W op/ch 400lm)
Unknown device (9739)
Unknown device (9739)
Aqara Water sensor - (LUMI - lumi.sensor_wleak.aq1)
Poort Aqara Door sensor - (LUMI - lumi.sensor_magnet.aq2)
Unknown device (60727)
Unknown device (60727)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 5: Devices active Routing ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Leptiter 2.3.1 - (IKEA of Sweden - LEPTITER Recessed spot light)
Signaalversterker 2 - (IKEA of Sweden - TRADFRI Signal Repeater)
Lampen Eetkamer Tafel - (abcd - Dimmer-Switch-ZB3.0)
Lamp Vitrine Kast (Dimbare Transformator) - (IKEA of Sweden - TRADFRI Driver 10W)
Containers Aqara Double Relay - L1 - (LUMI - lumi.relay.c2acn01)
Signaalversterker 3 - (IKEA of Sweden - TRADFRI Signal Repeater)
Unknown device (50745)
Signaalversterker - (IKEA of Sweden - TRADFRI signal repeater)
Leptiter 2.3.2 - (IKEA of Sweden - LEPTITER Recessed spot light)
Z NA Aqara Double Relay - L1 - (LUMI - lumi.relay.c2acn01)
Kerstboom  - (IKEA of Sweden - TRADFRI control outlet)
Spotje midden - (IKEA of Sweden - TRADFRI bulb GU10 WS 400lm)
Gordijnen Rechts Draadloos Stopcontact - (IKEA of Sweden - TRADFRI control outlet)
Leptiter 2.2.4 - (IKEA of Sweden - LEPTITER Recessed spot light)
Spotjes Aqara DR - L1 - (LUMI - lumi.relay.c2acn01)
Gordijnen links Draadloos Stopcontact - (IKEA of Sweden - TRADFRI control outlet)
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 6: Zigbee Health Advices ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Try fixing the device with bad routes
For more info read 
 https://community.homey.app/t/fixing-disconnected-zigbee-devices-without-having-to-modify-all-flows/37896
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-[ 7: Zigbee Reporting Data ]-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> reporting :  9,"00124b0018dd5ed5",2,false,"Homey (Early 2018)","5.0.1-rc.1",0,11,0,2,"2.6.3",61,20,41,4,24,16,"#",8,11,26,19,7,2 , $

———————————————————
✅ Script Success
↩️ Returned: "Please report above text back on Community 
` https://community.homey.app/t/44231 "`

Situations after ~37 reports: Majority still on Channel 11,

3 Likes

I PM-ed my output. Nice initiative!

1 Like

reporting : 9,“00124b000ac6cb6b”,2,false,“Homey (Early 2016)”,“5.0.0”,0,11,0,2,“2.6.3”,49,8,41,5,12,7,"#",0,7,36,6 , $

1 Like

reporting : 6,“00124b0004f89fe9”,2,true,“Homey (Early 2016)”,“5.0.1-rc.1”,0,21,0,2,“2.6.3”,27,21,6,6,14,11,“#”,0,10,12,5 , $

1 Like

reporting : 9,"00124b0005f0c54c",2,false,"Homey (Early 2016)","5.0.1-rc.1",0,11,0,2,"2.6.3",14,1,13,2,4,0,"#",0,0,0 , $

1 Like

reporting : 8,“00124b001b448a05”,2,true,“Homey (Early 2019)”,“5.0.0”,0,20,0,2,“2.6.3”,42,20,22,4,9,13,"#",1,16,22,6 , $

1 Like

reporting : 7,“00124b001f8432ba”,2,true,“Homey Pro (Early 2019)”,“5.0.1-rc.1”,0,20,0,2,“2.6.3”,19,9,10,7,13,6,"#",0,9,8,2 , $

1 Like

reporting : 10,“00124b001b421910”,2,true,“Homey (Early 2019)”,“5.0.0”,0,11,0,2,“2.6.3”,27,8,19,2,7,8,"#",0,4,13,5,3 , $

1 Like

reporting : 9,“00124b001eead882”,2,false,“Homey Pro (Early 2019)”,“5.0.1-rc.1”,0,11,0,2,“2.6.3”,34,13,21,4,10,12,"#",1,7,11,16 , $

1 Like

reporting : 8,“00124b000ac65cd8”,2,false,“Homey (Early 2016)”,“5.0.1-rc.1”,0,11,0,2,“2.6.3”,14,11,3,4,8,5,“#”,0,4,7,2 , $

1 Like

How Big are the reported networks?
after almost ~20 reports,

Bigest networks up to now reported:

  • 72 nodes, 36 routers and 36 end-device with a 6 reported,
  • 70 nodes, 24 routers and 46 end-device and the user reported a 8 for userHappiness !

3 Likes

@Dijker. Nice graph!

Would be interested to see the network size vs ratio enddevices / routers

reporting : 5,“00124b00183e2d02”,2,false,“Homey Pro (Early 2019)”,“5.0.0”,0,11,0,2,“2.6.3”,59,31,28,7,17,24,“#”,17,13,24,19,8,1,2 , $


I had this notification a few times after rebooting Homey
Zigbee got unresponsive without notification, but it seems that Homey itself detected this but didn’t re-start the Zigbee stack.

1 Like

Hi Geurt, nice initiative. I hope you can give me some feedback to make the Zigbee network more healty. This is the result of the test.

reporting : 5,“00124b0021123f8b”,2,false,“Homey Pro (Early 2019)”,“5.0.0”,0,11,0,2,“2.6.3”,52,22,30,4,14,12,“#”,2,6,29,16 , $

1 Like

Here a scan of my Zigbee network, 27 routers, 24 end devices,still a lot of unresponsive zigbee devices.

reporting : 6,“00124b0004f89cbd”,2,true,“Homey (Early 2016)”,“5.0.1”,0,12,0,2,“2.6.3”,51,27,24,7,18,19,"#",1,9,26,12,4 , $

1 Like

Didn’t know Homey had a HAL9000 integration too :joy:. If there’s a smart doorbell out there that looks like it I’d buy it in a second. May scare off some of the wrong people too though.

reporting : 6,“00124b0004f7053b”,2,true,“Homey Pro (Early 2019)”,“5.0.0”,0,12,0,2,“2.6.3”,35,21,14,5,12,9,“#”,0,13,22,1 , $

1 Like

If i can remember correctly @Undertaker build a HAL clone :slight_smile: