[RELEASE] Google SDM API - Nest integration

Ok got events to start showing.

So I think events in HE are dictated by "notifications" on the Google home side. I'm testing with some other settings now. I had my nest camera battery's set with pretty limited notifications for the front of the house. Specifically only "person" within a specified zone. Comparing my Google home event log with HE, I was only getting presence events in HE. Vehicles, animals, etc events inside and outside zones were not reported to HE. As a result I cant do things like trigger lights when our cars pull in to the driveway. I'm not sure if the "vehicle" GH notification even crosses over to HE.

@dkilgore90 is the HE motion event triggered only by generic motion events in GH? Are animal and vehicle events excluded?

I'll experiment a bit but I don't want to have to get spammed with Google Home notifications just to trigger events in HE. It'd be easier to just get a dedicated motion sensor if that's the case...

So, I use the original wired Nest Hello. But, there should be separate triggers for motion and presence on the device. "Motion" is triggered any time there is any motion. "Presence" is triggered when it sees a face. But, it will not recognize the face outside of Google or Nest. These trigger regardless of whether they are on or off in the Nest app or Google zones. You can also trigger on sound and the button push if you want.

I use the "presence" for detecting motion events as I do not care about general motion unless there is a face involved.

image

Ya I get motion and presence events in HE. But it looks like vehicle and animal events don't cross over to HE even if notifications are turned on.

There is no specific mapping in the Google API for vehicle or animal events... But I would have hoped that these would at least be reported as a generic motion event...

If you can reliably provoke such an event (e.g. by driving your car around the block past your camera), I'd be interested to see the app logs with debug enabled at such a time...

Sure. I'll turn all my notifications in GH back on. Can you confirm that HE events are based on GH notifications? That appeared to be the case when I was testing.

You need just the log from the camera in HE?

I was just comparing that with the GH event history to see what was and wasn't crossing over.

The bulk of logic lives in the SDM API app, so those logs (with debug enabled) would be of the most use.


It looks like some vehicle events crossed over while others didn't


