[OBSOLETE] Thermostat Manager - An alternative to Thermostat Mode Director

@jmarkwell
That sounds great. Really appreciate your time and knowledge on this. Looking forward

Awesome!!!

@Dr_Crimper, just wanted to tag you on the upcoming update. I think it might work for you as well. I expect to be able to release it later this week.

1 Like

@Dr_Crimper @hsbarrett @troy_owens @Tony_Flippance @Andremain

NEW BUILD: 2021013101

  1. Adding support for thermostats that do not have capability.thermostat. Special thanks to SmartThings Community member, @orangebucket for helping me iron out some of the kinks.

This build should allow at least some of you guys who are having post-SmartThings-app-update issues selecting your thermostat inside of the Thermostat Manager smartapp. This build adds an, ā€œAlternative Thermostat Configurationā€ page in which you can choose to use an alternative way of selecting your thermostat’s capabilities. I’ve built in a way that this update will work for everyone even if the old capability.thermostat works for you. There is a slider inside of the Alternative Configuration page that is disabled by default that if enabled, will tell Thermostat Manager to use this alternative configuration.

I suspect that some of you may still have problems after trying this update. If you do, please let me know and we will deal with them as they come. I’ve tested this build (using both the standard and alternative configuration methods) the best that I could using my own home system. Fortunately, my personal home thermostat has an open source device handler that can handle both types of thermostat configurations, although my thermostat is not cloud based.

I hope this works for you guys! Let me know how it goes.

@jmarkwell
First, thanks to you and @orangebucket for all of this. It is much appreciated.

Loaded the new code, all shows up, and set the alternative config, and toggled it on. Set the other parameters. Unfortunately, I cannot click ā€œdoneā€ (it is not highlighted) in order to activate the app. I could be missing something, but I have checked myself a few times. Sorry for the hassle

2 Likes

@hsbarrett

I think I know why! Give me a few and I’ll upload a fix.

@Dr_Crimper @hsbarrett @troy_owens @Tony_Flippance @Andremain

NEW BUILD: 2021020201

  1. Selecting a capability.thermostat device is no longer a required preference item. Thanks to @hsbarrett for pointing this out.

Not sure if this was to allow google/nest but mine still don’t show up

@Tony_Flippance

And you tried the alternative configuration?

yep, they all say no device found, it shows my motion sensor and my hacked wink relay

Same for me

@Tony_Flippance

Okay - I’ll see if I can find some code relevant to the Google Nest device handler and figure out what’s up.

so the other thing i noticed… when i look at devices in IDE, i don’t see it there either, but it in the smartthings app. FYI this would be the best thing ever… i had all this wrote as custom rule working great fro years with wink before they broke it and this was one of the biggest things i use in my house along with simple rules of if a door or window is open for longer than 10 min turn off the AC ect.

1 Like

@troy_owens

If you had the problem that @hsbarrett had, I just fixed that. Check for another build update. I uploaded it just a few minutes ago.

@jmarkwell
All appears to be loaded and responding! Doing what tests I can do from a far (I am not where the system is). Hope to be able to do a full test this weekend. Will let you know. Again, thank you

1 Like

@Tony_Flippance

It appears that there is some sort of incompatibility between SmartThings and Google Nest’s API that makes it impossible to use smartapps currently. I came to this conclusion because:

  1. When I looked for code for the Nest thermostat’s device handler, not only could I not find any, but I also couldn’t find any smartapps that currently work with it.

  2. I found this in the forums:
    Nest Thermostat with Groovy SmartApp

  3. I looked up a how-to on integrating with Nest and the guy in the video specifically says that Nest currently doesn’t support SmartThings smartapps:

I don’t have any Google devices myself so I can’t really verify any of this, but it looks pretty solid. If you have some information to the contrary, let me know and I’ll try to work around any issues that I can.

Sorry for the bad news.

no prob, ill keep an eye out they only added integration a few weeks ago.

@jmarkwell and @orangebucket thank you very much for this. I will be installing and providing feedback shortly :slight_smile:

I have just installed the smartapp but i cannot see my thermostat.

Can you please make sure it works with this one?

I have removed the old and deprecated capability ā€œthermostatā€. Any chance you could support those? Or do i need to do something to get mine to appear inside your app?

Thanks again.

*Sorry! Never mind just saw the alternative thermostat configuration option which does see my thermostat. My fault.

2 Likes

Hi,

I am completely new to ST and these SmartApps.

Does your Thermostat Manager have a way to implement this or can I add this as a request? Btw, this is to monitor a vacation home in the mountains, not needed for your personal residence where you would start to feel it get colder or hotter while home.

I want to be notified if the heat or AC appears to be not working. How I do this manually is I login to ST and look at the temperature. If it is more than a degree off of the setpoint temperature then my spidey sense goes off and I watch it like a hawk. If the room temp does not reach set point or move in the right direction toward the setpoint within an hour or so, then I know I have a problem and I call a repair guy. This is far better than waiting until an absolute temperature is reach like say 50 degrees or 80 degrees. Both of which would tell you that there is a problem but once you hit 50, if it happens to be at night on a weekend, you may not find anyone for 2 days to come out.

Here’s some psuedo code

int iTemp; // Current temperature on the thermostat
int iSetPoint; // Current setpoint temperature on the thermostat
int iVariance; // How many degrees below setpoint in heat mode or above setpoint in cool mode
int iMode; // value that represents thermostat mode HEAT, COOL, OFF, AUTO

// would need to write some code for AUTO mode to set the correct mode based on set point and temp

/* would also need to figure out a way NOT to set this off if for example the setpoint was at 60 and the user or the app changed the temp to 68. That would set off the code below so there would possibly need to be a check of ā€œiLastKnown setpointā€ and if that changed from the current setpoint then you have to give it some time interval where you don’t alert
*/

if ( iMode == HEAT ) {
if ( iTemp <= (iSetPoint - iVariance) ) {
// Send warning that furnace may not be working
}
return; // bail here before hitting cool mode check
}

if ( iMode == COOL ) {
if ( iTemp >= (iSetPoint + iVariance) ) {
// Send warning that A/C may not be working
}
return; // bail here before hitting off mode
}

// if you are here, the iMode == OFF
return;