-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cover position issues with >=1.14.3 version #4412
Comments
Fixed! Changes will be available in the latest dev branch in a few hours (https://www.zigbee2mqtt.io/how_tos/how-to-switch-to-dev-branch.html) |
@Koenkk for some reason again it started working incorrectly. Using just Open/Close works fine. Once curtains are closed or opened they report position correctly (0 - closed, 100 - open). However, if I try to set position to let's say 80 it inteprets it as 20.
I've just completely recloned zigbee2mqtt (most recent master commit), reflashed zzh us stick, repaired curtains motor, recalibrated but that didn't help. Could this be my curtain motor malfunctioning? EDIT: after changing |
By default for Zigbee2MQTT 100 = open, 0 = closed so the behaviour you see is correct. You can invert this with the |
@Koenkk Something seems wrong with this update, setting to 100% closes the curtain, setting to 100% again opens it again and so on. The reported state switches between 100% and 0% after the curtain arrives. |
@DomiStyle can you provide the herdsman debug logging of this? To enable herdsman debug logging, see https://www.zigbee2mqtt.io/information/debug.html#zigbee-herdsman-debug-logging |
@Koenkk Sure: https://gist.github.com/DomiStyle/7f3c19839f418bbbbdc2c50e654083a0 Probably some other stuff in there but should be mostly the curtain. Commands came from Home Assistant (100%), keeps flip-flopping between open/closed. |
@DomiStyle when sending position 100, does the curtain open or close. Likely caused by Koenkk/zigbee-herdsman-converters#1603, @dinhchinh82 looking at the PR now, I would also expect that an inversion needs to be done in the |
@Koenkk Both. Clicking it once opens it, clicking it again closes it and so on. |
Bug Report
What happened
I'm using HomeAssistant (0.115.0) with zigbee2mqtt.
Issuing open/close cover in HomeAssistant works fine, but when I try to set currently opened curtains position to 90% via HomeAssistant zigbee2mqtt actually sends 10% to curtain motor. Final position report coming from zigbee2mqtt is 10%.
Setting cover position started working incorrectly after upgrading from 1.14.2 to to 1.14.3 on
Zemismart ZM79E-DT
Curtain Motor. Latest version is also affected but by upgrading one version at a time I've managed to find a release that has introduced this bug.What did you expect to happen
How to reproduce it (minimal and precise)
Zigbee2MQTT <=1.14.2 works fine:
Debug Info
Zigbee2MQTT version: 0.114.3+
Adapter hardware: both CC2531 and zzh!
Adapter firmware version:
The text was updated successfully, but these errors were encountered: