[Zigbee] Visual render for getChildAndRouteInfo

  1. Can you find the zigbee-graph.html file in the File Manager (Hubitat UI -> Settings -> File Manager)?
  2. If yes, what happens when you click on it?

Yes, I can find it. Click on it and it runs the application, then throws the same HTTP fetch 404 error.

I've only got zigbee devices attached to the Hubitat and the only thing between it working and not is updating the app version.

File size is 55.62kb

Newer versions of the graph (2.0.0+) use the new JSON endpoint that was introduced with platform version 2.3.5.145. The new endpoint is:

If you get a 404 on that (not some JSON formatted data), and don't want to upgrade your platform, you can use the latest zigbee-graph.html file version that still uses the old endpoint:

On Mac you can download this file to your Desktop using the following command in Terminal:

cd ~/Desktop; curl -OL https://raw.githubusercontent.com/dan-danache/hubitat/zigbee-graph-app_1.4.0/zigbee-graph-app/zigbee-graph.html

Then manually add the downloaded file into the Hubitat File Manager.

1 Like

I don't use anything remotely mac. And I don't see a way to download anything from that site. I just see a code listing - the kind of code listing that causes all sorts of issues being copied and saved and is a genuine PITA that is more than I can cope with right now.

If I clear the html out of the hub memory and then reinstall the app will it upload the correct one to replace?

My Zigbee hub is on platform v2.3.5.152, so it has the new endpoint. My version of HPM is 1.8.9 on that hub, which does not have the InstallFile fix and HPM did install zigbee-graph.html, but poorly:

Screenshot 2023-06-24 at 8.43.18 AM

Clicking on it causes it to run, but there are no log errors of any kind. In other words, I can't duplicate it, even using an out-of-date HPM. You said you're up to date, but I was curious to see the error.

The Repair button in HPM does that.. it pulls in all the files and overwrites them.

I believe the problem is not with the delivery of the html file by HPM. @RosieUK said the file is present in the File Manager and confirmed that it has the correct size (55.62kb) so no problems there.

When the HTML page is starting up, it tries to get the data for the graph. In versions prior 2.0.0, it reads the data from http://hubitat.local/hub/zigbee/getChildAndRouteInfo. Then the Hubitat devs integrated the Graph in the platform and created a new JSON friendly endpoint: http://hubitat.local/hub/zigbee/getChildAndRouteInfoJson (see the "Json" at the end).

Version 2.0.0+ was a major rewrite and the graph now uses the new JSON endpoint that was added in Hubitat version 2.3.5.145. If you run the Zigbee Graph version 2.0.0+ on platform versions prior to 2.3.5.145, you get the following error:

I think that this is what is happening to @RosieUK.

1 Like

Small release 2.3.0:

Added

  • Add feature to filter the devices list (idea by @jonathanb)
  • On the devices list, click the eye icon to zoom the graph on that device (idea by @jonathanb)

Have fun!

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.