suddenly?
Python Plugin: Zigbee2Mqtt Topic is solved
Moderator: leecollings
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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.
### edited ### problem has resolved itself, at least in one browser (safari). Not in Chrome. Weird.
-
- Posts: 75
- Joined: Sunday 27 September 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Finland
- Contact:
Re: Python Plugin: Zigbee2Mqtt
So this has actually been working? Mine has always been just Loading..., updating to 1.16.2 had no effect.
-
- Posts: 75
- Joined: Sunday 27 September 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Finland
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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.
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Python Plugin: Zigbee2Mqtt
It did work. And now it don't. shoot me leak.
-
- Posts: 4
- Joined: Wednesday 16 December 2020 15:56
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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?
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
Check if Domoticz accepts new devices ("accept new hardware"). Not for just 5 minutes. Save and restart domoticz.
- jacobsentertainment
- Posts: 211
- Joined: Thursday 01 October 2020 1:47
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2021-1
- Location: Not @ home
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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 topbyth 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?
- heggink
- Posts: 972
- Joined: Tuesday 08 September 2015 21:44
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 12451
- Location: NL
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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
Sent from my SM-G980F using Tapatalk
Docker in Truenas scale, close to latest beta
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
DASHTICZ 🙃
RFXCOM, zwavejs2mqtt, zigbee2mqtt,
P1 meter & solar panel
Google home, Wifi Cams motion detection
Geofence iCloud, Bluetooth & Wifi ping
Harmony hub, Nest, lots more :-)
-
- Posts: 1
- Joined: Friday 27 July 2018 11:06
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Python Plugin: Zigbee2Mqtt [SOLVED]
Hello,jacobsentertainment wrote: ↑Saturday 19 December 2020 0:07I 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 topbyth 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?
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
Code: Select all
experimental:
new_api: true
-
- Posts: 75
- Joined: Sunday 27 September 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Finland
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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:
and in MQTT Explorer as well:
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.
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}'"
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}'"
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.
- felix63
- Posts: 244
- Joined: Monday 07 December 2015 9:30
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2020.1
- Location: Gouda
- Contact:
Re: Python Plugin: Zigbee2Mqtt
Does domoticz restart at midnight? I find that if Domoticz restarts I need to restart zigbee2mqtt.
-
- Posts: 75
- Joined: Sunday 27 September 2015 15:52
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Finland
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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.
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.
-
- Posts: 65
- Joined: Monday 25 March 2019 15:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Brunssum, Netherlands
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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?
Raspberry Pi 4 With Domoticz - RFXCom - Tuya Wifi LED lights - Chuango Alarm - Zwave+ - Zigbee2MQTT - Anna Thermostat - Broadlink IR, P1 - Eufy Robo Vacuum - Worx Robo Mower
-
- Posts: 65
- Joined: Monday 25 March 2019 15:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Brunssum, Netherlands
- Contact:
Re: Python Plugin: Zigbee2Mqtt
Nice! Thanks for your quick response! Did you remove the hardware before updating?
Raspberry Pi 4 With Domoticz - RFXCom - Tuya Wifi LED lights - Chuango Alarm - Zwave+ - Zigbee2MQTT - Anna Thermostat - Broadlink IR, P1 - Eufy Robo Vacuum - Worx Robo Mower
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Plugin: Zigbee2Mqtt
No. I do it on the fly!
-
- Posts: 65
- Joined: Monday 25 March 2019 15:14
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Brunssum, Netherlands
- Contact:
Re: Python Plugin: Zigbee2Mqtt
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
Raspberry Pi 4 With Domoticz - RFXCom - Tuya Wifi LED lights - Chuango Alarm - Zwave+ - Zigbee2MQTT - Anna Thermostat - Broadlink IR, P1 - Eufy Robo Vacuum - Worx Robo Mower
-
- Posts: 187
- Joined: Tuesday 07 March 2017 21:03
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Germany
- Contact:
Re: Python Plugin: Zigbee2Mqtt
Did you restart
What is the page of z2m in Domoticz showing?
What is the page of z2m in Domoticz showing?
Who is online
Users browsing this forum: No registered users and 1 guest