I'm trying to set up the Thermostat controller App to control my home thermostat based off the average temperatures of several sensors I have throughout my house and I am a bit confused on how to get this App to work correctly.
What I am trying to achieve is, when the average temperature drops below 69 degrees I want to heat to turn on and when the average temperature goes above 72 degrees I want the AC to turn on.
I also would like more info on what each of the boxes mean. currently if I'm reading things correctly it looks like my Controlled Thermostat (so I'm guessing that is my real thermostat thats in my house) should be set to 77 degF with a current temp reading of 71, it should be in Heat mode with Fan set to Auto (I'm not sure what the State Idle means) and it is being controlled by this App.
but when I look at my actual thermostat the mode is OFF and it is currently reading 71deg F
so why is my heat not turned on and set to 77?
ok cool now things are making sense sorry if it took me a while for things to finally click.
So since I'm trying to keep my house around 70 degrees I should have my Hysteresis set to 1.0 and Heating set point to 70 so that when the average temp is 69.5 or lower the heat turns on and it'll stay on till the average temp reaches 70.5. The Cooling setpoint should be 72 so that when the average temp is 72.5 or higher the AC turns on till it drops to 71.5?
for the Control Offset what is normally a good value for that?
This is what i currently have in my app and my thermostat is still saying its turned off. any idea why the stat is still Idle? and my thermostat is turned off?
That depends on how wide the temperature variation is between the controlled thermostat's temperature measurement and the other sensors. It has to be large enough to span that gap. It forces the thermostat into heating or cooling by adjusting its setpoint way beyond what you are shooting for.
As for its present state, refresh the page. It's hard to believe your thermostat won't begin heating with its setpoint at 75 and the temperature at 71.
ok yeah that State of Idle is what really has me confused now. I think once I can get that to change somehow things should start working the way I'm wanting them to, but I just can't figure out how to get it to change Idle when it looks like it should be heating mode, I'll manually change it over to heat for now to see if that gets things going and working.
OK i believe i got it working or at least figured out all the parameters. But I seem to be running into an issue. I have a HoneyWell Wifi TCC Thermostat connected to Hubitat using the Total Comfort API that csteele made.
The issue I seem to be having is that even tho I have it set up to change between Heat and Cooling, my actual thermostat doesn't seem to change.
I've checked the logs and it looks like according to the Logs it sends Set Heat when I check my actual thermostat the state doesn't change from cooling to heating.
I think you don't want the Controller Thermostat to be in Auto mode, but rather in whatever mode you want the Controlled Thermostat to be in. For most applications, thermostat mode changes very infrequently, sometimes only seasonally. So you need to figure out how/when you want the Controller Thermostat Mode to change. You can also just set the thermostat mode on the Controlled Thermostat, and doing that would update the Controller Thermostat. This app does not manage thermostat mode itself.
ooo ok I thought by putting the controller into Auto Mode it would switch from AC to Heat as needed to keep a constant temp in the house.
My house is weird (poor duct work and or insulation I guess) and especially in the fall and spring Id like the ability to switch between AC and Heat throughout the day (but ideally all year round Id like this ability) that way I can keep the Nursery a comfy temp and not have to worry about switching from heat to AC (or vice versa) manually
do you know if there is a way maybe using Rule Machine or something that I could possibly achieve this?
Ok cool thanks in ST im able to write an automation that changes the mode and temp based off 1 temp sensor I can't take an average of sensors and use that. So I was hoping there was a way to do it in Hubitat, if not O well i'll just do it the old fashion way set the mode manually
There are plenty of regular averaging apps available... including ones from Bruce:
I wrote an averaging app for myself that does this using weighted averaging. It just means that the most recent value pushes the average around more than the value received an hour ago. It puts the average values into a virtual sensor and since it's just a device, you can use it anywhere.
ok cool thanks yeah I've been messing around with that App, I guess then my best option would be to use this to find the average and then have this virtual sensor activate a routine in Alexa and get her to change my thermostat for me
That's a subjective conclusion that I can't argue with, but I can offer alternatives.
I have three child averaging devices configured.. Upstairs, Downstairs and Whole House. These days I'm using Whole House's average to compare to the setpoints pulled from the Thermostat. If the Whole House Average is above the Cooling setpoint then I send "cooling" mode to the Thermostat.
And if the Whole House Average is below the Heating setpoint then I send "heating" mode to the Thermostat.
The temperature sensors themselves only update every 5 mins, and thus the Average can only change on any single Event, the HVAC is not constantly cycling. I've also added in a Hysteresis number, which happens to be Zero, in case I ever need to decrease the cycling. Additionally, in deference to my wife, I have a specific window sensor tied in to prevent any Thermostat commands when the window is open. Her normal "we need fresh air" routine is to open a specific set of windows and walk to the thermostat and shut it off. Now all she needs to do is open that window.
Mostly my routines mimic what I could do today in Thermostat Controller and Scheduler but I did all this before those were available.
The controlled thermostat needs to be stopped from calling for heating or cooling when the target temperature is reached, so that it's operating state becomes 'idle'. There are two ways to do this: (1) Push its setpoint way down (or up for cooling) so that it no longer calls for heat. (2) Turn its thermostat mode to off.