Skip to content

Custom Component for Homeassistant to show zigbee2mqtt Networkmap

Notifications You must be signed in to change notification settings

yellowonblack/ha_zigbee2mqtt_networkmap

 
 

Repository files navigation

ha_zigbee2mqtt_networkmap

Custom Component for Homeassistant to show the zigbee2mqtt Networkmap with viz.js.

Forum link with Screenshot

map|658x499

Important: you have to clear the browsercache after each update

Instructions

  1. Download or clone https://github.com/rgruebel/ha_zigbee2mqtt_networkmap

  2. Copy "custom_components/zigbee2mqtt_networkmap" and content to your "custom_components" folder.

  3. 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

     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)

  4. Restart Homeassistant

  5. Call the service "zigbee2mqtt_networkmap.update"

  6. Test if everything is working

Now you should create an automation which calls the service "zigbee2mqtt_networkmap.update" for example every 10 minutes:

  - id: update_networkmap
    alias: 'Zigbee Map aktualisieren'  
    hide_entity: true  
    trigger:
      platform: time_pattern
      minutes: '/10'
      seconds: 00
    action:
      service: zigbee2mqtt_networkmap.update

About

Custom Component for Homeassistant to show zigbee2mqtt Networkmap

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 68.4%
  • HTML 17.2%
  • Python 14.4%