Logic Machine Forum
Thermostat with auto disable function - Printable Version

+- Logic Machine Forum (https://forum.logicmachine.net)
+-- Forum: LogicMachine eco-system (https://forum.logicmachine.net/forumdisplay.php?fid=1)
+--- Forum: Scripting (https://forum.logicmachine.net/forumdisplay.php?fid=8)
+--- Thread: Thermostat with auto disable function (/showthread.php?tid=5694)



Thermostat with auto disable function - eurosting - 22.10.2024

Hello all,
I'm looking for thermostat function/script with 1-bit output. I have a electric heater in the bathroom, which controlled by MDT 1216 actor, and I have also motion detector and window sensor installed.

The idea is to start the heater (electric plug) as long:
"current temp"< "set value temp"
AND window is closed 
AND last motion detected < 1hour

Heater off (electric plug) if:
"current temp" + hysterese > "set value temp" 
OR window opened 

Heater thermostat function off if:
1) last motion detected > 1hour (in case the thermostat was forgotten)
2) OR   "current temp" > "set value temp" for more then 1 hour (in case it's too hot, but somebody enabled the heater).

It's not a PID functtion, just 1 point thermostat with some supervision.
Please advise!
 



RE: Thermostat with auto disable function - RomansP - 22.10.2024

Hello

There are several questions at this moment:
1.) Are you going to control only one electric plug with connected heater? (cause it is a bit confusing "Heater off (electric plug)" and "Heater thermostat function off")

2.) How often does motion sensor is sending the telegrams (after what time it switches off)?