Welp, programsList is not under Current States at all. I’m gonna go ahead and guess that isn’t normal.
Ecobee Suite Thermostat is 1.4.07, and both entries under My Device Handlers are the newest update and Published.
Should I go ahead and remove the entire suite and install again from the beginning?
Also thank you so much for replying back so quickly and supporting this app. If I can get this to work it looks to be leaps and bounds better than the last app I was using to change comfort settings.
So far so good on the currentProgram and currentProgramName. My 3:30 program change on the Ecobee showed up in SmartThings at 3:30. Let’s see if the overnight events also come in time and then I think we have a winner. Thanks for all your help with this.
Also I did resave my schedule in Ecobee before applying your changes.
Did you edit and re-save the Awake and Sleep schedules? The code doesn’t do anything differently for different Programs. Also, please double-check that currentProgram and currentProgramName are the same.
You may also need to edit EVERY occurrence of your schedules - edit then copy/paste to the other days. At least, that’s what I did and none of my scheduled changes have been missed for 2+ days on 5 different thermostats (and I did edit the schedules on every single one).
I’m pretty sure it’s an Ecobee issue, as the only explanation I have is that the thermostat and the Ecobee Cloud are working on different versions of the schedule - they’re out of sync somehow. What gave it away was when I started getting currentProgram change notices 5 minutes BEFORE the scheduled change - but only on 1 thermostat - the rest were all up to 55 minutes late. Edit/save, and so far they are all now back in sync.
If you turn on Live Logging at debugLevel 3 or 4, and let it run through a scheduled transition, you should be able to see in the log for Ecobee Suite Manager the first time that the code sees the program change (it checks for a change every single time it does a poll - search for “currentProgram” in the log). The log for the thermostat itself should also show you when it actually updates the state/value of currentProgram and currentProgramName.
Yes I agree there is something gong on with Ecobee. The logs state that the change happened 22 minutes after the actual schedule went into effect on the Ecobee.
I have deleted all my schedules and re-added them back over the weekend as you suggested. But the problem still persists. I am going to create some “fake” schedules and see if those have the correct times on them as a test. I never touch the thermostat do all the changes though the web site. Also I have checked the schedules in the thermostat and they match the web portal. The only option left I think it so contact Ecobee and they haven’t been responsive lately to service requests. Been waiting 8 weeks for them to replace a defective sensor. Lastly there is the “factory reset” which will lose all the house telemetry for rate of heat/cool for smart heating and cooling.
Thanks again for all your help here. Bellow is the current program names:
Here are the results of deleting all my programs from Ecobee, deleting custom comfort settings, re-saving built in custom settings (Home, Away, Sleep) Adding Away, Away 2, and Away 3 custom comfort settings back. Scheduling Away 2 at 10:00, Away 3 at 10:30, and the build in Away for 11:00. As you can see that the 22 minute delay is still there, away 3 didn’t even show up. Any recommendations on how to get in contact with a support person at Ecobee? The ones you get on the phone are not very technical other than for installing and initial setup.
I too am still having trouble with mine. My programs are firing on time on Ecobee (both thermostats have the same schedule), but under currentProgramName it doesnt’ reflect the change until 18 minutes late for me.
I took the chance to remove remove all the devices from SmartThing that Ecobee suite created, removed Ecobee Suite SmartApp, De-register it from my Thermostat with the idea of re-applying it to SmartThings and now when I go for the API registration I am getting a Java Lang exception.
@ssilence - have you tried editing & re-saving your schedules on the thermostat or in the Ecobee web/mobile app?
I suspect that there is some issue with the Ecobee Cloud’s perception of when the scheduled program is supposed to start/end, since you can’t set a schedule to start/stop at anything other than on-the-hour, or on-the-half-hour.
If you want to double-check my code, turn on debugLevel 3 or higher and run live logging on Ecobee Suite Manager during the time the schedule is supposed to change. You should see a LOG entry for the currentProgram, currentProgramName and currentProgramId for every poll.
If you see a log entry that changes at the right time, but the change doesn’t get sent to the thermostat to update its Attributes, let me know…
Must be an issue on Ecobee’s side. I see the application being registered in my user portal but no way to reconnect the SmartApp due to this exception being thrown.