pgerke / homebridge-freeathome-local-api

A Homebridge plugin that allows controlling you free@home setup using the local API provided by the System Access Point
MIT License
18 stars 2 forks source link

Blinds state not correct #65

Open joconcepts opened 1 year ago

joconcepts commented 1 year ago

Describe The Bug: When closing a blind using the home app, the state changes to closing, however does never changes the state to closed. Clicking it again mostly fixes it. This also happens the other way around. Another issue is when closing a blind via sensor click. The home app does not recognize any change. Once the blind is closed physically and you click the button in the home app again the state is set correctly.

To Reproduce: Close a blind via home app and keep the app open. The blind button stays "closing".

Expected behavior: State of blind in home app always correct.

Can anyone reproduce the issue? My guess is that the targetposition value has to be updated once the positionstate changes.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

DrMWeigand commented 1 year ago

I can confirm that I also see this issue sometimes. Blinds are then displayed constantly as opening or closing.

Another problem with blinds is that the state can be inverted. We have an awning for which a reversed state is displayed. The easiest option here would be to have an optional parameter to invert the state for the device.

image
Fridschi commented 9 months ago

It's indeed still a problem. Here is a complete set of steps and screen shots that might help to reproduce.

The timely sequence is:

  1. I press the physical switch
  2. PositionState is immediately set to 1
  3. The blinds are opening. The icon in the home app still shows closed "Schliessen"
  4. Only once the blinds have entirely opened the Positionstate is set to 2
  5. A second later Positionstate is set to 100
  6. After Positionstate is set to 100, the icon in the home app switches to closing "Schliessen..."
  7. If I tap on the blinds icon in the home app the state switches to opened "Geöffnet", which woul dbe the correct end state, if not being initiated manually by me.

Cheers David