[RELEASE] Advanced vThermostat - Virtual Thermostat HVAC control

Using this app/driver for floor heating is not something I would recommend at all, floor heating is an all other thing and the thermostat needs to be able to monitor the floor it self with an imbedded temp sensor in the floor for even bigger safety reasons.

It is your house but I would stop using this for your application right away, it was not designed for this use at all.

A thermostat designed for this will be able to disregard room temp not going up fast enough because the "safety feature" is in the floor temp sensor making sure it is not going over a certain safe temperature.

is no problem mate. The heater heats the water temp at 40C so the floor never goes above 30C, there's no need for any sensor in the floor, the heater has its own thermostat and safety precautions , thanks for the concern tho :smiley:
what I do need is to decrease the threshold a bit since temperature still goes up after is off since the floor is still hot for awhile and i left the emergency stop to 3 hours since i increased temp frequency now
The thermostats are linked to my water valves that close/open the water circuit to the rooms and my heater gets on if any valve is on or off when all valves are off, it works really nice

ok it's a liquid floor heating system, I'm used to electric floor heating here in Quebec because Hydro Power is so cheap, most people just use electrical heating. ok, so in this situation it would not be a problem, I was looking at some code to predict how fast the room is heating and stop heating by predicting it. I know this is not what is needed for this application but maybe I could try and figure out overshoot and try to prevent it. This will be hard to do but with sensors that report often (time wise instead of temp wise) this might work.

I don't have time for this right now but I could add a switch in the settings (child app) and disable the security feature when used in conjunction with liquid floor heating systems (or at least a hidden switch in the code so that you can disable it for your application instead of changing the safety timeout).

I've just installed this and set it up and things are running pretty well, but I have one issue.

When I add it to my google account and try update the setpoint, it doesn't 'save'. I can control on/off etc, but setpoint can only be done directly in hubitat, not via the google home app. Any ideas? :expressionless:

@zukand, another user is having similar problems with Echo Device, yet I'm not having the problems at home, I tried it our with Echo and all is ok, my daughter tried it on her Google device and all worked as expected. Yet some users are having varying problems that I just can't pin point, kind of weird since all the functionalities of a regular thermostat are implemented and working behavior.

I would really love to be able to help on this one :frowning:

Just tried setting it up again, same issues. It does save if I have it on "auto" mode. (so i can set heat and cool setpoints) But I don't normally run my A/C on auto as it functions better without.

I also noticed that it seemed to be triggering my heater to turn off constantly. (I'd turn it on, a minute later it would turn off). I might try a fresh install and have more of a play..

EDIT: I think I understand the on/off thing. Its acting like a real thermostat. My A/C actually ramps up and down when it approaches temp, and tapers off to 10% power before going into standby. Is there any way of stopping the vThermostat from turning off the heater/air conditioner when it hits temp? i.e. I'd like to use it solely for setting temp and modes. For now I've just removed the heating and cooling 'outlets' and that seems to have done the trick. Last step is just getting this temp to stick!

My problem is a bit bigger the Echo give error once i add the vThermostat.
I have made a workaround, i have add a native virtual Thermostat and mirrored the settings and themperature on it

Hey all, is there a way to change the minheattemp value from 1.5? I understand that it is a failsafe for freezing temps, but I am using this in a detached garage and only want the heat to come on at -5 sometimes. as far as I can see, this is not possible.

Thanks for any help

Only way is to change the setting in the drivers code (Advanced vThermostat Device) on line 60. Once this is done you will have to remove the existing vThermostat instance (garage) and then create a new instance that will be programmed with the new minHeatTemp setting.

If you use it elsewhere I would recommend setting it back to the default setting, updates should not affect this setting once the instance created.

@ady.adrianu, don't worry did not forget about this, I did changes to the code like you suggested but on fast heating systems, I'm overshooting by 1 degrees many times a day (asking 20C it will stop heating when it gets there like expected, but I often get a new temp report with 21.xxxC or close to it.

So I finally found a way to predict when it will reach the expected temperature and stop before I get a temp report from a sensor. Each time I get a temp report I calculate the heat/cool rate based on temp and time. I'll be testing this code for a week and see if the numbers are consistent and publish it if successful, but it's looking good on paper. I think I might need to average out these rates over a day or so to be consistent.

2 Likes

i just used a smaller threshold since my heating system has a slow start and continues to heat after its stopped. I tried 15 degrees with 0.2 threshold and it usually doesn't go above 15.5-15.7 depending on the room

1 Like

Would it be possible to integrate modes into the thermostat so that only certain temperature sensors are used during certain modes and maybe even only certain heating and cooling elements are used during certain modes? I know ecobee thermostats can do this kind of thing with the temperature sensors so this would be a cool addition.

Use case: During sleep/night mode only look at the bedroom sensors and only control the bedroom heating/cooling elements.

Obviously this could be achieved with multiple instances of this app, but imo that will get messy very quick.

Sorry, but no plan do add this kind of functionality built in, this is only meant to be like a regular thermostat (but virtual) and that's it. Just like scheduling that is added to it via Thermostat Scheduler, you might be able to get that kind of functionality by using Thermostat Controller that is built in HE, don't know if it incorporates modes but you might ask if it could be added if it's not already included.

Any chance of adding a circulate fan outlet/control? Reason being is that I would like to integrate the HVAC blower to come on if temperatures are more than 5 degrees apart among sensors throughout the house. I know this can be done with the rule machine, but would like to use the control buttons in the dashboard panel for thermostat as well.

Yes I was planning on adding fan control support in the near future, I'm being swamped at work right now and barely have time to work on this. As soon as I can get it implemented, I'll let you know, I was thinking of having it turn on when heating / cooling turns on and turn off an x amount of time after that. I was not planning on having more controls than that on the fan for now (just like a regular advcanced thermostat).

I have seen analysis that shows that running the fan in circulate mode is not very effective at equalizing temperatures. In other words, given the heat capacity of air, the airflow rates, and the temperature differences, the rate at which heat is moved from the warm areas to the cold areas is negligible.

I have been happily using this for my Thermostat needs and syncing to Google Home, but now it seems that the thermostat cannot be controlled any longer with Google, not by voice nor by screen.

I can still control it via my dashboard and the resultant change will be reflected near instantaneously in Google, but all changes made directly in Google home will briefly show, but then "roll back" and no change is made. You can see this behaviour here in this video.

Do you have any idea what might be going on here ?

Hi - I'm looking for (or looking to develop myself if I can't find one pre-made) something that will let me play with "comfortable temperature" calculations based on things like outdoor temperature, humidity, etc. A naive heat index calculation would be a start, but I'd like something with a little more flexibility.

Is that a feature you might add to this anytime soon? Can you recommend anything along those lines?

Just found @JohnRob's dew point calculator and it looks like it is very close to what I want. I may still tweak it a bit, but it probably will address by basic needs.

(My first app and how I stumbled through it (long read))

1 Like

This is kind of weird, I have it working perfectly with Echo devices and/or google mini and yet some users just can't get it to work, now you come here with he Google Home not working and to tell you the truth I'm stumped on this one, nothing changed on my side of the code, I have all the required methods in my code (even if it's not doing anything for some), works for some, doesn't work for others. I would really like to help on this one but I just don't know where to go to do that.