homebridge-loxone-connect
homebridge-loxone-connect copied to clipboard
BlindsItem: Wrong PositionState in Homekit App
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
I have the same problem here 😒