domoticz-zigbee2mqtt-plugin
domoticz-zigbee2mqtt-plugin copied to clipboard
Problem SONOFF SNZB-02 don't work
Hello,i've an issue with SONOFF SNZB-02. it is detected by Zigbee2MQTT and it works but no devices are created in domoticz. However SONOFF SNZB-02 is long been supported by the plugin. I do not understand.
Additional information Zigbee2MQTT version:1.21.1 Python version:3.8.10 Domoticz version:2021.1 Plugin version:v.3.0.0
Logs
2021-10-28 20:20:36.430 Gateway Zigbee: (Gateway Zigbee) Received available devices list from bridge
2021-10-28 20:20:36.435 Gateway Zigbee: (Gateway Zigbee) 0x00124b0023a50c79: device definiton not found, skipping...
2021-10-28 20:20:36.438 Gateway Zigbee: (Gateway Zigbee) Received available devices list from bridge
2021-10-28 20:20:36.442 Gateway Zigbee: (Gateway Zigbee) 0x00124b0023a50c79: device definiton not found, skipping...
2021-10-28 20:20:37.259 Gateway Zigbee: (Gateway Zigbee) Received available devices list from bridge
2021-10-28 20:20:37.262 Gateway Zigbee: (Gateway Zigbee) 0x00124b0023a50c79: device definiton not found, skipping...
2021-10-28 20:20:44.631 Gateway Zigbee: (Gateway Zigbee) Received available devices list from bridge
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) 'onMessage' failed 'KeyError'.
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 297 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 137 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 167 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/mqtt.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 217 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 63 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/devices_manager.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 64 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 131 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 110 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 45 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-10-28 20:20:47.618 Error: Gateway Zigbee: (Gateway Zigbee) ----> Line 32 in '/home/domo2021/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-10-28 20:20:50.055 Gateway Zigbee: (Gateway Zigbee) Received available devices list from bridge
Do you have the same issue with plugin v.3.1-beta from the latest master branch?
i've updated : domoticz with beta version :2021.1 (build 13842) Zigbee2MQTT version:1.21.1 Python version:3.9.7 Plugin version:v.3.1.0 beta and devices are created in domoticz but i've lots of errors.
2021-11-06 09:19:18.320 plugin Zigbee: Received available devices list from bridge
2021-11-06 09:19:23.283 Error: plugin Zigbee: 'onMessage' failed 'KeyError':'('temperature',)'.
2021-11-06 09:19:23.284 Error: plugin Zigbee: Exception traceback:
2021-11-06 09:19:23.284 Error: plugin Zigbee: ----> Line 298 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:23.284 Error: plugin Zigbee: ----> Line 137 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:23.284 Error: plugin Zigbee: ----> Line 167 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/mqtt.py'
2021-11-06 09:19:23.284 Error: plugin Zigbee: ----> Line 214 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 61 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices_manager.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 64 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 191 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 170 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 47 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-11-06 09:19:23.285 Error: plugin Zigbee: ----> Line 27 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-11-06 09:19:24.464 plugin Zigbee: Received available devices list from bridge
2021-11-06 09:19:24.461 Error: plugin Zigbee: 'onMessage' failed 'KeyError':'('temperature',)'.
2021-11-06 09:19:24.461 Error: plugin Zigbee: Exception traceback:
2021-11-06 09:19:24.461 Error: plugin Zigbee: ----> Line 298 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:24.461 Error: plugin Zigbee: ----> Line 137 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 167 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/mqtt.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 214 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 61 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices_manager.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 64 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 191 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 170 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 47 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-11-06 09:19:24.462 Error: plugin Zigbee: ----> Line 27 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-11-06 09:19:29.651 Error: plugin Zigbee: 'onMessage' failed 'KeyError':'('humidity',)'.
2021-11-06 09:19:29.651 Error: plugin Zigbee: Exception traceback:
2021-11-06 09:19:29.651 Error: plugin Zigbee: ----> Line 298 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:29.651 Error: plugin Zigbee: ----> Line 137 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 167 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/mqtt.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 214 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/plugin.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 61 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices_manager.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 64 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/adapters/base_adapter.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 191 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 170 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/device.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 48 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
2021-11-06 09:19:29.652 Error: plugin Zigbee: ----> Line 35 in '/home/tchoupi/domoticz/plugins/zigbee2mqtt/devices/temperature_humidity_sensor.py'
Hello,
I have simillar problem with Sonoff SNZB-02.
It is detected by Zigbee2Mqtt, i can see it in the Frontend and Domoticz but I have no values beside Link quality.
Log from Domoticz:
My setup:
Domoticz: 2021:1 (13821), beta
Python 3.7.3
Plugin 3.1.0-beta
zigbee2mqtt: 1.22.1-dev
Could you please also provide the MQTT message that causing the issue in Domoticz
At the moment I have no error at Domoticz, but sensors doesn't work. Try to remove them and join them again but nothing changed.
Sonoff is showing some values but they are not changing.
Same problem I have with Tuya sensor (TS0201)

Does the issue still persist?
Yes. Still same values.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.