Domoticz 14567: Blinds commands changed
See original GitHub issueWith latest betas of Domoticz the Blinds behavior has been changed.:
Before the percentage info is translated to the following commands:
% Command 0: Off 1: Set Level 99: Set Level 100: On
In the ‘current’ new situation the translation is as follows:
% Command 0: Close 1: Set Level 99: Set Level 100: Open
This will now result in next message when ‘Open’ or ‘Close’ action is given:
okt 14 11:34:24 domoticz npm[2337]: Zigbee2MQTT:error 2022-10-14 11:34:24: Invalid message 'null', skipping...
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’
Zigbee2MQTT version: v1.27.2 Python version: 3.7.3 Domoticz version: 14567 Plugin version: V3.2.0-beta
Issue Analytics
- State:
- Created a year ago
- Reactions:1
- Comments:5 (1 by maintainers)
This was also the solution for me. Only thing is the slider dont show the percentage anymore. If it’s half way its showing open or close
Probably solution should be made more generic by checking Domoticz Version to which value ‘cmd’ should check. I believe that since 14549 the blind commands changed.