@SylvainGa wrote:
Hi, so this is my next step in home automation and need help again.
I have set up my thermostats (baseboard heating) to start at a specific time of day depending if it’s a weekday or weekend and if the person is present or not. This is working fine. Now I want to take it a step further.
I want to adjust the start time based on the outside temperature. Colder it is (living in Canada so it can get pretty cold), sooner it will start so by the time the person has to get up, the room will be at a comfortable level.
I haven’t used template enough do figure it out. I want to do something like this (in C syntax):
start_time_in_minutes + (outside_temp < 0 ? -outside_temp * 2 : 0)
So if start time is 6:00:00 (360 minutes from midnight) and the temperature is -15C, it will start at 5:30:00 (360 + (-15) * 2 = 330)
Can it be done?
Thanks
Posts: 9
Participants: 2