zigbee2mqttt blinds problem

Xiaomi, Ikea TRÅDFRI, Philips Hue and more.

Moderator: leecollings

Post Reply
sundodger
Posts: 29
Joined: Sunday 11 August 2019 17:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

zigbee2mqttt blinds problem

Post 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.
User avatar
waltervl
Posts: 5149
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: zigbee2mqttt blinds problem

Post 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.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
sundodger
Posts: 29
Joined: Sunday 11 August 2019 17:24
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: zigbee2mqttt blinds problem

Post 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..
User avatar
gizmocuz
Posts: 2350
Joined: Thursday 11 July 2013 18:59
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Top of the world
Contact:

Re: zigbee2mqttt blinds problem

Post 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)
Quality outlives Quantity!
Platte73
Posts: 16
Joined: Thursday 28 January 2021 19:23
Target OS: -
Domoticz version:
Contact:

Re: zigbee2mqttt blinds problem

Post 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".
Platte73
Posts: 16
Joined: Thursday 28 January 2021 19:23
Target OS: -
Domoticz version:
Contact:

Re: zigbee2mqttt blinds problem

Post 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'
User avatar
jjnh
Posts: 33
Joined: Sunday 09 December 2018 14:06
Target OS: Linux
Domoticz version: 2023.1
Location: Netherlands
Contact:

Re: zigbee2mqttt blinds problem

Post 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.
Odroid N2+ 4GB, with an RfxTrx433E, Zigbee with Slaesh's CC2652RB, Z-Wave, BroadLink IR using RM mini 3 and P1 connected.
Post Reply

Who is online

Users browsing this forum: Google [Bot] and 1 guest