Zigbee2mqtt: show the networkmap in home assistant

What @Robin said and also post the code for the automation as you have it right now.

no error Robin, start only if i do it manually

is the automation turned on?

yes, is turned on

@dextm80

:neutral_face:

1 Like

@finity sorry :expressionless:

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

as far as I can see it should be triggering every 10 minutes.

What are you looking at to tell you when the automation was last ran?

156Z

Iā€™m not sure what that is that youā€™re looking at.

look here at the last_triggered time instead:

if itā€™s not there then remove ā€œhide_entity: trueā€ from the automation and check it again.

Your automation is not active. Set the state to on

1 Like

Thanks! How do i remove milliseconds of update? Now i seen 13.05.04.345432

You can create a template sensor and specify your own format.

Ok, thanks @Robin.
Now iā€™ve another problem, anyone have this?

no line between coordinator and device

I get that when something in my network is screwed up (zigbee USB stick unpluged, etc), but I donā€™t see it unless something isnt working right as far as i know.

Iā€™ve also changed to using the edge version of zigbee2mqtt since it seems the network map generation works much better, FWIW.

Forgive me, how can I switch to the edge version ?

Assuming youā€™ve added https://github.com/danielwelch/hassio-zigbee2mqtt as a repo in the addon store, as thatā€™s how you got Zigbee2MQTT in the first place, there are 2 addons it lets you install. Zigbee2MQTT & Zigbee2MQTT-Edge. Screenshot Example.

Install the edge version, stop the stable version, edit the edge version so itā€™s config matches, then start the edge version.

The network maps it generate correctly show the network mesh (or more precisely, how the router devices form a mesh), in a way the stable version doesnā€™t seem to do, at least for me.

Example:

Thanks @Silicon_Avatar, unfortunately I am using Hassbian.

@Robin This is great, thank you.

Any chance to change the font in the map?
iĀ“ve used the following for the footer class.

      color: #212121;
      font-family: Roboto, sans-serif;
      -moz-osx-font-smoothing: grayscale;
      -webkit-font-smoothing: antialiased;
      font-weight: 400;
      font-size: 14px;

I think the font should already be set by zigbee2mqtt when creating the dot string. But not all fonts can be used without problems:
https://github.com/mdaines/viz.js/wiki/Caveats