Closed anthropo closed 5 months ago
In my Domoticz changing "Reverse Open/Close State" in the Blinds setting changes the position (opened or closed)
and in Zigbee2MQTT interface everything is configured correctly, when i click open in 'expose' it opens the blinds.
There is a bug : if i have the two unchecked (Reverse Open/Close State and Reverse position) the open command work but it tells the blinds are opened while it is closed. If one of them is checked the command is reversed.
I think i found the error but i'm not sure : I had a problem with command giving a null error in Zigbee2MQTT : Error: Zigbee: Blind switch: unable to handle command "Open" so i did what they say in https://domoticz.com/forum/viewtopic.php?p=294273&hilit=blind#p294273
But in fact in https://github.com/stas-demydiuk/domoticz-zigbee2mqtt-plugin/blob/master/devices/switch/blind_percentages_switch.py i have to change the code to :
if cmd == 'ON' or cmd == 'OPEN':
return {
state_value_key: 'close'
}
elif cmd == 'OFF' or cmd == 'CLOSE':
return {
state_value_key: 'open'
}
I don't know if ON and OFF are used in other use cases so i left it.
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.
Hello
I have devices known as ts130f to drive my blinds and It seems that inverting position doesn't work in domoticz (Perhaps it is not 'reverse position' (i translate from french, sorry))
Via Zigbee2MQTT it works in the right way ( Expose, open et close)
So i have two blinds that go in the wrong way. Whatever 'reverse position' is active or not. I need to click on 'open' to close.
Version de Zigbee2MQTT [1.35.3] (https://github.com/Koenkk/zigbee2mqtt/releases/tag/1.35.3) commit: fe0742a6
Type de coordinateur ConBee2/RaspBee2
Révision du coordinateur 0x26780700
Version de l'interface 0.6.156
zigbee_herdsman_converters_version 18.28.3
zigbee_herdsman_version 0.33.8 Python version: Python 3.11.2 Domoticz version: 2024.4 Plugin version: ## 3.2.0-beta
So if my blinds are opened and if i click on close nothing happens but in the logs i see :
Zigbee2mqtt.log :
Domoticz log :