Page 13 of 14

Re: Zigbee2MQTT

Posted: Thursday 04 February 2021 13:17
by EddyG
If you want a regular update of projects, you can take a subscription at https://newreleases.io/ and get update information in your mail.

Re: Zigbee2MQTT

Posted: Thursday 04 February 2021 14:09
by jeroenkl
FYI,
The latest ZZH! Koenkk firmware works fine too:
v.1.17.1 (zStack3x0 20210120)

https://github.com/Koenkk...dinator/Z-S ... _3.x.0/bin

Re: Zigbee2MQTT

Posted: Sunday 07 February 2021 9:58
by brjhaverkamp
I have a similar issue with temperature sensors not updating in Domoticz, but doing fine in Z2m.
My setup is 2 Aqara temperature +humidity sensors. They are connected to an Rpi with z2m and Slaesh's CC2652RB stick.
The link quality is fine. And z2m receives updates every minute or so and publishes them over MQTT. However, in Domoticz I only see a reading from over 12 hours ago. The graphs in Domoticz show very irregular updates as well, so it is not a one-time issue.

How can I fix this? It looks like in Domoticz not all updates are processed. Are they throttled somewhere?
What happens if I remove one of the temp devices. Will the z2m plugin add it automatically again? (and if not how do I add back manually?

Especially with the wintery spell coming up here in the Netherlands, I am very anxious for continuous temperature updates:-)

Regards,

Bert

Re: Zigbee2MQTT

Posted: Thursday 25 February 2021 21:15
by Kruu
Hi,

why do I have this in my devices under zigbee hardware - data column:

Code: Select all

{"type": "response", "requestId": 7, "isError": false, "payload": "digraph G {\nnode[shape=record];\n \"0x00124b001ccc574e\" [style=\"bold, filled\", fillcolor=\"#e04e5d\", fontcolor=\"#ffffff\", label=\"{Coordinator|0x00124b001ccc574e (0)|0 seconds ago}\"];\n \"0x00124b00226748a5\" [style=\"rounded, dashed, filled\", fillcolor=\"#fff8ce\", fontcolor=\"#000000\", label=\"{IC Sonoff|0x00124b00226748a5 (42067)|SONOFF Motion sensor (SNZB-03)|3 hours, 22 minutes ago}\"];\n \"0x00124b00226748a5\" -> \"0x00124b001ccc574e\" [penwidth=1, weight=0, color=\"#994444\", label=\"170\"]\n}"}
from time to time that changes:

Code: Select all

	{"type": "response", "requestId": 7, "isError": false, "payload": []}

Re: Zigbee2MQTT

Posted: Monday 01 March 2021 20:05
by jeroenkl
FYI

https://github.com/Koenkk/zigbee2mqtt
Koenkk zigbee2mqtt 1.18.0

Zigbee2MQTT and KaKu

Posted: Monday 03 May 2021 10:23
by wboerhoop
Hello,

Can someone tell me if the Zigbee Smoke Detector ZSDR-850 will work in combination with Zigbee2MQTT
I will replace the zwave i'm using now because the eat batteries

Thanks Willem

Re: Zigbee2MQTT

Posted: Monday 03 May 2021 10:55
by EddyG

Re: Zigbee2MQTT

Posted: Wednesday 19 May 2021 22:46
by hoeby
For a few weeks back i had a ikea router.
But i was not happy with it. The zigbee network lines where gone and a couple of devices didn't work.
Removed the ikea router, and after a reboot of zigbee2mqtt, the devices worked again.
But i still needed a router.

Ordered the parts for a cc2530-cc2591.
Made a housing for it and now i have a smill, this works much better than the ikea router
20210519_201141_resized.jpg
20210519_201141_resized.jpg (350.76 KiB) Viewed 3550 times
20210519_221727_resized.jpg
20210519_221727_resized.jpg (301.58 KiB) Viewed 3550 times
20210519_221827_resized.jpg
20210519_221827_resized.jpg (152.09 KiB) Viewed 3550 times

Zigbee2MQTT- MQTT-Domoticz

Posted: Wednesday 18 August 2021 21:03
by AxelvanH
Hey all,

