Zigbee2mqtt network map

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

ak97
Posts: 39
Joined: Saturday 03 February 2018 18:42
Target OS: Raspberry Pi / ODroid
Domoticz version: latest
Contact:

Re: Zigbee2mqtt network map

Post by ak97 »

made a small update:
- taken into account all the shortcomings revealed above
- changed the method of calling the script to build the graph (now the + x attribute is not required)
- increased connections between nodes for better appearance of the graph.
Attachments
screenshot2.png
screenshot2.png (84.74 KiB) Viewed 778 times
snuiter
Posts: 67
Joined: Saturday 17 June 2017 12:30
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Contact:

Re: Zigbee2mqtt network map

Post by snuiter »

installed it just now, thanks this works great ! good work
User avatar
AlanGpio
Posts: 15
Joined: Monday 24 February 2020 21:40
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2mqtt network map

Post by AlanGpio »

Hi. Thanks for making this plugin available. I'm running on Rasp Pi 4 under Buster and Docker. I installed the plugin using the Portainer CLI and it seemed to go OK and I was able to configure my Zigbee devices in Hardware & Devices and they work :) This was on 2020-06-10

Being a Docker image it is quite old:
Version: 4.10364
Build Hash: 1cacdddf
Compile Date: 2019-01-25 10:01:48
dzVents Version: 2.4.11
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]

However the map (under Custom/Zigbee2mqtt) is blank.

Here is the install log and a listing of the plugin folder (after installing git):

Code: Select all

root@1b76e71d3464:/src/domoticz/plugins# git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
Cloning into 'zigbee2mqtt'...
remote: Enumerating objects: 67, done.
remote: Counting objects: 100% (67/67), done.
remote: Compressing objects: 100% (49/49), done.
remote: Total 2117 (delta 31), reused 40 (delta 15), pack-reused 2050
Receiving objects: 100% (2117/2117), 1018.26 KiB | 1.01 MiB/s, done.
Resolving deltas: 100% (1497/1497), done.
root@1b76e71d3464:/src/domoticz/plugins#

Files in /src/domoticz/plugins/zigbee2mqtt
CHANGELOG.md  README.md             __pycache__  api      devices_manager.py  groups_manager.py  plugin.py
LICENSE       SUPPORTED_DEVICES.md  adapters     devices  frontend            mqtt.py            zigbee_message.py
I've searched for the following and draw a blank:
root@1b76e71d3464:/# find / -name zigbeemap.html
root@1b76e71d3464:/# find / -name jquery-3.4.1.min.js
root@1b76e71d3464:/# find / -name zigbeemap.sh
root@1b76e71d3464:/#

Do you have any suggestions for a Docker installation?

Thanks
Alan
Hobbyist developing home automation on a Rasp Pi 4 under Buster off SSD.
Custom electronics to link to alarm system, doors, lights, cameras and door bell.
Running Domoticz in a Docker Container along with containers for Moquitto and Portainer.
Nautilus
Posts: 722
Joined: Friday 02 October 2015 12:12
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Finland
Contact:

Re: Zigbee2mqtt network map

Post by Nautilus »

Hi,

haven't got around to updating to Buster so running still:

Code: Select all

Version: 4.11652
Build Hash: 2ac631921
Compile Date: 2020-01-25 09:08:36
dzVents Version: 2.5.7
Python Version: 3.5.3 (default, Sep 27 2018, 17:25:39) [GCC 6.3.0 20170516]
I have just installed Zigbee2mqtt an it is working great, only issue is the network map showing just "loading...". Should it work with this version now without any modifications? Instruction above refer to older version I assume, as the file names are different now.
Screenshot 2020-07-03 at 0.49.56.png
Screenshot 2020-07-03 at 0.49.56.png (296.6 KiB) Viewed 705 times
Baldit
Posts: 1
Joined: Tuesday 04 August 2020 22:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Zigbee2mqtt network map

Post by Baldit »

Hi,

I have follow the readme.txt, when I click on "Refresh Zigbee netwok map" on "Zigbee.html" I have this log:
dzVents: Write file: /home/pi/domoticz/scripts/dzVents/generated_scripts/dz_ZigBeeMapGenerator.lua
dzVents: Info: Handling Domoticz custom event for: "CreateZigbeeMap"
dzVents: Info: ------ Start internal script: dz_ZigBeeMapGenerator: Custom event: "CreateZigbeeMap"
dzVents: Create ZigbeeMap...
Status: dzVents: Info: ------ Finished dz_ZigBeeMapGenerator


But the html page does not change :evil: . Have you ever seen this problem?

I work Domoticz on Raspberry Pi 3, Version: 2020.2, dzVents Version: 3.0.2.

Thanks :D
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest