Page 10 of 18
Re: Python Plugin: Zigbee2Mqtt
Posted: Monday 07 December 2020 16:29
by jeroenkl
felix63 wrote: ↑Sunday 06 December 2020 20:26
Zigbee2MQTT Page not loading anymore... Stuck on 'loading ...'
Running Domoticz Version: 2020.2 on a raspberry Pi 3b+
Schermafbeelding 2020-12-06 om 20.20.40.jpg
suddenly?
Re: Python Plugin: Zigbee2Mqtt
Posted: Monday 07 December 2020 21:44
by felix63
I think it might be since upgrading to Zigbee2MQTT v.1.16.2 or a small hack on adapters/__init__.py to add Silvercrest devices. Not quite sure.
### edited ### problem has resolved itself, at least in one browser (safari). Not in Chrome. Weird.
Re: Python Plugin: Zigbee2Mqtt
Posted: Sunday 13 December 2020 12:19
by johansson
So this has actually been working? Mine has always been just Loading..., updating to 1.16.2 had no effect.

- Screen Shot 2020-12-13 at 13.17.08.png (9.57 KiB) Viewed 2867 times
Re: Python Plugin: Zigbee2Mqtt
Posted: Sunday 13 December 2020 12:55
by jeroenkl
johansson wrote: ↑Sunday 13 December 2020 12:19
So this has actually been working? Mine has always been just Loading..., updating to 1.16.2 had no effect.
Screen Shot 2020-12-13 at 13.17.08.png
Yes, works fine at my site
Re: Python Plugin: Zigbee2Mqtt
Posted: Sunday 13 December 2020 20:58
by johansson
Strange. Maybe it's my older Domoticz version; I haven't yet dared to update Domoticz to 11995 as every single update so far has caused quite some issues. I'll try to cope with node red admin panel.
Re: Python Plugin: Zigbee2Mqtt
Posted: Sunday 13 December 2020 21:01
by felix63
It did work. And now it don't. shoot me leak.
Re: Python Plugin: Zigbee2Mqtt
Posted: Thursday 17 December 2020 18:31
by pbyth
Domoticz 2020.2 / v.1.16.2 (zStack12 20190619) voor Zigbee2Mqtt
On the additional page in the Domoticz UI I see all my Zigbee devices. However I am not able to add these as Devices under Setup/Devices.
How can I do that? I saw that if I create a Group and add a switch device I can switch on/off a Plug. Before the upgrade I was able to see, for example, for Aqara Temp&Hum sensor at least 5 entries in the devices list.
Can somebody point me into the right direction?
Re: Python Plugin: Zigbee2Mqtt
Posted: Friday 18 December 2020 12:33
by domtag
Check if Domoticz accepts new devices ("accept new hardware"). Not for just 5 minutes. Save and restart domoticz.
Re: Python Plugin: Zigbee2Mqtt
Posted: Saturday 19 December 2020 0:07
by jacobsentertainment
pbyth wrote: ↑Thursday 17 December 2020 18:31
Domoticz 2020.2 / v.1.16.2 (zStack12 20190619) voor Zigbee2Mqtt
On the additional page in the Domoticz UI I see all my Zigbee devices. However I am not able to add these as Devices under Setup/Devices.
How can I do that? I saw that if I create a Group and add a switch device I can switch on/off a Plug. Before the upgrade I was able to see, for example, for Aqara Temp&Hum sensor at least 5 entries in the devices list.
Can somebody point me into the right direction?
I got the same on my site, Domoticz 2020.2 Z2M 1.16.2 I get devices in the device list under Z2M and in the network list. But this seems to be the end of zigbee2mqtt in domoticz. Can't even place them in a group and I'm also missing some decent documentation and how to
Re: Python Plugin: Zigbee2Mqtt
Posted: Saturday 19 December 2020 0:20
by heggink
There are quite some changes in z2m and, therefore, also in the plugin. It's not easy to update the plugin at the same time people are requesting new devices to be added (add to the old, new or both?). This is open source so help is appreciated!
Sent from my SM-G980F using Tapatalk
Re: Python Plugin: Zigbee2Mqtt [SOLVED]
Posted: Sunday 20 December 2020 22:54
by thordals
jacobsentertainment wrote: ↑Saturday 19 December 2020 0:07
pbyth wrote: ↑Thursday 17 December 2020 18:31
Domoticz 2020.2 / v.1.16.2 (zStack12 20190619) voor Zigbee2Mqtt
On the additional page in the Domoticz UI I see all my Zigbee devices. However I am not able to add these as Devices under Setup/Devices.
How can I do that? I saw that if I create a Group and add a switch device I can switch on/off a Plug. Before the upgrade I was able to see, for example, for Aqara Temp&Hum sensor at least 5 entries in the devices list.
Can somebody point me into the right direction?
I got the same on my site, Domoticz 2020.2 Z2M 1.16.2 I get devices in the device list under Z2M and in the network list. But this seems to be the end of zigbee2mqtt in domoticz. Can't even place them in a group and I'm also missing some decent documentation and how to
Hello,
The same problem, on a new installation with the latest software versions (domoticz 2020.2, v.1.16.2 (zStack12 20190608)).
I try to use the zigbee network, and come up against this problem.
I see my device in the zigbee2mqtt tab but it does not create itself in domoticz.
Solved with by @faratou in
https://github.com/stas-demydiuk/domoti ... issues/525
Thanks
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 22 December 2020 21:09
by johansson
I've been fighting with my zigbee stuff and network stability for a while, with the expectation that zigbee network loses devices on continuous basis. By accident I noticed today that actually the issue might be on the connection between Domoticz and zigbee2mqtt: there several (mostly Xiaomi) devices that are last seen in Domoticz e.g. on yesterday, but appear on zigbee2mqtt log ("sudo journalctl -u zigbee2mqtt.service -f") and in MQTT Explorer.
When pressing a button the click appears in the log:
Code: Select all
"Dec 22 21:55:08 raspberrypi npm[450]: Zigbee2MQTT:info 2020-12-22 21:55:08: MQTT publish: topic 'zigbee2mqtt/Xiaomi Button 3', payload '{"battery":100,"click":"single","linkquality":5,"voltage":3042}'"
and in MQTT Explorer as well:
Code: Select all
"Dec 22 21:55:08 raspberrypi npm[450]: Zigbee2MQTT:info 2020-12-22 21:55:08: MQTT publish: topic 'zigbee2mqtt/Xiaomi Button 3', payload '{"battery":100,"click":"single","linkquality":5,"voltage":3042}'"
but nothing in Domoticz log. The device is last seen 20.12.2020 23:55
In most cases Domoticz loses the devices just before midnight.
Any ideas where to start troubleshooting? My guess would be issues with the plugin, but it's just a guess.
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 22 December 2020 22:17
by felix63
Does domoticz restart at midnight? I find that if Domoticz restarts I need to restart zigbee2mqtt.
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 22 December 2020 22:33
by johansson
Hmmm. Good point, that might be possible - I could have had some stability issues ages ago, which might have been solved with a timed restart. Now I'd just need to figure out how that was done

Cron, maybe.
edit. looks like Domoticz is not restarting (has been now up for two days or so) but when restarting zigbee2mqtt the buttons reappear in Domoticz: you are probably in the right path.
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 29 December 2020 14:46
by dheuts
Is it possible to update to the new version (V3) of this plugin without losing all my devices and getting them all a new id?
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 29 December 2020 15:08
by salopette
dheuts wrote: ↑Tuesday 29 December 2020 14:46
Is it possible to update to the new version (V3) of this plugin without losing all my devices and getting them all a new id?
So for me it worked without any problems
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 29 December 2020 17:28
by dheuts
salopette wrote: ↑Tuesday 29 December 2020 15:08
dheuts wrote: ↑Tuesday 29 December 2020 14:46
Is it possible to update to the new version (V3) of this plugin without losing all my devices and getting them all a new id?
So for me it worked without any problems
Nice! Thanks for your quick response! Did you remove the hardware before updating?
Re: Python Plugin: Zigbee2Mqtt
Posted: Tuesday 29 December 2020 17:29
by salopette
No. I do it on the fly!
Re: Python Plugin: Zigbee2Mqtt
Posted: Monday 04 January 2021 17:06
by dheuts
salopette wrote: ↑Tuesday 29 December 2020 17:29
No. I do it on the fly!
Less luck for me... The devices are not working in Domoticz after updating anymore...
In the Domoticz log I see:
2021-01-04 17:04:08.244 Error: (Zigbee Oud) 0x60a423fffeab59f8: device exposes not found
2021-01-04 17:04:08.245 Error: (Zigbee Oud) 'onMessage' failed 'TypeError':''NoneType' object is not subscriptable'.
2021-01-04 17:04:08.245 Error: (Zigbee Oud) ----> Line 279 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-01-04 17:04:08.245 Error: (Zigbee Oud) ----> Line 124 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMessage
2021-01-04 17:04:08.245 Error: (Zigbee Oud) ----> Line 167 in '/home/pi/domoticz/plugins/zigbee2mqtt/mqtt.py', function onMessage
2021-01-04 17:04:08.245 Error: (Zigbee Oud) ----> Line 153 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onMQTTPublish
2021-01-04 17:04:08.245 Error: (Zigbee Oud) ----> Line 24 in '/home/pi/domoticz/plugins/zigbee2mqtt/devices_manager.py', function set_devices
Re: Python Plugin: Zigbee2Mqtt
Posted: Monday 04 January 2021 17:13
by salopette
Did you restart
What is the page of z2m in Domoticz showing?