Okay. I should be able to add that without much of a problem. I just need to think through to make sure it is easily reverted upon transition to the next routine/sequence which may not be possible. Which would mean that you would have to make sure that the next routine takes care of that change.
I’ll look at it and report back once I’ve got something to test.
Yes, this is the latest version. I’m working on an update right now to add the ability to change the minimum fan runtime per a request. Found some backend bugs that are slowing me down on that to get it out.
Not at this time and unfortunately it seems that it may not even be supported by the APIs according to the Ecobee developer site. This has been requested by several developers but there is no response from Ecobee if/when it will be exposed.
TL;DR is there any way around the new OAuth changes?
I just tried setting this up and it looks like I’m having an OAuth issue (“You are not authorized to perform the requested operation.”)
In the OAuth tab for the Ecobee Connect app, I see no “Enable OAuth in Smart App” option. In the list of SmartApps, the Ecobee Connect app has a value of “true” under the OAuth column.
A 4/29 update to this thread indicates SmartApps now need to be reviewed before OAuth is privileges are granted. I use a third party Android app, SharpTools, which recently pushed out an update, asked for reauthorization, and is now working again.
Thanks for the response. Some more info I hope will be helpful:
I followed the instructions to the letter using github integration.
OAuth is in fact enabled in the Connect SmartApp in IDE (I was originally confused because there was no enable button but the client id, secret, etc settings are there so it must have been enabled). Generating new client IDs and secrets has not helped. Display name and link are blank.
When I run the Connect SmartApp on my phone (Android) I get the authorization error on a screen which is essentially blank not counting a remove button at the bottom (which does nothing) and a back button at the top.
Despite the error, each time I run it, an “Ecobee Thermostat:TestingForInstall” device is created. Deleting these devices removes the Connect SmartApp from my phone.
I tried deleting the Connect SmartApp from IDE inorder to reinstall but I keep getting a 500 Internal Server Error.
@kspace I’ve tried to reproduce this particular issue but have not been able to. I have been able to reauthorize and reinstall without problems on multiple devices (iOS and Android). I also know of others that have been able to install as well.
The “TestingForInstall” device is a dummy device that is created to test if the Device Handlers are properly installed. If they are not being automatically deleted then the app is crashing near that point. There was a platform issue that was causing such a crash that should be resolved now, but that still doesn’t explain the authentication issues you are seeing.
This has taken a LOT longer to implement than expected. This is for two reasons:
Updating the “fanMinOnTime” changes a “setting” on the thermostat so any changes are permanent until changed again, it isn’t tied to a program, etc. So I have to deal with being able to undo the change as well for certain modes
This is the main reason, though, I found several platform issues along the way and new bugs were introduced during the recent client updates. So fighting with the platform is making this a bigger chore than it really needs to be
I’ve made some good progress in my development branch and am able to change the fanMinOnTime through tiles and a Routine change. Right now I’m working to get the resumeProgram functionality working properly.
I updated the two SmartApps from the repo yesterday and tried again. Connect on my phone was no longer blank, had all the expected actions listed. Tried to authenticate to ecobee and got an error. I can’t remember what it said exactly but it sounded like a token issue so I reset the client ID and secret in IDE and now everything works just fine.
Not sure if it was the update that did it or a coincidence, but either way thank you.
Thanks for your work. I actually have an Ecobee Smart with 2 remote (wired) temp sensors, and a fresh air ventilator. I’ve grabbed your device and have it working with my setup. Obviously it says motion is not supported, but since the Ecobee API is consistent, everything else works.
I’ve skimmed the thread a little, but are others working with non-Ecobee3 setups? I’m interested in digging in and seeing if I can contribute.
Routines stopped firing for me, after a couple of days of the authentication getting kicked out several times. Now the smart app wont let me edit the preferences or the Helper Smart Apps. I tried to Remove ecobee (Connect) but i get “An unexpected error occurred.” message.
I know of at least one other Ecobee Smart user. I made changes to accommodate their hard wired sensors. Some other tweeks that could probably be made depending on the configurations.
Deleting should NOT be your first reaction to problems. In many cases the issues are being caused by a platform issue, so trying to delete the apps will often compound that problem if the system issues are still ongoing.
For those of you that are having disconnect issues, I need more data to pinpoint what is causing the issue! So please either grab the data from the live logs or set debugging to Level 5 in the SmartApp Preferences and when you get a disconnect please grab the information from the debug console in the SmartApp please.