[HOW-TO][Pro][Cloud] - Zigbee Route map (Homey Pro 2016 - 2019 / Homey Bridge)

Unfortunately this doesn’t work on my ‘23 Homey. But would something like this be possible for Z-Wave?

Technically that is possible, though again only as a “last used route map”, not a mesh map, as the necessary command (Get Network Topology) isn’t publicly available, and might even be removed/disabled in the web API when Athom removed the not properly working map overview long time ago.
Might be able to cache the results to create part of the mesh, but will never be complete.

1 Like

Hello Martijn, wonderfull initiative, its runs in my environment, but the result is no picture Greetz Harrr

Thanks a lot @Harrr and also for your donation! :pray:

Can you send me the url which was generated ?

https://martijnpoppen.github.io/com.homey.zigbee.mesh?data=eyJub2RlcyI6W3sibmFtZSI6IkhvbWV5IiwiaWQiOjY1MjI5fSx7Im5hbWUiOiJSb29rbWVsZGVyIFdvb25rYW1lciIsImdyb3VwIjoiRW5kRGV2aWNlIiwiaWQiOjgyNTB9LHsibmFtZSI6IlJvb2ttZWxkZXIgT3Zlcmxvb3AiLCJncm91cCI6IkVuZERldmljZSIsImlkIjozODMwM30seyJuYW1lIjoiVFYgU29ueSIsImdyb3VwIjoiUm91dGVyIiwiaWQiOjY1NTE5fSx7Im5hbWUiOiJUViBNb25pdG9yIiwiZ3JvdXAiOiJSb3V0ZXIiLCJpZCI6MjM2MDF9LHsibmFtZSI6IlNsayBWZW50aWxhdG9yIiwiZ3JvdXAiOiJSb3V0ZXIiLCJpZCI6NDczODh9LHsibmFtZSI6IkxhbXAgVFYgICAiLCJncm91cCI6IlJvdXRlciIsImlkIjo0NjE3Nn0seyJuYW1lIjoiTGFtcCBLYXN0amUiLCJncm91cCI6IlJvdXRlciIsImlkIjoxNzM2M30seyJuYW1lIjoiTGFtcCBSYWFtIiwiZ3JvdXAiOiJSb3V0ZXIiLCJpZCI6NjU1MDF9LHsibmFtZSI6IkxhbXAgQmV3ZWdpbmciLCJncm91cCI6IlJvdXRlciIsImlkIjoyMzU4M30seyJuYW1lIjoiVEwgTWlkZGVuIiwiZ3JvdXAiOiJSb3V0ZXIiLCJpZCI6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RvIjozNjA5NX0seyJmcm9tIjoxNzM2MywidG8iOjM2NzE5fSx7ImZyb20iOjIzNjAxLCJ0byI6MzgzMDN9LHsiZnJvbSI6NjUyMjksInRvIjozOTQwNX0seyJmcm9tIjo1NTA4NiwidG8iOjQyNjcyfSx7ImZyb20iOjQ2MTc2LCJ0byI6NDUzMDd9LHsiZnJvbSI6NjUyMjksInRvIjo0NjE3Nn0seyJmcm9tIjo2NTUxOSwidG8iOjQ2MzE4fSx7ImZyb20iOjY1NTE5LCJ0byI6NDczODh9LHsiZnJvbSI6NDY3NSwidG8iOjQ3NTI3fSx7ImZyb20iOjU5MTIyLCJ0byI6NDgwNTh9LHsiZnJvbSI6NjE2NzEsInRvIjo0ODI0NH0seyJmcm9tIjo1NTA4NiwidG8iOjUxOTUwfSx7ImZyb20iOjIzNTgzLCJ0byI6NTUwODZ9LHsiZnJvbSI6NjU1MDEsInRvIjo1NzE3Nn0seyJmcm9tIjo2NTIyOSwidG8iOjU3NjUzfSx7ImZyb20iOjY1MjI5LCJ0byI6NTkxMjJ9LHsiZnJvbSI6MzU5MDMsInRvIjo1OTc2M30seyJmcm9tIjoxNzM2MywidG8iOjYxNjcxfSx7ImZyb20iOjY1MjI5LCJ0byI6NjIzNDJ9LHsiZnJvbSI6NjUyMjksInRvIjo2MzA1M30seyJmcm9tIjo0NjE3NiwidG8iOjY1NTAxfSx7ImZyb20iOjY1MjI5LCJ0byI6NjU1MTl9XX0=

@Harrr there was a small issue in the script. updated it in the top post :slight_smile:

wonderfull, very nice that you react so fast

1 Like

@martijnpoppen would it be an idea to be able to manually change routes in the zigbee scheme? after the last homey software #update i had a lot of trouble with the connection of zigbee devices, i became the idea that there were very not logical connections in the system, its is a lot of work to rebuild the network by removing and replacing devices, especially because of the relation with flows. do you think there might be a solution?

@Harrr unfortunately not. Homey does that by itself. What you can do is remove devices and add them in the right place in your house. Beste practice is to have the first 15 devices as router as closest to your Homey.

removing and re-adding might be easier with this script ;). [HOW-TO][Pro][Cloud] - Tool to FIX (advanced) flows after removing and re-adding devices

1 Like

@martijnpoppen I am gonna try your script, exactly what I need. unbelievable that homey does not provide this functionality especially when there are so many users having ZIGBEE troubles, thanks !

1 Like

I have played a bit with the zigbee network by switching off a number of apps with end stations
than let homey re-arrange the network and switch the apps on again. i have the illussion that it made de structure of the network simpeler and more robust, :pray: :pray: :pray:

1 Like

Still, the routes aren’t fixed and can change at any time. It would mean it’s a temporary fix.
But you might have found a way to force the routes to other routers/hops a bit, in case of issues with your zigbee devices.

1 Like

That is indeed an illusion, because switching off apps makes no change whatsoever to your Zigbee network.

2 Likes

The impression is that the structure of the network changed after swiching off some apps. But I can imagine that you reaction is that the structure of the zigbee network is changing all the time :slight_smile:

My reaction is that apps have no control whatsoever over the Zigbee network, so disabling apps will not affect the network in any way. Only removing devices from the network will affect it.

1 Like

I updated the script to first update the zigbee nodes before creating the map. This should give a more up to date visual

1 Like

Hi!
Works and it is really great. Thanks! I was always looking for similar info about zigbee network.
Would it be complicated to make an homey app on it?
It could be useful to regularly send me a pic of the Zigbee network structure. Even with a fixed time frequency, or after x minute if a reboot happened.

Can you make the drawing a little more in a landscape shape, to get a lager image on the pc-screen?

What do you think when all of a sudden my whole group of lidl sockets can not get connection to homey, in my view these sockets are the most reliable routers in het network

@miszterx As far as i know the zigbee state can’t be retrieved in a homey webapi app