Okay let me see if I am comprehending. I want to understand this, as opposed to just “hey guys will you work this out for me?”
This is roughly what I want:
Reptile Room. Daytime: Heat, on if below 85, off if above. Nighttime: On if below 77, off if above. (i.e…, maintain 77)
Bedroom. Weekday. 5am-9am. Maintain 70. 9am-6pm maintain 64. 6pm-11pm maintain 70. 11pm-6am maintain 68. Weekend. Slightly different temps and time ranges.
I select Input Trigger and create:
CurrentTempReptile
(bound to temp sensor in reptile room)
CurrentTempBedroom
(bound to temp sensor in bedroom)
Input Schedule:
ReptileDaySched Start all days of week 8am; Stop all days of week at 7:59pm
(Question: Does ReptileDaySched etc. go on same temperature sensor or do I use Input Schedule only?)
ReptilleNightSched Start all days of week 8pm; Stop all days of week at 7:59am
(the humans are more finicky
)
BedroomAMSched Start M-F 5am; Stop MF at 8:59am
BedroomDaySched Start M-F 9am; Stop MF at 5:59pm
BedroomPMSched Start M-F 6pm; Stop MF at 10:59pm
BedroomSleepSched Start M-F 11pm; Stop MF at 4:59am
BedroomAMSchedWKND Start SatSun 5am; Stop SS at 10:59am
BedroomDaySchedWKND Start SS 11am; Stop MF at 6:59pm
BedroomPMSchedWKND Start SS 7pm; Stop SS at 11:59pm
BedroomSleepSchedWKND Start M-F 12am; Stop MF at 4:59am
Conditions:
Do I need a setpoint for each one? For example:
SetPointReptileDay ReptileDaySched ? 85 : 85 (because I decided keep temperature same instead of a fluctuating range?)
SetPointReptileNight ReptileNightSched ? 77 : 77
etc?
And then I need one of these for every SetPoint I create for every Schedule? for example:
NeedHeatBedroom CurrentTempBedroom < SetPointBedroomAMSched ? 1 : 0
NeedHeatReptile CurrentTempReptile < SetPointReptileDaySched ? 1 : 0
For example:
NeedHeatBedroom SpaceHeaterSwitchOn for device with value of {(NeedHeatBedroom} <–is that syntax correct with two brackets and one left parenthesis?
And then I put the {(NeedHeatBedroom} on the advance tab value of the switch for the bedroom space heater as you demonstrated? make a similar one for the reptile room space heater?
What did I get wrong there? I feel like I lost the thread a little bit and I’m adding more lines of code than necessary.