I feel i have tried it all.... So I hope you can help me...
I have Zibgee2mqtt, MQTT and Domoticz running (all on the same Synology NAS), but no device gets populated into Domoticz :(

I followed the instructions on: https://www.zigbee2mqtt.io/ and installed it as a Docker
Zigbee2mqtt seems to work as it connected to two devices and reports them:

Zigbee2Mqtt:
info 2021-08-18 18:54:39: Logging to console and directory: '/app/data/log/2021-08-18.18-54-37' filename: log.txt
info 2021-08-18 18:54:39: Starting Zigbee2MQTT version 1.21.0 (commit #70891ee)
info 2021-08-18 18:54:39: Starting zigbee-herdsman (0.13.124)
info 2021-08-18 18:54:41: zigbee-herdsman started (resumed)
info 2021-08-18 18:54:41: Coordinator firmware version: '{"meta":{"maintrel":3,"majorrel":2,"minorrel":6,"product":0,"revision":20190608,"transportrev":2},>
info 2021-08-18 18:54:41: Currently 2 devices are joined:
info 2021-08-18 18:54:41: Zigbee_Waterslot (0x847127fffed08a31): R7060 - Woox Smart garden irrigation control (EndDevice)
info 2021-08-18 18:54:41: Zigbee_thermo (0x842e14fffef505c2): TS0201 - TuYa Temperature & humidity sensor with display (EndDevice)
info 2021-08-18 18:54:41: Zigbee: disabling joining new devices.
info 2021-08-18 18:54:41: Connecting to MQTT server at mqtt://192.168.2.222:1883
info 2021-08-18 18:54:41: Connected to MQTT server
info 2021-08-18 18:54:42: MQTT publish: topic 'zigbee2mqtt/bridge/state', payload 'online'
info 2021-08-18 18:54:42: MQTT publish: topic 'zigbee2mqtt/Zigbee_Waterslot', payload '{"device":{"applicationVersion":69,"dateCode":"","friendlyName":"Zig>
info 2021-08-18 18:54:42: MQTT publish: topic 'zigbee2mqtt/Zigbee_thermo', payload '{"battery":100,"device":{"dateCode":"","friendlyName":"Zigbee_thermo",">
info 2021-08-18 18:54:42: MQTT publish: topic 'zigbee2mqtt/bridge/config', payload '{"commit":"70891ee\n","coordinator":{"meta":{"maintrel":3,"majorrel":2,>
info 2021-08-18 18:54:47: MQTT publish: topic 'zigbee2mqtt/bridge/config/devices', payload '[{"dateCode":"20190608","friendly_name":"Coordinator","ieeeAddr>
info 2021-08-18 18:54:47: MQTT publish: topic 'zigbee2mqtt/bridge/log', payload '{"message":[{"dateCode":"20190608","friendly_name":"Coordinator","ieeeAddr>
info 2021-08-18 18:55:12: Starting network scan (includeRoutes 'false')
info 2021-08-18 18:55:13: Network scan finished

I Installed MQTT in a seperate docker, which seems to run fine. As I see the service starting and connections coming in.
(replaced the MQTT docker with the Mosquitto Synology app, but same result)

2021-08-18 18:34:29 stdout 1629311669: mosquitto version 1.6.12 starting
2021-08-18 18:34:29 stdout 1629311669: Config loaded from /mosquitto/config/mosquitto.conf.
2021-08-18 18:34:29 stdout 1629311669: Opening ipv4 listen socket on port 1883.
2021-08-18 18:34:29 stdout 1629311669: mosquitto version 1.6.12 running
2021-08-18 18:34:29 stdout 1629311669: New connection from 192.168.2.222 on port 1883.
2021-08-18 18:34:29 stdout 1629311669: New client connected from 192.168.2.222 as mqttjs_496ab1cb (p2, c1, k60, u'mqttuser').
2021-08-18 18:34:33 stdout 1629311673: New connection from 172.17.0.2 on port 1883.
2021-08-18 18:34:33 stdout 1629311673: New client connected from 172.17.0.2 as 7e9e8cd58c9e478c8c0465803fc37c94 (p2, c1, k15).
2021-08-18 18:34:52 stdout 1629311692: New connection from 192.168.2.225 on port 1883.
2021-08-18 18:34:52 stdout 1629311692: New client connected from 192.168.2.225 as Domoticz765b377c-d4c6-413d-be5a-7b7720fa6640 (p2, c1, k40, u'mqttuser').

Domoticz is running and connected to MQTT via the Domoticz plugin (MQTT Client Gateway with LAN interface)
2021-08-18 20:34:52.550 Status: MQTT Gateway: MQTT: Connecting to 192.168.2.222:1883
2021-08-18 20:34:52.751 Status: MQTT Gateway: MQTT: re-connected to: 192.168.2.222:1883
2021-08-18 20:34:52.951 Status: MQTT Gateway: MQTT: Subscribed

I have looked at all settings but can't seem to find it... I installed "Zigbee2MqttAssistant" but that does not help in problem solving.
Most probably it is something stupid, but I don't see it...

Can you help?

Re: Zigbee2MQTT

Posted: Wednesday 18 August 2021 21:21
by Nautilus
Hi, you still need the Domoticz python plugin for zigbee2mqtt: viewtopic.php?f=65&t=24975

Re: Zigbee2MQTT

Posted: Wednesday 18 August 2021 21:37
by AxelvanH
Nautilus wrote: Wednesday 18 August 2021 21:21 Hi, you still need the Domoticz python plugin for zigbee2mqtt: viewtopic.php?f=65&t=24975
Thank you! How stupid indeed.... I was only focused on the "MQTT Client Gateway with LAN interface" that I didn't see that one.
Seemed a already passed station. Now it works!

Re: Zigbee2MQTT

Posted: Wednesday 18 August 2021 22:04
by Nautilus
AxelvanH wrote: Wednesday 18 August 2021 21:37 Now it works!
Great! :D

Re: Zigbee2MQTT

Posted: Monday 13 September 2021 10:12
by rolandtwilt
I don't know if I'm good on this topic?
but I have the following question:
I bought a Tuya Zigbee gateway and connected it to Domoticz via the plugin (Tuya Cloud).
(https://github.com/guino/tuyaha) followed all instructions and it seems to work....
however when starting Domoticz I get the following message:

2021-09-12 10:08:01.535 Tuya: (Tuya) Device count: 0

And so no devices were found, anyone have an idea?

Re: Zigbee2MQTT

Posted: Monday 13 September 2021 11:21
by waltervl
rolandtwilt wrote: Monday 13 September 2021 10:12 I don't know if I'm good on this topic?
but I have the following question:
I bought a Tuya Zigbee gateway and connected it to Domoticz via the plugin (Tuya Cloud).
(https://github.com/guino/tuyaha) followed all instructions and it seems to work....
however when starting Domoticz I get the following message:

2021-09-12 10:08:01.535 Tuya: (Tuya) Device count: 0

And so no devices were found, anyone have an idea?
Nothing to do with zigbee2mqtt. This is the correct topic for the tuya cloud plugin: https://domoticz.com/forum/viewtopic.php?f=65&t=33145

Re: Zigbee2MQTT

Posted: Monday 13 September 2021 15:53
by AllesVanZelf
I have a strange problem. Zigbee2MQTT plugin was working well on another raspberry pi.
Zigbee2MQTT is running. I can connect zigbee2mqtt plugin from 1 Raspberry pi. But on the new one I am able to connect the plugin, the devices show up in device tab of Domoticz, but.... The Custom - Zigbee2MQTT plugin tab does not load. I do see:
the title: Zigbee2Mqtt
Devices, Groups, Network Map and Plugin Configuration, but below that, only Loading ..

It is possible the add these zigbee devices from the Domoticz device page and I can control these. But the plugin page does not load.

In the Log:

Code: Select all

2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'.
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 291 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 132 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 15 in '/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py', function handle_request
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2021-09-13 15:34:09.908 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'.
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 291 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 132 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 15 in '/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py', function handle_request
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode 
2021-09-13 15:39:42.654 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'. 
Something with a missing Module?

Edit:
I found out that by installing as:

Code: Select all

git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
for some reason beta 3.1.0 was installed. In this beta the custom plugin tab was not working in my installation.
Now I installed as:

Code: Select all

git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
cd zigbee2mqtt
git reset --hard f8c22fc330229b39f06ff11bbfcea38e3a492306

Then version 3.0.0 is installed. That version is working!

Re: Zigbee2MQTT

Posted: Friday 29 October 2021 15:28
by sammyke007
AllesVanZelf wrote: Monday 13 September 2021 15:53 I have a strange problem. Zigbee2MQTT plugin was working well on another raspberry pi.
Zigbee2MQTT is running. I can connect zigbee2mqtt plugin from 1 Raspberry pi. But on the new one I am able to connect the plugin, the devices show up in device tab of Domoticz, but.... The Custom - Zigbee2MQTT plugin tab does not load. I do see:
the title: Zigbee2Mqtt
Devices, Groups, Network Map and Plugin Configuration, but below that, only Loading ..

It is possible the add these zigbee devices from the Domoticz device page and I can control these. But the plugin page does not load.

In the Log:

Code: Select all

2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'.
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 291 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 132 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 15 in '/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py', function handle_request
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-09-13 15:33:56.759 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode
2021-09-13 15:34:09.908 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'.
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 291 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 132 in '/home/pi/domoticz/plugins/zigbee2mqtt/plugin.py', function onDeviceModified
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 15 in '/home/pi/domoticz/plugins/zigbee2mqtt/api/api.py', function handle_request
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 348 in '/usr/lib/python3.7/json/__init__.py', function loads
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 337 in '/usr/lib/python3.7/json/decoder.py', function decode
2021-09-13 15:34:09.909 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) ----> Line 355 in '/usr/lib/python3.7/json/decoder.py', function raw_decode 
2021-09-13 15:39:42.654 Error: Zigbee2MQTT plugin: (Zigbee2MQTT plugin) 'onDeviceModified' failed 'JSONDecodeError':'Expecting value: line 1 column 1 (char 0)'. 
Something with a missing Module?

Edit:
I found out that by installing as:

Code: Select all

git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
for some reason beta 3.1.0 was installed. In this beta the custom plugin tab was not working in my installation.
Now I installed as:

Code: Select all

git clone https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin.git zigbee2mqtt
cd zigbee2mqtt
git reset --hard f8c22fc330229b39f06ff11bbfcea38e3a492306

Then version 3.0.0 is installed. That version is working!
Same here...
Because of sudden Z2M issues, I updated Z2M plugin from 3.0 to 3.1 and Domoticz from 2021.1 stable to todays beta...
Worst decision ever made! Reverted the Z2M plugin to 3.0 and had to configue all of my Z2M devices in Domoticz again. Don't update if not needed!!!

Re: Zigbee2MQTT

Posted: Friday 29 October 2021 15:48
by jvdz
sammyke007 wrote: Friday 29 October 2021 15:28 Same here...
....... had to configue all of my Z2M devices in Domoticz again. Don't update if not needed!!!
No backup made before the update to revert to? ;)

Re: Zigbee2MQTT

Posted: Saturday 30 October 2021 9:18
by sammyke007
jvdz wrote: Friday 29 October 2021 15:48
sammyke007 wrote: Friday 29 October 2021 15:28 Same here...
....... had to configue all of my Z2M devices in Domoticz again. Don't update if not needed!!!
No backup made before the update to revert to? ;)
As stupid as it sounds... No :lol: .
Everything is working fine again. Latest Domoticz beta and Z2M plugin v3.0.
v3.1 didn't work for me. The custom Z2M plugin page wouldn't load anymore and my selector buttons went crazy. Reported it, but I won't update for a while now (unless I backup first...) :oops:

Zigbee2MQTT & PIR

Posted: Monday 13 December 2021 14:59
by rolandtwilt
friends of the digital house, I have a problem with Zigbee2MQTT.
When I add a motion sensor it only works once in a minute.
only gives a signal to Domoticz once a minute, even if there are 10 movements every 60 seconds.
It seems that this is controlled in the device itself.

Also, I'm wondering if I should pair all 5 devices when pairing?
because besides the motion detector I see 4 other devices such as 2 times a light switch and twice general.

And last question; there is no log with the zigbee motion detector (regardless of brand and type)
Not even after CTRL + F5

What can you advise me?

Thank you very much and greetings!

Re: Zigbee2MQTT

Posted: Wednesday 13 April 2022 12:22
by mastadook
Hi,

I try to ask my Question here, not open an extra Thread.

Since 2022.04.02 I have Problems with some of my Devices, not all, just some.
zigbee2mqtt.png
zigbee2mqtt.png (206.31 KiB) Viewed 2035 times
I tried to restart mosquito, restart the Raspi, restart Domoticz also and the zigbee2mqtt.
All running on the same Raspi and working fine since Weeks now.

What can i try to get them running again?
Anyone idea welcome :)