28.12.2022, 22:52
Hi folks, can anyone suggest (or kindly give a snippet) how to create a simple thermostat script?
The idea is to have 3 GA - current temperature, setpoint temperature and control valve (1 bit output).
And turn on/off the output control valve depending on the current temperature and setpoint values with a given hysteresis (e.g. 1 degree).
The idea is to have 3 GA - current temperature, setpoint temperature and control valve (1 bit output).
And turn on/off the output control valve depending on the current temperature and setpoint values with a given hysteresis (e.g. 1 degree).