Page 1 of 1

zigbee2mqttt blinds problem

Posted: Sunday 16 October 2022 11:40
by sundodger
Hi all,
Recent updates seem to have broken my blinds setup.
Clicking on open or closed gives either
Error: Zigbee: Blind switch: unable to handle command "Open"
or Error: Zigbee: Blind switch: unable to handle command "Close".
Getting this in the log.
Oct 16 10:32:15 raspberrypi npm[537]: Zigbee2MQTT:debug 2022-10-16 10:32:15: Received MQTT message on 'zigbee2mqtt/0xb4e3f9fffe61e9a2/set' with data 'null'
Oct 16 10:32:15 raspberrypi npm[537]: Zigbee2MQTT:error 2022-10-16 10:32:15: Invalid message 'null', skipping...
i can still control them with the slider or a set to a % command. E.G i have two controlled as a group. turning on the group sends a set to 98% level which works to close them but the off to open them now does nothing.
Any ideas or workarounds that you know of would be welcome.
Thanks.

Re: zigbee2mqttt blinds problem

Posted: Monday 17 October 2022 14:28
by waltervl
As designed in Domoticz Beta (be carefull about his!!!)
New functionality is described here: viewtopic.php?t=39192

If you are using the Python plugin please check the repository for updates.

Re: zigbee2mqttt blinds problem

Posted: Monday 17 October 2022 20:42
by sundodger
Hi, I was reading the changes and did update everything to the latest (as of yesterday). Maybe it will take a while to catch up..

Re: zigbee2mqttt blinds problem

Posted: Tuesday 18 October 2022 8:44
by gizmocuz
@sundodger, please create a issue on github
Please make use of MQTT Explorer, and include the config topic + payload of your blind
(<mqtt auto discovery topic>/xx/yy//config)

Re: zigbee2mqttt blinds problem

Posted: Thursday 10 November 2022 19:54
by Platte73
Here the same. After update to 2022.2 blinds not working anymore

Error: Zigbee: Blind switch: unable to handle command "Open"
or Error: Zigbee: Blind switch: unable to handle command "Close".

Re: zigbee2mqttt blinds problem

Posted: Thursday 10 November 2022 21:01
by Platte73
Fixed the problem

Solution is to adapt next source-file of plugin:

zigbee2mqtt\devices\switch\blind_percentage_switch.py

Change 'cmd == 'ON' into 'cmd == 'CLOSE'
Change 'cmd == 'OFF' into 'cmd == 'OPEN'

Re: zigbee2mqttt blinds problem

Posted: Monday 26 June 2023 17:22
by jjnh
Top Tip!! This indeed solved my problem with the zigbee blinds after upgrading Domoticz, zigbee2mqtt and the plugin.

My Pi crashed a few days ago and since there is almlst no Pi's available I went to an Odroid N2+

Thanks very much.