The frontend of Zigbee2mqtt offers the possibility to display the map.
Custom Component for Homeassistant to show the zigbee2mqtt Networkmap with viz.js.
Important: you have to clear the browsercache after each update
Instructions
-
Download or clone https://github.com/rgruebel/ha_zigbee2mqtt_networkmap
-
Copy "custom_components/zigbee2mqtt_networkmap" and content to your "custom_components" folder.
-
Add the following to your configuration.yaml. It is possible to update the map directly via button. If you want to use this functionality you also have to activate the webhook component. Otherwise you have to use the service "zigbee2mqtt_networkmap.update"
webhook: zigbee2mqtt_networkmap: #topic: your topic (optional, default zigbee2mqtt) panel_iframe: networkmap: title: 'Zigbee Map' url: '/local/community/zigbee2mqtt_networkmap/map.html' icon: 'mdi:graphql'
You can set the graphviz engine via URL Parameter: map.html?engine=circo (Default: circo, Supported Engines)
-
Restart Homeassistant
-
Test if everything is working