[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:57:17.171 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "65b07bc7-4a3a-4cbc-851b-95aed40bba0c", "timestamp": "2022-03-05T18:57:09.988Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916888", "eventId": "2122108366", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "8c7f2376-94b0-4c5a-855a-941f702f7953", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:57:17.171 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "983b2055-feeb-4398-afa2-5c8e74427266", "timestamp": "2022-03-05T18:57:09.988Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916888", "eventId": "2122108366", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "8c7f2376-94b0-4c5a-855a-941f702f7953", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:57:17.168 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:57:17.168 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:22.011 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "7712010e-9577-489d-b2ce-34ea9dc53a9b", "timestamp": "2022-03-05T18:13:57.755Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916887", "eventId": "2102834928", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "71c67f13-4c4f-405c-904a-f4ca845ab70a", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "ENDED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:22.009 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:01.363 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "7712010e-9577-489d-b2ce-34ea9dc53a9b", "timestamp": "2022-03-05T18:13:57.755Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916887", "eventId": "2102834928", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "71c67f13-4c4f-405c-904a-f4ca845ab70a", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:01.361 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:00.749 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "c2cdfb03-4886-439d-bb0e-d2f3ae9774fb", "timestamp": "2022-03-05T18:13:57.755Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916887", "eventId": "2102834928", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "71c67f13-4c4f-405c-904a-f4ca845ab70a", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:14:00.747 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:12:06.466 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/sdm.service https://www.googleapis.com/auth/pubsub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 08:12:06.015 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:42.224 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "aa56faf0-d8e0-4b3c-be15-7299f463ba2b", "timestamp": "2022-03-05T17:44:19.088Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916886", "eventId": "1947430449", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "0852f7b1-da73-4bf5-a42f-342ce794c325", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "ENDED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:42.222 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:23.421 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "aa56faf0-d8e0-4b3c-be15-7299f463ba2b", "timestamp": "2022-03-05T17:44:19.088Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916886", "eventId": "1947430449", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "0852f7b1-da73-4bf5-a42f-342ce794c325", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:23.420 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:22.466 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "0f43dda0-1152-4d14-bb80-a414fab871d1", "timestamp": "2022-03-05T17:44:19.088Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916886", "eventId": "1947430449", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "0852f7b1-da73-4bf5-a42f-342ce794c325", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:44:22.464 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:12:06.546 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/sdm.service https://www.googleapis.com/auth/pubsub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 07:12:06.014 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:53:09.911 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "b5b3efd1-c91e-4c1f-a050-99ae84da1e32", "timestamp": "2022-03-05T16:52:59.881Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916884", "eventId": "1505658103", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "9de3b871-8b5d-483e-beb7-b53bb3d21d39", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:53:09.909 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:53:08.148 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "4595db44-e439-483d-ab9b-0aaeb57c7e77", "timestamp": "2022-03-05T16:52:59.881Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916884", "eventId": "1505658103", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "9de3b871-8b5d-483e-beb7-b53bb3d21d39", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:53:08.145 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:12:06.487 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/sdm.service

[app:332](http://hubitat/logs#pastapp332)2022-03-05 06:12:06.015 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:42.064 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "00c8dad5-6b89-42f8-9f67-0ac919f3386a", "timestamp": "2022-03-05T15:25:19.035Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916881", "eventId": "2000417245", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "9295825a-63c3-4249-95ae-6c024b857795", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "ENDED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:42.062 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:22.254 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "00c8dad5-6b89-42f8-9f67-0ac919f3386a", "timestamp": "2022-03-05T15:25:19.035Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916881", "eventId": "2000417245", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "9295825a-63c3-4249-95ae-6c024b857795", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:22.252 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:21.972 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "e390328c-8d3d-49ce-a872-552a5d753625", "timestamp": "2022-03-05T15:25:19.035Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916881", "eventId": "2000417245", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "9295825a-63c3-4249-95ae-6c024b857795", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:25:21.970 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:12:06.462 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/sdm.service

[app:332](http://hubitat/logs#pastapp332)2022-03-05 05:12:06.019 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 04:12:06.554 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/sdm.service https://www.googleapis.com/auth/pubsub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 04:12:06.019 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 03:12:06.498 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/sdm.service

[app:332](http://hubitat/logs#pastapp332)2022-03-05 03:12:06.020 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 02:12:06.538 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/pubsub https://www.googleapis.com/auth/sdm.service

[app:332](http://hubitat/logs#pastapp332)2022-03-05 02:12:06.019 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 01:12:06.548 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/sdm.service https://www.googleapis.com/auth/pubsub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 01:12:06.019 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:44.846 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "2e09315c-31fa-4622-a843-9b920a46675d", "timestamp": "2022-03-05T10:51:21.932Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916880", "eventId": "1096205668", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d915c209-7f71-4585-a45f-279c7fc21abb", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "ENDED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:44.844 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:25.708 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "2e09315c-31fa-4622-a843-9b920a46675d", "timestamp": "2022-03-05T10:51:21.932Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916880", "eventId": "1096205668", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d915c209-7f71-4585-a45f-279c7fc21abb", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:25.706 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:24.013 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "bacf081b-3162-4a08-8933-23667041cd8d", "timestamp": "2022-03-05T10:51:21.932Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916880", "eventId": "1096205668", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d915c209-7f71-4585-a45f-279c7fc21abb", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:51:24.009 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:28:02.348 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "27b0ae81-b2a5-44dc-a18c-208658f40c47", "timestamp": "2022-03-05T10:27:37.465Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916879", "eventId": "1740501387", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d24d3c14-6e86-4f67-8840-e973af0c2c69", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "ENDED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:28:02.345 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:27:42.270 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "27b0ae81-b2a5-44dc-a18c-208658f40c47", "timestamp": "2022-03-05T10:27:37.465Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916879", "eventId": "1740501387", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d24d3c14-6e86-4f67-8840-e973af0c2c69", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "UPDATED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:27:42.267 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:27:42.133 am [debug](http://hubitat/installedapp/configure/332){ "eventId": "1fe387b3-42c1-4286-a87b-e4dd14ce3cec", "timestamp": "2022-03-05T10:27:37.465Z", "resourceUpdate": { "name": "enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd", "events": { "sdm.devices.events.CameraMotion.Motion": { "eventSessionId": "1635916879", "eventId": "1740501387", "zones": ["Zone 1"] } } }, "userId": "AVPHwEuVaj3ztoT-Bve1R3wyvlxA65yvYXGJlu-ZgQg", "eventThreadId": "d24d3c14-6e86-4f67-8840-e973af0c2c69", "resourceGroup": ["enterprises/7b0c1def-2775-48e8-8341-e5f41847aa65/devices/AVPHwEs8488UVhsHEmDLRGgaJt1l2v6nGkYEohZ4zkPYzMb7b_GJ8aC4z_o-gqDAYbsxZpMtkF8HAQh9nX2GvrOqFgkd"], "eventThreadState": "STARTED"}

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:27:42.129 am [debug](http://hubitat/installedapp/configure/332)Event received from Google pub/sub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:12:06.530 am [debug](http://hubitat/installedapp/configure/332)Authorized scopes: https://www.googleapis.com/auth/sdm.service https://www.googleapis.com/auth/pubsub

[app:332](http://hubitat/logs#pastapp332)2022-03-05 12:12:06.019 am [info](http://hubitat/installedapp/configure/332)Refreshing access_token from Google

Hi @dkilgore90 thanks for this effort!!

So… I have my nest cameras and doorbell added to HE, and have my SDM setup with api access (sdm and pub/sub). I was able
To successfully add the app and discover these devices via the OAuth steps.

The logs show access tokens, and from what I can tell event subscriptions are setup (no errors in the log).

However, the cameras events are NOT showing up in HE. Nothing in device events or system logs.

Is there something simple / obvious that I am missing? Some other setup step?

Many thx for any input!!

Sometimes there are issues with the event subscription - the debug buttons in the App page provide an interface to manually create/delete it, may want to try there and check logs to see if it was successful.

Thx @dkilgore90 . Appreciated. I was able to finally have success. I'm a hack, not a developer! In the end, I ended up creating the google cloud project first, enabling APIs, and then NOT creating oauth creds.

Then from Device Access Console, I selected the project that I had created rather than letting Device Access create a project.

That seemed to do the trick.

Thanks again!!

Hi all, I'm having issues with the last step of the process. I get an error relating to "client_secret missing". I've tried putting that parameter into the credentials.json, but no joy. Any thoughts? I'm not allowed to post images or links here, so a bit hard to post the actual error message... (i've posted it as a github issue).
Thanks in advance...

The client_secret key in the credentials.json should have a value provided by Google... Seems sometimes it doesn't export/download correctly - might try going to the Google cloud console, APIs, OAuth credentials, and download the JSON again.

yep, fixed, thanks!

@dkilgore90 Thank you for making this functionality available! I'm new to HE, but not home automation or sw development. Your instructions for installing the Google SDM API worked flawlessley for me. Creating such detailed doc is tedious and not quick - double-thanks for that :star2: :star: :star2:

This error is not impacting behavior, but does occur on all three of my Nest E thermostats every time the rule runs. If I'm reading the log right, an invalid fan mode is being sent -- either in addition to or instead of the fan mode my rule sends. Note that manually turning on the fan for a set amount of time works fine. An example of the error:

app:74 2022-03-28 01:35:58.020 pm debug { "eventId": "91a69b70-a79c-497d-9709-7e216f17c195", "timestamp": "2022-03-28T18:35:55.729906Z", "resourceUpdate": { "name": "enterprises/9eded18e-cb87-47f4-8dfc-ac82195b04ac/devices/AVPHwEuMdIH5b7bDtgulsnMwDW0-eVmcOHa8mzLSC5ZKDOfYuaXQp-Kkg2o-xmGynKhDwu6I7pc25eHk-dgJsvtMo5YhMg", "traits": { "sdm.devices.traits.Fan": { "timerMode": "OFF" } } }, "userId": "AVPHwEv0wgfaKUEPQ1h1JbnY8-S266PR0ImLc4EL7AT8", "resourceGroup": ["enterprises/9eded18e-cb87-47f4-8dfc-ac82195b04ac/devices/AVPHwEuMdIH5b7bDtgulsnMwDW0-eVmcOHa8mzLSC5ZKDOfYuaXQp-Kkg2o-xmGynKhDwu6I7pc25eHk-dgJsvtMo5YhMg"]}
app:74 2022-03-28 01:35:58.013 pm debug Event received from Google pub/sub
app:74 2022-03-28 01:35:57.094 pm debug { "eventId": "1e85cf39-dc7e-4322-8a1d-d8015754dad2", "timestamp": "2022-03-28T18:35:55.712291Z", "resourceUpdate": { "name": "enterprises/9eded18e-cb87-47f4-8dfc-ac82195b04ac/devices/AVPHwEuMdIH5b7bDtgulsnMwDW0-eVmcOHa8mzLSC5ZKDOfYuaXQp-Kkg2o-xmGynKhDwu6I7pc25eHk-dgJsvtMo5YhMg", "traits": { "sdm.devices.traits.ThermostatMode": { "mode": "HEAT", "availableModes": ["HEAT", "COOL", "HEATCOOL", "OFF"] }, "sdm.devices.traits.ThermostatEco": { "availableModes": ["OFF", "MANUAL_ECO"], "mode": "OFF", "heatCelsius": 17.5, "coolCelsius": 24.5 }, "sdm.devices.traits.ThermostatTemperatureSetpoint": { "heatCelsius": 22.777779 } } }, "userId": "AVPHwEv0wgfaKUEPQ1h1JbnY8-S266PR0ImLc4EL7AT8", "resourceGroup": ["enterprises/9eded18e-cb87-47f4-8dfc-ac82195b04ac/devices/AVPHwEuMdIH5b7bDtgulsnMwDW0-eVmcOHa8mzLSC5ZKDOfYuaXQp-Kkg2o-xmGynKhDwu6I7pc25eHk-dgJsvtMo5YhMg"]}
app:74 2022-03-28 01:35:57.086 pm debug Event received from Google pub/sub
app:74 2022-03-28 01:35:56.444 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:74 2022-03-28 01:35:55.812 pm info Sending sdm.devices.commands.Fan.SetTimer to nest den with params: [timerMode:OFF]
app:74 2022-03-28 01:35:55.795 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to nest den with params: [heatCelsius:22.7777777778]
app:74 2022-03-28 01:35:55.776 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to nest den with params: [mode:HEAT]

My RM rule:
rule

Also opened an issue on github.

The 500 error is server-side at Google, and unfortunately no detail provided in their response. I'm unable to reproduce in a few quick tests with my 3rd gen learning thermostat, but given it is reproducible in your environment, maybe we can find an acceptable workaround or solution.

Internal to Hubitat, your rule is calling 3 commands to send to Google:

  1. SetThermostatMode: Heat
  2. SetHeatingSetpoint: 73.0 (F)
  3. SetFanTimerMode: Off

In the logs you pasted, the error was returned in response to command #1 - is it always that command? Or sometimes varies?

My first suggestion as a workaround would be to split this rule into multiple smaller actions (each invoking a single command), with a small delay between them - maybe 50-100ms?

I did as you suggested. Each command sent singly worked fine. I then tried various combinations of the rule sending two and three commands. Clicking buttons quickly on the device page reliably produced a "RESOURCE_EXHAUSTED" error, which sometimes occured from the three-command rule. Some kind of timing issue with this particular device? I will update my rules accordingly.

Full log of my troubleshooting session below along with some separated sections. I am happy to continue helping if you want to solve this one - let me know any additional scenarios to try. Do you want me to also post this update on github?

RULE SENDING TWO COMMANDS FAILS

app:742022-03-29 03:48:59.725 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:48:59.101 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:48:59.083 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:29:04.875 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:29:04.288 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:24.2777778042687310112847, heatCelsius:22.7777777778]
app:742022-03-29 03:29:04.262 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:28:26.783 pm info Refresh device details for kitchen nest
app:742022-03-29 03:27:04.191 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:27:03.581 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:27:03.562 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:26:44.366 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}

RULE SENDING TWO COMMANDS WORKED

app:742022-03-29 03:26:29.589 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:25:54.314 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:25:54.296 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:25:25.069 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:25:01.648 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:25:01.631 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]

QUICKLY CLICKING THE HEAT AND OFF BUTTONS ON THE HE DEVICE PAGE

app:742022-03-29 03:44:32.113 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:31.835 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:31.385 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:31.106 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:30.594 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:30.314 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:29.733 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:29.440 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:24.026 pm info Refresh device details for kitchen nest

COMPLETE LOG

app:742022-03-29 04:30:11.804 pm info Refresh device details for kitchen nest
app:742022-03-29 04:30:11.800 pm warn Received event out of order -- timestamp: 2022-03-29T21:30:07.236Z, lastEventTime: 2022-03-29T16:30:07.313-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:04:37.380 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:04:37.364 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 04:03:34.179 pm info Refresh device details for kitchen nest
app:742022-03-29 04:03:34.166 pm warn Received event out of order -- timestamp: 2022-03-29T21:03:31.079Z, lastEventTime: 2022-03-29T16:03:31.081-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:03:32.838 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:03:32.819 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 04:03:10.384 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:25.5555555556, heatCelsius:22.2222222222]
app:742022-03-29 04:02:01.839 pm info Refresh device details for kitchen nest
app:742022-03-29 04:02:01.837 pm warn Received event out of order -- timestamp: 2022-03-29T21:01:58.843Z, lastEventTime: 2022-03-29T16:01:58.894-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:02:01.834 pm info Refresh device details for kitchen nest
app:742022-03-29 04:02:01.832 pm warn Received event out of order -- timestamp: 2022-03-29T21:01:58.880Z, lastEventTime: 2022-03-29T16:01:58.894-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:02:00.547 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:02:00.530 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:25.388888882266150580512153, heatCelsius:23.8888888889]
app:742022-03-29 04:01:49.691 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 04:01:38.854 pm info Refresh device details for kitchen nest
app:742022-03-29 04:01:38.851 pm warn Received event out of order -- timestamp: 2022-03-29T21:01:34.194Z, lastEventTime: 2022-03-29T16:01:34.227-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:01:38.824 pm info Refresh device details for kitchen nest
app:742022-03-29 04:01:38.822 pm warn Received event out of order -- timestamp: 2022-03-29T21:01:34.177Z, lastEventTime: 2022-03-29T16:01:34.227-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:01:35.945 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:01:35.928 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:23.8888888889]
app:742022-03-29 04:00:48.592 pm info Refresh device details for kitchen nest
app:742022-03-29 04:00:48.583 pm warn Received event out of order -- timestamp: 2022-03-29T21:00:44.525Z, lastEventTime: 2022-03-29T16:00:44.555-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:00:46.268 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:00:46.252 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 04:00:39.467 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 04:00:30.888 pm error executeCommand sdm.devices.commands.Fan.SetTimer response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the Thermostat.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 04:00:30.575 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:00:30.558 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 04:00:24.393 pm info Refresh device details for kitchen nest
app:742022-03-29 04:00:24.390 pm warn Received event out of order -- timestamp: 2022-03-29T21:00:20.170Z, lastEventTime: 2022-03-29T16:00:20.190-05:00 -- refreshing device kitchen nest
app:742022-03-29 04:00:21.886 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 04:00:21.869 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:59:51.824 pm info Refresh device details for kitchen nest
app:742022-03-29 03:59:51.821 pm warn Received event out of order -- timestamp: 2022-03-29T20:59:48.254Z, lastEventTime: 2022-03-29T15:59:48.264-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:59:49.993 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:59:49.976 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:59:01.055 pm info Refresh device details for kitchen nest
app:742022-03-29 03:59:01.053 pm warn Received event out of order -- timestamp: 2022-03-29T20:58:56.848Z, lastEventTime: 2022-03-29T15:58:56.868-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:58:58.572 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:58:44.407 pm info Refresh device details for kitchen nest
app:742022-03-29 03:58:44.404 pm warn Received event out of order -- timestamp: 2022-03-29T20:58:40.275Z, lastEventTime: 2022-03-29T15:58:40.288-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:58:42.637 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:58:41.976 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:58:41.956 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:48:59.725 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:48:59.101 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:48:59.083 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:48:28.621 pm info Refresh device details for kitchen nest
app:742022-03-29 03:48:28.619 pm warn Received event out of order -- timestamp: 2022-03-29T20:48:25.537Z, lastEventTime: 2022-03-29T15:48:25.551-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:48:27.214 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:47:56.015 pm info Refresh device details for kitchen nest
app:742022-03-29 03:47:56.013 pm warn Received event out of order -- timestamp: 2022-03-29T20:47:52.942Z, lastEventTime: 2022-03-29T15:47:52.951-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:47:54.450 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:46:03.507 pm info Refresh device details for kitchen nest
app:742022-03-29 03:46:03.505 pm warn Received event out of order -- timestamp: 2022-03-29T20:46:00.498Z, lastEventTime: 2022-03-29T15:46:00.499-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:46:02.036 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:33.516 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the ExecuteDeviceCommand API for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:33.213 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:32.814 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the ExecuteDeviceCommand API for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:32.511 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:32.113 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:31.835 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:31.385 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:31.106 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:30.594 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:30.314 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:29.733 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:29.440 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:24.026 pm info Refresh device details for kitchen nest
app:742022-03-29 03:44:24.023 pm warn Received event out of order -- timestamp: 2022-03-29T20:44:19.368Z, lastEventTime: 2022-03-29T15:44:19.683-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:44:23.007 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the SetThermostatMode command for the user.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:44:22.696 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:22.016 pm info Refresh device details for kitchen nest
app:742022-03-29 03:44:22.013 pm warn Received event out of order -- timestamp: 2022-03-29T20:44:17.776Z, lastEventTime: 2022-03-29T15:44:17.798-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:44:21.089 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:19.452 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:19.020 pm info Refreshing access_token from Google
app:742022-03-29 03:44:16.911 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:44:16.049 pm info Refresh device details for kitchen nest
app:742022-03-29 03:44:16.046 pm warn Received event out of order -- timestamp: 2022-03-29T20:44:11.876Z, lastEventTime: 2022-03-29T15:44:11.879-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:44:13.241 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:44:13.114 pm info Refresh device details for kitchen nest
app:742022-03-29 03:44:13.112 pm warn Received event out of order -- timestamp: 2022-03-29T20:44:10.079Z, lastEventTime: 2022-03-29T15:44:10.080-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:44:11.740 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:43:30.832 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:OFF]
app:742022-03-29 03:43:06.762 pm info Refresh device details for kitchen nest
app:742022-03-29 03:43:06.760 pm warn Received event out of order -- timestamp: 2022-03-29T20:43:01.837Z, lastEventTime: 2022-03-29T15:43:01.925-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:43:06.564 pm info Refresh device details for kitchen nest
app:742022-03-29 03:43:06.562 pm warn Received event out of order -- timestamp: 2022-03-29T20:43:01.843Z, lastEventTime: 2022-03-29T15:43:01.925-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:43:04.188 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:43:03.558 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:ON, duration:900s]
app:742022-03-29 03:43:03.540 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:25, heatCelsius:22.7777777778]
app:742022-03-29 03:43:03.521 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:COOL]
app:742022-03-29 03:41:45.484 pm info Refresh device details for kitchen nest
app:742022-03-29 03:41:45.481 pm warn Received event out of order -- timestamp: 2022-03-29T20:41:41.254Z, lastEventTime: 2022-03-29T15:41:41.343-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:41:40.114 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:41:22.886 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the Thermostat.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:41:22.602 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:41:09.941 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetCool response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:41:09.935 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:41:09.643 pm error executeCommand sdm.devices.commands.Fan.SetTimer response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the Thermostat.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:41:09.368 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:41:09.352 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetCool to kitchen nest with params: [coolCelsius:25]
app:742022-03-29 03:41:09.334 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:COOL]
app:742022-03-29 03:40:58.250 pm info Refresh device details for kitchen nest
app:742022-03-29 03:40:58.247 pm warn Received event out of order -- timestamp: 2022-03-29T20:40:55.192Z, lastEventTime: 2022-03-29T15:40:55.193-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:40:57.508 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:40:56.908 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:40:56.889 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:25, heatCelsius:22.7777777778]
app:742022-03-29 03:40:56.863 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:COOL]
app:742022-03-29 03:34:03.871 pm info Refresh device details for kitchen nest
app:742022-03-29 03:34:03.868 pm warn Received event out of order -- timestamp: 2022-03-29T20:34:00.196Z, lastEventTime: 2022-03-29T15:34:00.558-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:34:00.421 pm info Refresh device details for kitchen nest
app:742022-03-29 03:34:00.419 pm warn Received event out of order -- timestamp: 2022-03-29T20:33:57.078Z, lastEventTime: 2022-03-29T15:33:57.205-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:34:00.280 pm info Refresh device details for kitchen nest
app:742022-03-29 03:34:00.277 pm warn Received event out of order -- timestamp: 2022-03-29T20:33:57.083Z, lastEventTime: 2022-03-29T15:33:57.205-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:33:59.383 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:33:59.375 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:33:58.808 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:33:58.790 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:33:58.772 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:33:36.353 pm info Refresh device details for kitchen nest
app:742022-03-29 03:33:36.351 pm warn Received event out of order -- timestamp: 2022-03-29T20:33:33.324Z, lastEventTime: 2022-03-29T15:33:33.351-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:33:31.870 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:32:02.663 pm info Refresh device details for kitchen nest
app:742022-03-29 03:32:02.659 pm warn Received event out of order -- timestamp: 2022-03-29T20:31:59.532Z, lastEventTime: 2022-03-29T15:31:59.611-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:31:58.610 pm info Refresh device details for kitchen nest
app:742022-03-29 03:31:58.608 pm warn Received event out of order -- timestamp: 2022-03-29T20:31:55.421Z, lastEventTime: 2022-03-29T15:31:55.433-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:31:58.579 pm info Refresh device details for kitchen nest
app:742022-03-29 03:31:58.577 pm warn Received event out of order -- timestamp: 2022-03-29T20:31:55.386Z, lastEventTime: 2022-03-29T15:31:55.433-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:31:57.717 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:31:57.113 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:31:57.096 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:31:57.077 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:31:31.110 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:31:16.389 pm info Refresh device details for kitchen nest
app:742022-03-29 03:31:16.386 pm warn Received event out of order -- timestamp: 2022-03-29T20:31:13.132Z, lastEventTime: 2022-03-29T15:31:13.160-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:31:14.814 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:31:14.797 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:24.4444444444, heatCelsius:22.7777777778]
app:742022-03-29 03:30:42.938 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:30:37.589 pm info Refresh device details for kitchen nest
app:742022-03-29 03:30:37.587 pm warn Received event out of order -- timestamp: 2022-03-29T20:30:32.392Z, lastEventTime: 2022-03-29T15:30:32.427-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:30:33.480 pm info Refresh device details for kitchen nest
app:742022-03-29 03:30:33.477 pm warn Received event out of order -- timestamp: 2022-03-29T20:30:29.442Z, lastEventTime: 2022-03-29T15:30:29.454-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:30:31.134 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:29:59.312 pm info Refresh device details for kitchen nest
app:742022-03-29 03:29:59.309 pm warn Received event out of order -- timestamp: 2022-03-29T20:29:55.677Z, lastEventTime: 2022-03-29T15:29:55.724-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:29:54.413 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:29:43.642 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:29:05.558 pm info Refresh device details for kitchen nest
app:742022-03-29 03:29:05.555 pm warn Received event out of order -- timestamp: 2022-03-29T20:29:02.569Z, lastEventTime: 2022-03-29T15:29:02.582-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:29:04.875 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:29:04.288 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetRange to kitchen nest with params: [coolCelsius:24.2777778042687310112847, heatCelsius:22.7777777778]
app:742022-03-29 03:29:04.262 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:28:26.783 pm info Refresh device details for kitchen nest
app:742022-03-29 03:28:26.780 pm warn Received event out of order -- timestamp: 2022-03-29T20:28:23.571Z, lastEventTime: 2022-03-29T15:28:23.577-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:28:25.174 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:27:11.249 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 429, body: { "error": { "code": 429, "message": "Rate limited for the Thermostat.", "status": "RESOURCE_EXHAUSTED" }}
app:742022-03-29 03:27:10.954 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:27:05.001 pm info Refresh device details for kitchen nest
app:742022-03-29 03:27:04.998 pm warn Received event out of order -- timestamp: 2022-03-29T20:27:01.894Z, lastEventTime: 2022-03-29T15:27:01.898-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:27:04.191 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:27:03.581 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:27:03.562 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:26:44.366 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:26:43.778 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:26:43.761 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:26:43.742 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:26:31.863 pm info Refresh device details for kitchen nest
app:742022-03-29 03:26:31.860 pm warn Received event out of order -- timestamp: 2022-03-29T20:26:27.926Z, lastEventTime: 2022-03-29T15:26:27.927-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:26:30.223 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:26:30.220 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 03:26:29.630 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:26:29.610 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to kitchen nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 03:26:29.589 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:25:54.314 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:25:54.296 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:25:25.069 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:25:01.648 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:25:01.631 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:24:42.268 pm info Refresh device details for kitchen nest
app:742022-03-29 03:24:42.266 pm warn Received event out of order -- timestamp: 2022-03-29T20:24:39.173Z, lastEventTime: 2022-03-29T15:24:39.175-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:24:40.700 pm info Sending sdm.devices.commands.Fan.SetTimer to kitchen nest with params: [timerMode:OFF]
app:742022-03-29 03:24:40.682 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:23:47.486 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:22:55.234 pm info Refresh device details for kitchen nest
app:742022-03-29 03:22:55.232 pm warn Received event out of order -- timestamp: 2022-03-29T20:22:50.410Z, lastEventTime: 2022-03-29T15:22:50.411-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:22:52.065 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:21:14.977 pm info Refresh device details for kitchen nest
app:742022-03-29 03:21:14.973 pm warn Received event out of order -- timestamp: 2022-03-29T20:21:10.409Z, lastEventTime: 2022-03-29T15:21:10.417-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:21:12.084 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:20:40.532 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:14:10.083 pm info Refresh device details for kitchen nest
app:742022-03-29 03:14:10.070 pm warn Received event out of order -- timestamp: 2022-03-29T20:14:07.128Z, lastEventTime: 2022-03-29T15:14:07.136-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:14:08.624 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:13:54.258 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 03:11:47.467 pm info Refresh device details for kitchen nest
app:742022-03-29 03:11:47.463 pm warn Received event out of order -- timestamp: 2022-03-29T20:11:43.408Z, lastEventTime: 2022-03-29T15:11:43.410-05:00 -- refreshing device kitchen nest
app:742022-03-29 03:11:45.070 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEATCOOL]
app:742022-03-29 03:09:36.396 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to kitchen nest with params: [mode:HEAT]
app:742022-03-29 02:49:32.097 pm error executeCommand sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 02:49:31.414 pm info Sending sdm.devices.commands.Fan.SetTimer to den nest with params: [timerMode:OFF]
app:742022-03-29 02:49:31.395 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to den nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 02:49:31.375 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to den nest with params: [mode:HEAT]
app:742022-03-29 02:46:43.622 pm info Refresh device details for den nest
app:742022-03-29 02:46:43.617 pm warn Received event out of order -- timestamp: 2022-03-29T19:46:39.561Z, lastEventTime: 2022-03-29T14:46:39.589-05:00 -- refreshing device den nest
app:742022-03-29 02:46:43.610 pm info Refresh device details for den nest
app:742022-03-29 02:46:43.606 pm warn Received event out of order -- timestamp: 2022-03-29T19:46:39.541Z, lastEventTime: 2022-03-29T14:46:39.589-05:00 -- refreshing device den nest
app:742022-03-29 02:46:41.800 pm error executeCommand sdm.devices.commands.ThermostatMode.SetMode response code: 500, body: { "error": { "code": 500, "message": "Internal error encountered.", "status": "INTERNAL" }}
app:742022-03-29 02:46:41.212 pm info Sending sdm.devices.commands.Fan.SetTimer to den nest with params: [timerMode:OFF]
app:742022-03-29 02:46:41.193 pm info Sending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to den nest with params: [heatCelsius:22.7777777778]
app:742022-03-29 02:46:41.174 pm info Sending sdm.devices.commands.ThermostatMode.SetMode to den nest with params: [mode:HEAT]
app:742022-03-29 02:44:19.076 pm info Refreshing access_token from Google

