HAP-python icon indicating copy to clipboard operation
HAP-python copied to clipboard

Wrong state for shutter when using physical actors

Open nicx opened this issue 5 years ago • 6 comments

Since some versions I have the following problem:

When I close the roller shutter via the physical Homematic actor the status in the Apple Home App is not correct: It never jumps to "Closed", but remains infinitely on "Closing...".

In Homematic itself and also in Home Assistant the status is correct, but not in the Home App.

However, if I close the shutter myself using the Home App directly, the status is also displayed correctly after closing.

nicx avatar May 08 '20 07:05 nicx

Would be great to get any response...

nicx avatar Jun 02 '20 20:06 nicx

Would be great to get any response...

HAP has a PositionState Characteristics for WindowCovering (Roller shutter), that could be 0, 1 or 2. 0 and 1 is for "closing" and "opening". 2 is for "stopped". It seems to me, the "TargetPosition" is reached, but the "Stopped" value is not set.

Pythonaire avatar Jul 07 '20 13:07 Pythonaire

@Pythonaire thanks for your comment, so this seems to be a bug in HAP-python? Is there anything I can do, deliver logs etc.?

nicx avatar Jul 08 '20 06:07 nicx

can't see a bug. Do you have a code example for your roller shutter?

Pythonaire avatar Jul 08 '20 09:07 Pythonaire

@Pythonaire no I don't have a code example... or I do not understand what you are meaning with it ;) I am using Home Assistant with the Homekit integration. I already opened a bug request in the HA project, but they pointed me to this project.

nicx avatar Jul 08 '20 10:07 nicx

@Pythonaire no I don't have a code example... or I do not understand what you are meaning with it ;) I am using Home Assistant with the Homekit integration. I already opened a bug request in the HA project, but they pointed me to this project.

Hm, this repo represent a python based stand-alone interface to the Apple HomeKit. it's not related to other software named "Homatic", "home Assistent" or equal. You can install HAP-Python and it will work as a bridge, then you can using examples (see folder "accessories") or build your own accessory.

Pythonaire avatar Jul 08 '20 11:07 Pythonaire