ScratMan / HASmartThermostat

Smart Thermostat with PID controller for HomeAssistant
345 stars 50 forks source link

[Feature request] Optional numerical output instead of ON/OFF #6

Closed tobimai closed 2 years ago

tobimai commented 2 years ago

I have Radiator valves which can be controlled by a 0-100 percentage, so it would be nice if the Thermostat could also output these values, as I want to control the TRV with an external Sensor.

So a numerical output, basically just the value which is then converted to PWM, would be very useful in my setup.

I don't know how difficult this is, or if you are interested in this feature but I just wanted to suggest it as the problem came up for me.

ScratMan commented 2 years ago

Hi, you may use a template to get the control_output attribute in HA {{ state_attr('climate.salle_de_bain', 'control_output') | float }}

This is the output of the PID. You will still need a dummy switch or script for the heater entity.