Zigbee2mqtt: show the networkmap in home assistant

I take it you are volunteering to document it. Well done.

1 Like

If I could ever get it to work, sure…

Well post a proper request for help then. See How to help us help you - or How to ask a good question

Out of interest, what steps do you think are missing?

The steps on where to extract the files from the zip archive are unclear. You’ll see that several people had the 404 error because of this.

Second, what prerequisites are necessary? When I installed the integration through HACS, made the change to the configuration.yaml file, extracted the zip, and restarted HA I received a notification on startup that mqtt and Zigbee2mqtt were invalid and as I mentioned there was no Zigbee2mqtt service to create an automation for. Am I supposed to install mqtt somehow first?

I apologize if I came off as rude but I’m new to HA and as I dive in I’m finding that a lot of assumptions are made that people know all these things. I understand this is more complicated and involved than say SmartThings, but it is difficult and a little frustrating. It’s kind of a theme across the Linux community in general.

Finally, the code snippets provided for the configuration.yaml won’t work if you simply copy and paste as the indentions are off. At least it threw an error for me until I fixed the spacing.

1 Like

Well quite clearly you’ll need zigbee2mqtt before you even begin to show the zigbee2mqtt network map. You cannot see the network map of something you don’t have!

And yes zigbee2mqtt needs mqtt.

Perhaps you misunderstood what this custom component does?

Ok, I wanted to give this a try.
TL;DR: in 5 minutes I had this:

HOWTO

This is my system:

arch	x86_64
dev	false
docker	true
hassio	true
os_name	Linux
os_version	5.3.0-28-generic
python_version	3.7.7
version	0.107.6
virtualenv	false

My prerrequisites:

My steps:
1.- Search zigbee2mqtt in the Integrations tab in HACS:

image

2.- Click install (the screenshot shows reinstall because I’m writing this howto after installing it):

image

3.- I added this to my configuration.yaml :

zigbee2mqtt_networkmap:
  topic: zigbee2mqtt
panel_iframe:
  networkmap:
    title: 'Zigbee Map'
    url: '/local/community/zigbee2mqtt_networkmap/map.html'
    icon: 'mdi:graphql'

It’s the same as in the instructions in the add-on but, as @cdef said, the indentations are off.

4.- Restart HA

5.- Go to Developers tools and run the zigbee2mqtt_networkmap.update service:

image

6.- Enjoy the map clicking in the sidebar:

image

Thanks to all the people that make this possible.

See, you mention these things that are “obvious” but how is someone new supposed to know what is actually being installed through HACS? I have no idea what zigbee2mqtt or MQTT are until I tried to get this map working to troubleshoot my zigbee mesh.

You use Google, same as I and hundreds of others do when they want to know something.

Thanks for the advice. Now some for you, if you’re going to get upset and act defensive because someone calls the instructions lacking, and your best response is to “use Google”, then you’re basically admitting that the instructions are lacking. Again, these prerequisites were never listed, how am I to know that they aren’t already part of HA or part of this integration?

I got my Zigbee issue resolved so no longer need this, so farewell and good luck with your defensive, dismissive attitude.

The instructions are not lacking, your level of understanding is lacking.

hello
anybody has overlapping objects ?

Good Day Community,
I did follow the instruction given by
@timseebeck provided here and I am still getting a:
Invalid Config
The following integrations and plattforms could not be set up:

  • zigbee2mqtt_network

Also tried to get some more information in this forum. Some people pointed out that installing via HACS currently might be an issue. Which Files do I have to expect in the /www Folder? And where should I investigate?

I have this in the www/community/zigbee2mqtt_networkmap folder:

image

I only have two files
zigbee2mqtt-networkmap.js
zigbee2mqtt-networkmap.js.gz

Any Idea anyone?

Try again installing through hacs.

I did uninstall, double check if the folders were cleaned up and then did a fresh installaiton through hacs.
Still I am getting the same error message. It als seems like the plugin is not executed since there is no map file generated. I am on HassOS 3.13 Supervisor 217 and HA 0.108.6. Help is appreciated.

Any chance to see your configuration.yaml file?


# Configure a default setup of Home Assistant (frontend, api, etc)
default_config:

# Uncomment this if you are using SSL/TLS, running in Docker container, etc.
# http:
#   base_url: example.duckdns.org:8123

# Text to speech
tts:
  - platform: google_translate

automation: !include automations.yaml
script: !include scripts.yaml
scene: !include scenes.yaml
sensor: !include sensors.yaml
timer: !include timer.yaml

#Zigbee2mqtt Networkmap
zigbee2mqtt_networkmap:
  topic: zigbee2mqtt
panel_iframe:
  networkmap:
    title: 'Zigbee Map'
    url: '/local/community/zigbee2mqtt_networkmap/map.html'
    icon: 'mdi:graphql'

# Mqtt2Zigbee
input_boolean:
  zigbee_permit_join:
    name: Allow devices to join
    initial: off
    icon: mdi:cellphone-wireless

Anything else required?

You seem to be missing webhook:


 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'