ekutner / home-connect-hass

Alternative (and improved) Home Connect integration for Home Assistant
MIT License
624 stars 58 forks source link

Add an alarm binary sensor for oven #239

Closed liouma closed 1 year ago

liouma commented 1 year ago

Is your feature request related to a problem? Please describe. On a Siemens oven, a timer is usualy used with a program. (example: I cood a cake at 180° for 30 mins. The timer is set to 30 mins) The entity "alarmclock" is a live count down fo this timer.

Problem: this timer state is refreshing frequency is too low, so it is not a reliable way to catch the alarm signal at the end of the countdown.

Describe the solution you'd like "Jeedom" is a home automation system similar to HA with an integration similar to this one (home connect plugin). It integrates a binary field 'alarm' that is very reliable, that's why I'm not worried about the capabilities of the api to transmit the required info. A solution would be to create a binary "alarm ringing" like in this repo: https://github.com/jmvedrine/homeconnect

Describe alternatives you've considered an automation triggered when "alarmclock" == 0 an automation triggered when "alarmclock" < 10 does not work. Triggered some minutes too late Additional context Add any other context or screenshots about the feature request here.

ekutner commented 1 year ago

The entities are updated when when update events are revived from the API. If you want to react to a program end event you should listen to other types of events. BSH.Common.Status.OperationState will probably be best. If you need help with that you can ask in the the discussions forum.