@mhilbush
Mark,
First off, thank you for the work in v2. I upgraded my install from 2.5.4 to 2.5.5 over the weekend, and took the opportunity to update the Ecobee binding from v1 to v2. The efforts have been minimal, and so far everything seems to run smoothly. There is a one thing I noticed that I want to bring to your attention. Not sure if this is a bug on my side.
I have 2 items defined as follow:
DateTime Ecobee_lastModified_UTC { channel=“ecobee:thermostat:account:xxxxxxxxxxxx:info#lastModified” }
DateTime Ecobee_runtime_lastModified_UTC { channel=“ecobee:thermostat:account:xxxxxxxxxxxx:runtime#lastModified” }
When I looked at the event log, I noticed a behavior where Ecobee_lastModified_UTC is changed back and forth at the same time. No issues were observed with Ecobee_runtime_lastModified_UTC.
2020-06-06 14:40:28.510 [INFO ] [smarthome.event.ItemStateChangedEvent ] - Ecobee_lastModified_UTC changed from 2020-06-06T19:37:11.000-0000 to 2020-06-06T16:41:50.000-0000
2020-06-06 14:40:28.510 [INFO ] [smarthome.event.ItemStateChangedEvent ] - Ecobee_lastModified_UTC changed from 2020-06-06T16:41:50.000-0000 to 2020-06-06T19:40:11.000-0000
2020-06-06 14:40:28.510 [INFO ] [smarthome.event.ItemStateChangedEvent ] - Ecobee_runtime_lastModified_UTC changed from 2020-06-06T19:37:11.000-0000 to 2020-06-06T19:40:11.000-0000
So, I did a curl to pull data directly from the Ecobee API. As you can see below, there are 2 “lastModified” time return.
thermostatList → lastModified: “2020-06-06 16:41:50” (The last modified date time for the thermostat configuration.)
runtime → lastModified: “2020-06-06 19:40:11” (The UTC date/time stamp of when the thermostat was updated.)
It appears the binding initially updated Ecobee_lastModified_UTC with “thermostatList → lastModified”, then overwrote it with “runtime → lastModified”. Appreciate if you can take a look and see if you are also seeing the same behavior.
Thanks in advance!
{
"page": {
"page": 1,
"totalPages": 1,
"pageSize": 1,
"total": 1
},
"thermostatList": [{
"identifier": "xxxxxxxxxxxx",
"name": "My ecobee",
"thermostatRev": "200606164150",
"isRegistered": true,
"modelNumber": "nikeSmart",
"brand": "ecobee",
"features": "Home,HomeKit",
"lastModified": "2020-06-06 16:41:50",
"thermostatTime": "2020-06-06 14:42:49",
"utcTime": "2020-06-06 19:42:49",
"runtime": {
"runtimeRev": "200606194011",
"connected": true,
"firstConnected": "2018-10-19 02:49:51",
"connectDateTime": "2020-06-03 15:11:45",
"disconnectDateTime": "2020-06-02 07:06:51",
"lastModified": "2020-06-06 19:40:11",
"lastStatusModified": "2020-06-06 19:40:11",
"runtimeDate": "2020-06-06",
"runtimeInterval": 234,
"actualTemperature": 755,
"actualHumidity": 51,
"rawTemperature": 755,
"showIconMode": 0,
"desiredHeat": 700,
"desiredCool": 750,
"desiredHumidity": 36,
"desiredDehumidity": 60,
"desiredFanMode": "auto",
"desiredHeatRange": [
450,
790
],
"desiredCoolRange": [
650,
920
]
}
}],
"status": {
"code": 0,
"message": ""
}
}