Page 2 of 2

Re: Zigbee2mqtt network map

Posted: Sunday 05 April 2020 19:49
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.

Re: Zigbee2mqtt network map

Posted: Sunday 05 April 2020 21:09
by snuiter
installed it just now, thanks this works great ! good work

Re: Zigbee2mqtt network map

Posted: Wednesday 24 June 2020 18:20
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

Re: Zigbee2mqtt network map

Posted: Thursday 02 July 2020 23:50
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 702 times

Re: Zigbee2mqtt network map

Posted: Tuesday 04 August 2020 22:31
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