QuickSander / homebridge-http-curtain

Homebridge plugin to operate web based/http curtains with push position updates.
Other
2 stars 3 forks source link

Allow inverting position status #14

Closed burntcookie90 closed 3 years ago

burntcookie90 commented 3 years ago

I am trying to use this with shades that report 0 for open, but this plugin reports 0 as closed to homekit. Is it possible to get a checkbox for "Invert value" in the accessory config?

QuickSander commented 3 years ago

Hi, should be possible. Let me see what I can do this evening.

QuickSander commented 3 years ago

Are your shades returning '2' for idle?

burntcookie90 commented 3 years ago

I don't believe so. According to this the position is 0..100 (open..close).

QuickSander commented 3 years ago

Oh Oké, I understand you want to invert the actual position value instead of the state

burntcookie90 commented 3 years ago

Ah yep! Sorry for the vague request at the top

QuickSander commented 3 years ago

Can you try if version 1.4.0 suits your needs?

burntcookie90 commented 3 years ago

Works! Thank you for the quick turnaround!