Jalle19 / eda-modbus-bridge

An HTTP/MQTT bridge for Enervent EDA ventilation units
GNU General Public License v3.0
15 stars 3 forks source link

Add support for alarms #31

Closed tomrosenback closed 2 years ago

tomrosenback commented 2 years ago

There is a number of different adresses for different alarms. These should be exposed to the MQTT / HTTP API aswell. The alarms might need some special handling to make the visualization logical in HA. Preferrably it would be one binary sensor or switch for each alarmtype described

Hälytys numero, 1=TE5 Tulo LTOn jälkeen kylmä, 2=TE10 Tulo lämmityspatterin jälkeen kylmä, 3=TE10 Tulo lämmityspatterin jälkeen kuuma, 4=TE20 Huone kuuma, 5=TE30 Poisto kylmä, 6=TE30 Poisto kuuma, 7=HP vika, 8=SLP vika, 9=Paluuvesi kylmää, 10=LTO vika, 11=Jäähdytys vika, 12=Hätäseis, 13=Palovaara, 14=Huoltomuistutus, 15=SLP painevahti, 16=Tulosuodatin likainen, 17=Poistosuodatin likainen, 20=Tulopuhallin painepoikkeama, 21=Poistopuhallin painepoikkeama

Question is if one would need to reset the alarm through the API aswell, maybe not, then a binary sensor would be sufficient.

tomrosenback commented 2 years ago

A followup PR to this is #37

tomrosenback commented 2 years ago

Resolved with PR #32 and PR #37