domoticz-zigbee2mqtt-plugin
domoticz-zigbee2mqtt-plugin copied to clipboard
Tuya TS011F_plug_3 on/off state in plugin not working after update zigbee2mqtt 1.24.0
Issue description I've got some nice TS011F_plug_3 Tuya's, but after updating Z2M to v1.24.0 the on/off switch doesn't work anymore in Domoticz. It remains off / switches back immediately to off. In the Z2M Frontend the plugs are working properly. Updating the plugin to 3.1 beta is not an option, since in that one doesn't load in domoticz, see issue #780. Thanks!
Additional information Zigbee2MQTT version: 1.24.0 Python version: 3.7.3 Domoticz version: 2022.1 Plugin version: 3.0
Same for the NAS-WR01B which presents it self as a TS011F_plug_1 in Z2M 1.24.0-dev commit: [0cd02c74] Also using the 'OLD' plugin version.
I found a temporarily solution by removing some lines in Z2M see here: https://github.com/Koenkk/zigbee2mqtt/issues/11939
Probably found the culprit. This device is a powerplug with a child_lock. @stas-demydiuk How can I make a powerplug definition with a child_lock?
I found a temporarily solution by removing some lines in Z2M see here: Koenkk/zigbee2mqtt#11939
Thanks @SargonofAssyria for puzzling on this. I removed the child_lock line (and also indicator_mode) under the plug_3 device in tuya.js (the one in devices folder). Unfortunately the issue remains... Maybe you could be somewhat more precise in what you actually removed? Many thanks!
You only have to remove the child_lock part on the following places. the 'fromZigbee', 'toZigbee' and the exposes part.
You only have to remove the child_lock part on the following places. the 'fromZigbee', 'toZigbee' and the exposes part.
Unfortunately, this didn't work for me.
The other solution is for me to add attached external converter in Z2M under Settings -> External converters. Remove the .txt so the filename is TS001_TZ3000.js Place the file in the data dir. TS011F_TZ3000.js.txt .
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.
The other solution is for me to add attached external converter in Z2M under Settings -> External converters. Remove the .txt so the filename is TS001_TZ3000.js Place the file in the data dir. TS011F_TZ3000.js.txt .
I haven't tried this yet and missed this comment. I will try it out soon. Thanks.
This works for me. Thanks!
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.