knstntn1 / homebridge-mqtt-blinds

homebridge plugin to control blinds via mqtt
MIT License
7 stars 1 forks source link

Status Reversed #13

Open MexicoMatt opened 4 years ago

MexicoMatt commented 4 years ago

Great plugin! It is working fine for me, apart from HomeKit thinks the blind is OPEN when it is CLOSED and vice-versa, is there a simple fix for this, please? Cheers.

knstntn1 commented 4 years ago

Hi, i will check in this is possible. What kind of device are you using?

Am 19.06.2020 um 12:08 schrieb MexicoMatt notifications@github.com:

 Great plugin! It is working fine for me, apart from HomeKit thinks the blind is OPEN when it is CLOSED and vice-versa, is there a simple fix for this, please? Cheers.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

MexicoMatt commented 4 years ago

Hi I am using an ESP32 NodeMCU and the AM43 blinds controller. I managed to tweak your code and got it almost working, very weird, the status is wrong in HomeKit, but it works correctly. for example, you can ask Siri to Open the blind, and it will open, but in the home app it says 'closing' while it is opening, and then the status stays as closing even once it has finished. I tweaked the code by reversing some 0/100 values and then adding a "pos = 100 - pos", line. Cheers, great add-on.

unscel commented 4 years ago

Hi I am using an ESP32 NodeMCU and the AM43 blinds controller. I managed to tweak your code and got it almost working, very weird, the status is wrong in HomeKit, but it works correctly. for example, you can ask Siri to Open the blind, and it will open, but in the home app it says 'closing' while it is opening, and then the status stays as closing even once it has finished. I tweaked the code by reversing some 0/100 values and then adding a "pos = 100 - pos", line. Cheers, great add-on.

Hi MexicoMatt, I exactly face the same behaviour. Can you share the modified code you succeeded.

Tyraenor commented 3 years ago

Wouldn‘t it be easier to change the wiring? Or does this not work with your device?