[RELEASE] Advanced vThermostat - Virtual Thermostat HVAC control

Hi @t_rosik, glad you like the app, I will give you an answer very soon, don't have access to anything but my phone for a few days. If you search in this thread, this has been explained and I believe the line to change also. Last year I had started a rewrite using the systems virtual thermostat but that did not go as well I I had hoped. So I will be porting some of the code I had written to this version and in these changes, there is an option to change the Emergency Stop all together by setting it to 0 (don't set it to 0 with this code). I'll try to get this going this weekend and will let you know when done.

Thanks for the reply, my test at setting it to 1500 has been working great for a couple days now and will bee looking forward to testing any new versions you come up with!

feature request : Switchable Emergency On/Off option.
This driver is awesome - thank you! I use it only when I'm home (the outlet itself is disabled when mode away and mode sleeping).
It seemed to work great for a few months since I implemented -but I did have original issues with the emergency stop constantly causing it to disable for no reason I could find.
Reading about the value back then, I somehow managed to get it functional and things were good. This week - I reset my HE C7. Since then the problem is back, but seems worse.
I can appreciate the 'safety' of it - but personally, I'd like to turn it off. If an 'Emergency Stop Function" on/off switch in preferences was added it would be fantastic.
Secondarily, adding the ability to the app to have a "external switch" capable of turning on/off the child itself as a whole - would be also very nice to help cut back on some of the rule work to manage this. Here's a snip of my recent logs. I was set at '180' but it wouldn't wait 3 hrs....

I had similar issues when I set this up ages ago as I had the device set to only report on temperature change. As the temp inside rarely changed much the emergency stop would kick in. Changing the device to report on a regular basis (5 minutes for me) solved the problem.

Not sure if this will help you but decided to post in case others may find the info useful.

1 Like

@grizzlebeard Not sure if maybe what you saw was an older version or what - I ended up rewrite a chunk of the driver component - I added an extra mode so I could track the emergency stop, (and be able to pull a notification and display it as a status on my tile) then changed the maxinterval section up a bit to accommodate my desires. I couldn't get around the recovery from an emergency stop repeatedly kicking back in, so just rewrote that portion. I cleaned up a few of the log statements as well. I kept the default 180 but adjusted it to allow and accommodate a 20 hr period if I wanted to go there. (I'm set now to 6 hrs -with a warning to myself!) I think I pulled it direct from github, but maybe I got it from HPM - can't recall. I recall I added versioning and I added a couple switches for debug warn and log enabling.
I decided not to implement adding a enable/disable switch - I opted for 2 quickie rules to make sure its off if Sleeping or Away and tied that to my MC (mode Controller) I wrote. it was a fun little project and it's working and looks amazing in HD+ tiles (see my post there)

I have been using this one for a long time, but had an issue caused by the emergency stop the other day and would now very much like to be able to turn it off. @nclark do you have any news on a newer version with that option?

I have been looking for a way to notify me when emergency stop is invoked. You reference that ability in this post. Is this a branch of the vThermostat available today? Thanks.

I try not to public my customizations as public branches - however, I'm happy to share my customized version which attributes the orig code. I'm in the midst of dramatic change ATM - I moved my house yesterday. While all my things are now at the new place - it will be a few days before I get my smart world back into functional! If you can wait and remind me I'm happy to share privately.

Will do - thanks!

I was planning to get a new version out, but my screen time needs to be at a minimum because I have a rapidly deteriorating lens (cataracts) in one eye and my one good eye gets tired fast. Since my main work is on computers as a Lead/Acide and Lithium battery CAD designer for industrial machines. I'm taxing it to much already and do very limited work on the computer at home (Did try to show my wife how to program, but here computer illiterate side takes over really fast :pleading_face:).

As soon as I get my surgery done, I will be able to get back to this project.

4 Likes

Thank you for the update Nelson. Sorry to hear about your cataracts and I hope that your surgery will go well and that you will be better than new. Your main focus of course should be work and not Hubitat, although I really value your contribution to the community.

2 Likes

Hey Nick,
Sorry for your current situation. If you want, I can open a pull request to you, to add what is needed for the Advanced vThermostat to be standard and supported in the new Easy Dashboards. It is 3 lines of code:

Adding

		attribute "supportedThermostatFanModes", "JSON_OBJECT"

in the metadata, then adding

	sendEvent(name: "thermostatFanMode", value: "auto")
	sendEvent(name: "supportedThermostatFanModes", value: ["auto"])

in the installed() function.

Once these changes are made, people need to hit Configure for each device.

This is sufficient to make the thermostat work with the new Easy Dashboards.

3 Likes

hey there - I recall some time ago you were having some eye issues - hope you're improving!

I use this driver/app for monitoring an office heater and AC and it is perfect!

Feature request - could you add a section to the app for 'Modes'? Currently, I'm handling the vThermo via rules to disable when sleeping and away (I'm obviously not in my office!) The modes component feels illogical - I wanted to check it and had to figure out how I was managing it - I looked in the app for the modes until I discovered my external control via rules.
Thank you for considering!

Still waiting for the operation that should be before the end of year, thanks for asking.

Although I understand the request, this is not going to happen since this is more of an app driven driver and not a controller/scheduler. I would suggest checking out this... I believe this will do exactly what you want and is what I use to control temps for my whole house when away, during sleep and even and vacation.

1 Like

@nclark Hello Nelson! I know you are going to have your eye operated on, and you are not doing any "extra" work on the computer to save your existing eyesight, but I have a question about your thermostat app.
I have tried it and when I first setup the child app, I can set the setpoint temp just fine.
IF I try and change the setpoint, the temperature selection does not appear.
Am I doing something wrong? How would I change the setpoint after the child has been created?

I am using the app to control an attic fan and am using several temp sensors that are averaged for the temp sensor.
I also need to create a second vstat to control the fan's lo/hi speed, but that is simple right now.
Hope you are doing well!

Thanks for asking, surgery is just around the corner (in 2-3 months), had my first consultation with the surgeon that will make the procedure last week, reassured me that they do offer pills to help me relax (shouldn't have gone on youtube to see what the procedure was). Decided on the lens type that would be best for me since I'm on a computer all day doing CAD.

If you look in the device page, you will find a device in there with the same name as the child app. From there you can change settings of the thermostat like any other thermostat, you can even have it on a dashboard and control temps and turn the thermostat on/off from the dashboard.

Hope this was what you were looking for. If not post back.

1 Like

I'm with you! I have a procedure coming up (over active thyroid is wrapping around my esophagus among other things) and I saw a Cardiothoracic surgeon (she is wonderful), and of course had to look up the procedure and the rating of the surgeon (she is highly rated) BUT having an overactive imagination, came REAL close to passing out! VERY annoying to me!!!

I hope your procedure goes well, and you will probably REALLY like your eyesight afterwards!!!

YES! This IS what I was looking for! Thank you! I was trying to overcomplicate things.... sorry.

Once again... good luck!

1 Like

When you think about it, it is AMAZING to me what can be done nowadays!
And how FAR medicine has come!

1 Like

Looking over your driver/app, I really like the way you commented the different sections!
Really makes it nice to be able to see what is going on.
I am no programmer/code creator, but I do have a little experience in C++ / Fortran (THAT dates me) / Visual Basic, and can read a little code.
Just interesting to me........

1 Like

we don't go "♪♫ Burning down the house, my house, it's of the ordinary--------------- ♪♫" ok quit singing in your head already, ok but it's a good song.
FUNNY!!! Found that Easter Egg....

1 Like