Independent troubleshooting of an error reported by the Amazon echo skill turns out also to be related to the Nest thermostat. In this case, Alexa is able to control the Nest E as long as the thermostat mode is set to "heat" or "cool". When the thermostat mode is "auto", commands to Alexa fail. Knowing this, I can work around the problem, but am again willing to help troubleshoot.

app:742022-03-29 04:54:57.221 pm infoRefresh device details for den nest
app:742022-03-29 04:54:57.219 pm warnReceived event out of order -- timestamp: 2022-03-29T21:54:53.066Z, lastEventTime: 2022-03-29T16:54:53.117-05:00 -- refreshing device den nest
app:802022-03-29 04:54:56.448 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_5c83cc45-6395-4136-9e2d-2bd50833aa68_1648590894113.0..ASRLS_5c83cc45-6395-4136-9e2d-2bd50833aa68_1648590894113"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of `com.amazon.iota.driver.v3.StateReportProperty`, problem: value\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder[\"context\"]->com.amazon.iota.driver.directive.v3.Context[\"properties\"]->com.amazon.iota.driver.v3.StateReportPropertyArray[3])"}}
dev:152022-03-29 04:54:56.281 pm debug: updating state -- lastEventTime: 2022-03-29T16:54:53.117-05:00
dev:152022-03-29 04:54:54.167 pm debug: updating state -- lastEventTime: 2022-03-29T16:54:49.412-05:00
app:802022-03-29 04:54:54.030 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_e2d2f9ab-afed-4679-be16-50300ee9be0f_1648590891694.0..ASRLS_e2d2f9ab-afed-4679-be16-50300ee9be0f_1648590891694"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of `com.amazon.iota.driver.v3.StateReportProperty`, problem: value\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder[\"context\"]->com.amazon.iota.driver.directive.v3.Context[\"properties\"]->com.amazon.iota.driver.v3.StateReportPropertyArray[2])"}}
dev:152022-03-29 04:54:53.807 pm debug: updating state -- lastEventTime: 2022-03-29T16:54:49.408-05:00
app:742022-03-29 04:54:51.168 pm infoSending sdm.devices.commands.ThermostatMode.SetMode to den nest with params: [mode:COOL]
dev:152022-03-29 04:52:54.143 pm debug: updating state -- room: Den
app:802022-03-29 04:52:53.811 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_a37a6790-78ac-4f40-a753-3643b032f3e2_1648590771476.0..ASRLS_a37a6790-78ac-4f40-a753-3643b032f3e2_1648590771476"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of `com.amazon.iota.driver.v3.StateReportProperty`, problem: value\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder[\"context\"]->com.amazon.iota.driver.directive.v3.Context[\"properties\"]->com.amazon.iota.driver.v3.StateReportPropertyArray[3])"}}
app:742022-03-29 04:52:53.723 pm infoRefresh device details for den nest
app:742022-03-29 04:52:53.719 pm warnReceived event out of order -- timestamp: 2022-03-29T21:52:49.048Z, lastEventTime: 2022-03-29T16:52:49.115-05:00 -- refreshing device den nest
dev:152022-03-29 04:52:53.629 pm debug: updating state -- lastEventTime: 2022-03-29T16:52:49.115-05:00
dev:152022-03-29 04:52:51.934 pm debug: updating state -- lastEventTime: 2022-03-29T16:52:49.048-05:00
dev:152022-03-29 04:52:51.775 pm debug: updating state -- lastEventTime: 2022-03-29T16:52:46.003-05:00
app:802022-03-29 04:52:51.478 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_767c2e53-82be-4960-b414-b9a20c43c01e_1648590769141.0..ASRLS_767c2e53-82be-4960-b414-b9a20c43c01e_1648590769141"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of `com.amazon.iota.driver.v3.StateReportProperty`, problem: value\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder[\"context\"]->com.amazon.iota.driver.directive.v3.Context[\"properties\"]->com.amazon.iota.driver.v3.StateReportPropertyArray[2])"}}
dev:152022-03-29 04:52:51.258 pm debug: updating state -- lastEventTime: 2022-03-29T16:52:45.985-05:00
app:742022-03-29 04:52:47.738 pm infoSending sdm.devices.commands.ThermostatMode.SetMode to den nest with params: [mode:HEATCOOL]
dev:152022-03-29 04:51:14.323 pm debug: updating state -- lastEventTime: 2022-03-29T16:51:09.422-05:00
app:802022-03-29 04:51:13.858 pm errorError making Call to Alexa message gateway: {"header":{"namespace":"System","name":"Exception","messageId":"ASRLS_b3867828-7199-4340-a0e9-53a383263799_1648590671525.0..ASRLS_b3867828-7199-4340-a0e9-53a383263799_1648590671525"},"payload":{"code":"INVALID_REQUEST_EXCEPTION","description":"Cannot read the request payload as: Cannot construct instance of `com.amazon.iota.driver.v3.StateReportProperty`, problem: value\n at [Source: UNKNOWN; line: -1, column: -1] (through reference chain: com.amazon.iota.driver.directive.v3.MessageEnvelope$V3Builder[\"context\"]->com.amazon.iota.driver.directive.v3.Context[\"properties\"]->com.amazon.iota.driver.v3.StateReportPropertyArray[3])"}}
dev:152022-03-29 04:51:13.621 pm debug: updating state -- lastEventTime: 2022-03-29T16:51:09.406-05:00
app:742022-03-29 04:51:11.129 pm infoSending sdm.devices.commands.ThermostatTemperatureSetpoint.SetHeat to den nest with params: [heatCelsius:22.2222222222]

There is rate limiting enforced by Google, if you send too many requests/commands, too quickly. They've documented the various limits here: User and Rate Limits  |  Device Access  |  Google for Developers

I'll look over the logs you posted and see what conclusions I can draw (or other suggestions). Not sure about the Alexa errors at first glance...

Thanks for the pointer - knowing those rate limits is helpful and definitely something to keep in mind in rule design.