bj00rn / ha-saleryd-ftx

Home assistant integration for Saleryd Loke FTX
MIT License
5 stars 0 forks source link

More sensors! #49

Open Fettkeewl opened 1 week ago

Fettkeewl commented 1 week ago

Is your feature request related to a problem? Please describe. I'd like to be able to automate and configure UI based on the value of

Describe the solution you'd like Create 4 new sensors that display the state of the above mentioned data (or make the heater a switch if possible, that is "unavailable" unless maintenance PW is provided)

Describe alternatives you've considered I've manually set temperatures for the different modes in UI elements, which requires manual syncing with the settings in my LOKE-01

Additional context Add any other context or screenshots about the feature request here.

bj00rn commented 1 week ago

Services for target temperature are implemented in v4 release

I've been a bit reluctant to expose stuff from maintenance page until now, the potential for user to f**k up and potentially destroy the house with mould by overpressure. Disabling the electric heater may cause the system to shut down if supply air temperature alarm triggers, leaving the house without ventilation. The initial scope of the integration was not to alter the system settings.

Another issue is flash wear on the system if the configuration is altered frequently I'll consider it though.

Fettkeewl commented 1 week ago

I've been a bit reluctant to expose stuff from maintenance page until now, the potential for user to f**k up and potentially destroy the house with mould by overpressure.

In regards to this I understand you if we are talking control-ability, but purely for sensor use then it's no issue right? :)

bj00rn commented 1 week ago

I've been a bit reluctant to expose stuff from maintenance page until now, the potential for user to f**k up and potentially destroy the house with mould by overpressure.

In regards to this I understand you if we are talking control-ability, but purely for sensor use then it's no issue right? :)

Correct! The websocket connection streams all values including installer/maintenance configuration every few seconds to the client, the integration is just listening in on the data and exposing the values as sensors in HA.

I believe changing stuff like vent mode etc is not persisted on the device and (hopefully) shouldn’t cause any storage wear.

Installer settings on the other hand, are persisted to flash. From the specs of ESP32 (if this is the case) the device should be good for around 10k-100k writes to flash.