Temperature scene help

Hello, i’m trying to setup a scene using PLEG to have my nest thermostat keep my toddler’s room at least 22C overnight. I have an aeon 4-1 sensor in his room. His room is normally 2-3 degrees colder than the rest of the house.

Here is what i have currently

Device

Baby’s room temp low = Whenever the Temperature Sensor temperature goes below 20 degrees

Schedule

sNight = m,t,w,t,f,s,s from 10pm to 6am

Conditions

Night_Heat_On = Babys_Room_Temp_Low and sNight

Action

Night_Heat_On = Nest set to “heat” and 22C

So far its not working,am i missing anything?

Thanks for the help!

If the room where NEST is at is already at 22 deg … the baby’s room will not get anymore heat … you may want to set the house to 24 to get the baby’s room to 22.
Or maybe get a duct fan booster and control it with PLEG.

I have something like this in my house. Tomorrow I will try to write it up in detail.

The short form is I have triggers for hot/warm/cool/cold in the two rooms. The cool/warm are for the “home” times, hot/cold are for “away”

I have an “AC on” condition when either is warm (home) or hot (away). The “AC off” is when all are not hot/warm. The “Heat on” variant is similar but triggered by cool/cold.

“Heat on” sets the mode to “heat” and sets the target as high as i would ever want to go. AC on sets the mode to cool and as low as I would ever want to go.

Its a bit more complicated as I have day/night logic and a check of outside temps & humidity to use the blower but not heat/ac.

My CT101 thermostat is downstairs, my bedrooms are upstairs so they are always hotter. I don’t want to cook at night and also don’t want the pets downstairs to freeze.

I’ve added a 4-in-1 sensor in my bedroom. The thermostat will be “ds” and the 4-in-1 is the “br”. Yeah, I’m that simple.

I’m using the weather underground plug in to poll a weather station about 3 miles away and that is stored in out_temp and out_humidity.

input triggers
[table]
[tr] [td]br_cold[/td][td] br temp< 65 [/td][td] [/td][td] ds_cold [/td][td]ds temp< 63[/td][/tr]
[tr] [td]br_cool [/td][td] br temp<73 [/td][td] [/td][td] ds_cool [/td][td] ds temp<65[/td][/tr]

[tr] [td]br_warm [/td][td] br temp> 77 [/td][td] [/td][td] ds_warm [/td][td] ds temp>75[/td][/tr]

[tr] [td]br_hot [/td][td] br temp > 83 [/td][td] [/td][td] ds_hot [/td][td] ds temp>80[/td][/tr]

[tr][td] iswarm [/td][td] outside_temp>70 [/td][td] [/td][td] out_not_humid [/td][td] outside_humidity<50[/td][/tr]
[/table]

schedules
[table]
[tr][td]is_night[/td][td]mon-sun, 17:30-06:00[/td] [/tr]
[tr][td]weekday[/td][td]mon-fri, 06:00-17:30[/td] [/tr]

[/table]

conditions
I probably have waaaay too many conditions but I’m still tweaking the “right” temps. This means I don’t have to update all the conditions that share logic.

[table]
[tr][td]weather_old[/td][td]NOW;out_temp>1:00:00 [/td][td] checks to see if internet weather data ismore than an hour old[/td] [/tr]

[tr][td]out_cool[/td][td] out_not_humid and (out_temp < ( thermostat_temp -5)) and ! weather_old[/td] [td]trips when outside weather is current, cooler than outside, and not humid[/td] [/tr]

[tr][td]out_warm[/td][td]out_not_humid and (out_temp > ( thermostat_temp +5)) and ! weather_old [/td] [td]trips when outside weather is current, warmer than inside and not humid [/td] [/tr]

[tr][td]fan_on_cool[/td] [td]((week_day and (br_hot or ds_hot)) or (br_warm or ds_warm)) and out_cool[/td] [td][/td] [/tr]

[tr][td]heat_on[/td] [td]((week_day and (br_cold or ds_cold)) or (br_cool or ds_cool)) and ! out_warm[/td][td]turns heat on when the outside weather is not warm AND 1) a room is cold during weekday-days or 2) when a room is cool during all other times [/td] [/tr]

[tr][td]fan_on_heat[/td][td]((week_day and (br_cold or ds_cold)) or (br_cool or ds_cool)) and out_warm [/td] [td]uses the blower to heat the house[/td] [/tr]

[tr][td]Temp_good_wkday[/td] [td]week_day and ! AC_On and ! Fan_On_Cool and ! Heat_On and ! Fan_On_Heat[/td] [td]triggers when house is comfortable during weekday - activates “weekday” scene[/td] [/tr]

[tr][td]Temp_good_Night[/td] [td]is_night and ! AC_On and ! Fan_On_Cool and ! Heat_On and ! Fan_On_Heat [/td] [td]triggers when house is comfortable during night - activates “night” scene[/td] [/tr]

[tr][td]Temp_Good_wkend[/td] [td]! week_day and ! is_night and ! AC_On and ! Fan_On_Cool and ! Heat_On and ! Fan_On_Heat[/td] [td]triggers when house is comfortable during weekend days - activates “weekend” scene[/td] [/tr][/table]

Actions
[table][tr][td]AC_on[/td] [td]sets AC cool temp down to 70 & mode “cool”[/td] [td]note that 70F is 5-7F cooler than the triggers[/td] [/tr]
[tr][td]fan_on_cool[/td] [td]turns blower on[/td] [td][/td] [/tr]
[tr][td]fan_on_heat[/td] [td]turns blower on[/td] [td][/td] [/tr]
[tr][td]heat_on[/td] [td]sets AC heat temp to 77 & mode “heat”[/td] [td]note that 77F is 4-14F hotter than the triggers[/td] [/tr]

[/table]

Scenes
I have 3 scenes for the normal programmable thermostat conditions (week day, nights, weekend days). these are here in case the 4-in-1 dies on me. Why yes, I do like redundancy, why do you ask?

[table]
[tr][td]Night[/td] [td]trigger: PLEG_Temp_good_night[/td] [td]“normal” night program[/td] [/tr]
[tr][td]Weekday[/td] [td]trigger: PLEG_Temp_good_wkday[/td] [td]“normal” weekday program[/td] [/tr]
[tr][td]Weekend[/td] [td]trigger: PLEG_Temp_good_wkend[/td] [td]“normal” weekend program[/td] [/tr]
[/table]

Wow some great information there. Thank you very much for taking the time to write this. I will certainly steal some of the language!!

Thanks

I managed to forget the a.c._on condition. Here is the rule I have for it.

((week_day and (br_hot or ds_hot)) or (br_warm or ds_warm)) and is_warm and ! out_cool