I'm trying to see how I can adapt the existing 5-2 thermostat code I've written to run off an EXTERNAL temperature sensor.
So my kid sleeps in a room that's pretty far from the thermostat and it's always colder in his room that what the thermostat reports. I want to the thermostat to turn on/off the HVAC based on the temperature sensor (monoprice) in his room.
My issue is that the thermostat can be programmed with a temperature and it basically takes over from there.
Can anyone point me in the direction on how logically this should work? How can I turn on/off the HVAC based on the the temperature taken from a sensor in a different room? One solution I'm thinking would be to set the thermostat to 90 degrees and set to heat when temperature is low and vice versa for cooling. The problem I see here is that it's basically running off the smart things cloud and if the internet goes down or cloud goes down the HVAC gets stuck in on or off mode.
What other ways can I control the HVAC using a remote temp sensor?