homebridge-loxone-connect icon indicating copy to clipboard operation
homebridge-loxone-connect copied to clipboard

BlindsItem: Wrong PositionState in Homekit App

Open GutZuWiSSeN opened this issue 2 years ago • 1 comments

Hi, there seems to be a problem with the BlindsItem, which leads to a constant "closing" or "opening" state in the homekit app. In the script is a delta value calculated ("blinds don't always stop at the exact position, so take a margin of 3% here") to set the positionState to "stopped", while the currentPosition and targetPosition may still differ. that seems to be the problem. in my testing it helped to set this.targetPosition = value; when the positionState should be "stopped".

it also helped to add the changes from https://github.com/FreakErn/homebridge-loxone-ws-adv-working-blinds

GutZuWiSSeN avatar Mar 20 '22 12:03 GutZuWiSSeN

I have the same problem here 😒

davefr90 avatar Nov 28 '22 19:11 davefr90