freeathome icon indicating copy to clipboard operation
freeathome copied to clipboard

Window-Sensor

Open LSchuetzi84 opened this issue 10 months ago • 7 comments

I have several window sensors that are mounted directly on the window handle. These indicate whether the window is closed / open / tilted. These are not displayed. Example:

<attribute name="displayName">Fenster/Tür - kl. Fenster</attribute>
     <attribute name="floor">01</attribute>
     <attribute name="functionId">4b</attribute>
     <attribute name="room">01</attribute>

freeathome_dump_192.168.178.25_2024_04_17_20_38_04.xml.zip

LSchuetzi84 avatar Apr 17 '24 20:04 LSchuetzi84

Thank you for the dump, this will help a lot.

jheling avatar Apr 19 '24 16:04 jheling

@jheling Are there any plans to support window sensors in the future?

etiennelenhart avatar Jul 28 '24 11:07 etiennelenhart

@etiennelenhart . Yes, making a it a binary sensor should be easy. Only the tilt is a bit a challenge. I found some examples where is was implemented with two binary sensors. One for open /closed and one for tilted.

jheling avatar Jul 30 '24 18:07 jheling

Oh, so there is no direct support for these kinds of sensors in Home Assistant?

FWIW I would be fine with a binary state for now, as I'm currently only using the opened state.

etiennelenhart avatar Jul 30 '24 18:07 etiennelenhart

I would also like to receive this functionality in HA -> I would also test it...

oliverlinsenmaier avatar Aug 12 '24 12:08 oliverlinsenmaier

The solution turned out to be very simple. I have only implemented the binary part. You can try #198

jheling avatar Aug 20 '24 17:08 jheling

@jheling: I can confirm, that the actuators now work. But it was there before, wasn't it?! And this Issue is more about the sensors, not the actuators.

oliverlinsenmaier avatar Sep 05 '24 20:09 oliverlinsenmaier