Google-Nest Offical Device Access Console Finally Released!

Hi, glad the integration is installed. The cameras don’t currently use any state fields at all since you can’t control if the camera is on or off (or even detect it from the API). I currently use something like this in lovelace:

      - type: picture-glance
        camera_image: camera.front_door

but my impression is there are other types of cards that can show it just fine also. Does the lovelace card you’re using require a particular entity state?

@allenporter I tried different cards but they all show nothing or at some time one shot when by example a car passes but no liveview like in the Nest app. These are some lines in the log:

[google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.490424 seconds.
2021-06-01 07:57:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 5.397311 seconds.
2021-06-01 07:57:12 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:12 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.714392 seconds.
2021-06-01 07:57:17 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:57:26 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:26 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.912594 seconds.
2021-06-01 07:57:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.830398 seconds.
2021-06-01 07:57:30 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:30 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.090015 seconds.
2021-06-01 07:57:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 4.040199 seconds.
2021-06-01 07:57:36 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:36 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 1.007126 seconds.
2021-06-01 07:57:37 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:37 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 7.514727 seconds.
2021-06-01 07:57:44 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:44 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 7.741561 seconds.
2021-06-01 07:57:47 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:57:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.014097 seconds.
2021-06-01 07:57:54 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:54 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 4.290244 seconds.
2021-06-01 07:57:58 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:57:58 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.694168 seconds.
2021-06-01 07:58:05 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:05 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 3.930459 seconds.
2021-06-01 07:58:09 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:09 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 3.823930 seconds.
2021-06-01 07:58:13 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:13 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 1.743086 seconds.
2021-06-01 07:58:15 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:15 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.757270 seconds.
2021-06-01 07:58:17 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:58:23 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:23 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.470352 seconds.
2021-06-01 07:58:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 5.671472 seconds.
2021-06-01 07:58:38 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:38 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 1.545879 seconds.
2021-06-01 07:58:39 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:39 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 5.197337 seconds.
2021-06-01 07:58:44 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:44 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.507696 seconds.
2021-06-01 07:58:45 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:45 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.732829 seconds.
2021-06-01 07:58:47 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:58:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.325749 seconds.
2021-06-01 07:58:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:58:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.968596 seconds.
2021-06-01 07:58:56 DEBUG (Thread-ConsumeBidirectionalStream) [google.cloud.pubsub_v1.subscriber._protocol.streaming_pull_manager] Processing 1 received message(s), currently on hold 0 (bytes 0).
2021-06-01 07:58:56 DEBUG (Thread-ConsumeBidirectionalStream) [google.cloud.pubsub_v1.subscriber._protocol.streaming_pull_manager] Sent request(s) over unary RPC.
2021-06-01 07:58:56 DEBUG (Thread-ConsumeBidirectionalStream) [google.cloud.pubsub_v1.subscriber._protocol.streaming_pull_manager] Released held message, scheduling callback for it, still on hold 0 (bytes 0).
2021-06-01 07:58:56 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={‘eventId’: ‘87789261-a232-41bb-b6d9-a329ee1496a5’, ‘timestamp’: ‘2021-06-01T05:59:04.684Z’, ‘resourceUpdate’: {‘name’: ‘enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPHwEsjXNMEE_QxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxagKGUsDFt1ypqte8zsiEdS8KN6xBA’, ‘events’: {‘sdm.devices.events.CameraMotion.Motion’: {‘eventSessionId’: ‘AVPHwEtXM2pXl4SKLAGaucy-xJXt6S0NC8ChCgi0mbMWWMcn9nsjGAK8sj-UxWqxx1iY9CU90i22UYzg4drYQRX0mDC82w’, ‘eventId’: ‘CiQA2vuxr20ED4l02q9bsNFnxFpFfnvkk2pBirrTKzjyoiploj0SwQEABOfu-KPR9u2YJHGURLxqMRTxNj1S0ZhCSgJykmDZ0kTpB835VFyGDOOtyrI9bwZbeHVfeWibQJAp94fsi7Ey1Hq3QXwH2XEHQUE51ngNdvNYjaIA46i3x7jn-KSSPdsylLt_5BMqmbVwBc9iyA3HxTwuDDAA9QfN4wSZSi3PDi0ikKGFS8q3kEMtDT4IkTr43fIDiztuvfq1p-TH9R3KsUxCEczkTqQ6w-EQhNJ-FuLKWjWvbxbHIVHm9RuB99ax’}}}, ‘userId’: ‘AVPxxxxxxxxxxxxxxxxxxeDgsFygLhgc’, ‘resourceGroup’: [‘enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPHwEsjXNMEE_QMvWKtfGCxxxxxxxxxxxxxxxxxxxxxxxxxqte8zsiEdS8KN6xBA’]}
2021-06-01 07:58:56 DEBUG (MainThread) [google_nest_sdm.device] Processing update 87789261-a232-41bb-b6d9-a329ee1496a5 @ 2021-06-01 05:59:04.684000+00:00
2021-06-01 07:58:56 DEBUG (MainThread) [google_nest_sdm.device] Event Update dict_keys([‘sdm.devices.events.CameraMotion.Motion’])
2021-06-01 07:58:56 DEBUG (MainThread) [homeassistant.components.nest] Event Update dict_keys([‘sdm.devices.events.CameraMotion.Motion’])
2021-06-01 07:58:56 DEBUG (Thread-CallbackRequestDispatcher) [google.cloud.pubsub_v1.subscriber._protocol.dispatcher] Handling 1 batched requests
2021-06-01 07:58:56 DEBUG (Thread-CallbackRequestDispatcher) [google.cloud.pubsub_v1.subscriber._protocol.streaming_pull_manager] Sent request(s) over unary RPC.
2021-06-01 07:59:01 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:01 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.215311 seconds.
2021-06-01 07:59:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 5.754119 seconds.
2021-06-01 07:59:13 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:13 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 3.887855 seconds.
2021-06-01 07:59:15 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] Generating event image URL for event_id CiQA2vuxr20ED4l02q9bsNFnxFpFfnvkk2pBirrTKzjyoiploj0SwQEABOfu-KPR9u2YJHGURLxqMRTxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxuB99ax
2021-06-01 07:59:15 DEBUG (MainThread) [google_nest_sdm.auth] request[post]=https://smartdevicemanagement.googleapis.com/v1/enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPHwxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxBA:executeCommand
2021-06-01 07:59:17 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:17 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 4.047192 seconds.
2021-06-01 07:59:17 DEBUG (MainThread) [google_nest_sdm.auth] request[get]=https://nexusapi-eu1.dropcam.com/sdm_resource/CiQA2vuxr20ED4l02q9bsNFnxFpFfnvkk2pBirrTKzjyoiploj0SwQEABOfu-KPR9u2YJHGURLxqMRTxNj1S0ZhCSgJykmxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxq1p-TH9R3KsUxCEczkTqQ6w-EQhNJ-FuLKWjWvbxbHIVHm9RuB99ax/snapshot
2021-06-01 07:59:17 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:59:21 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:21 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.468163 seconds.
2021-06-01 07:59:26 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] Extending stream url
2021-06-01 07:59:26 DEBUG (MainThread) [google_nest_sdm.auth] request[post]=https://smartdevicemanagement.googleapis.com/v1/enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPHwEsjXNMEE_QMvWKtfGCOmI45xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:executeCommand
2021-06-01 07:59:26 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] Extending stream url
2021-06-01 07:59:26 DEBUG (MainThread) [google_nest_sdm.auth] request[post]=https://smartdevicemanagement.googleapis.com/v1/enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPHwEvHcjq2vCnVPs3xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx:executeCommand
2021-06-01 07:59:27 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] New stream url expires at 2021-06-01 06:04:39.119000+00:00
2021-06-01 07:59:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 7.945961 seconds.
2021-06-01 07:59:28 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] New stream url expires at 2021-06-01 06:04:39.517000+00:00
2021-06-01 07:59:35 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:35 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.321092 seconds.
2021-06-01 07:59:41 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:41 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 3.517011 seconds.
2021-06-01 07:59:45 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:45 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.825492 seconds.
2021-06-01 07:59:46 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:46 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.630220 seconds.
2021-06-01 07:59:47 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 07:59:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:52 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.522279 seconds.
2021-06-01 07:59:59 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 07:59:59 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.858684 seconds.
2021-06-01 08:00:00 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:00:00 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 6.732099 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.125544 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 0.130991 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:00:07 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 7.170694 seconds.
2021-06-01 08:00:14 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:00:14 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 4.607793 seconds.

From those logs, there is not really any problems but also no attempt to create any stream urls. Is the stream component set up?

Euuh, yes this could be the problem, I don’t know what the stream component is :thinking:

If I search in the logs then I see sometimes a stream entry:
2021-06-01 08:51:21 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.936006 seconds.
2021-06-01 08:51:24 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:51:24 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.885157 seconds.
2021-06-01 08:51:25 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] Extending stream url
2021-06-01 08:51:25 DEBUG (MainThread) [google_nest_sdm.auth] request[post]=https://smartdevicemanagement.googleapis.com/v1/enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVPxxxxxxxxxKN6xBA:executeCommand
2021-06-01 08:51:25 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] Extending stream url
2021-06-01 08:51:25 DEBUG (MainThread) [google_nest_sdm.auth] request[post]=https://smartdevicemanagement.googleapis.com/v1/enterprises/58ef3e17-f095-4d35-a8a6-43cb843bbfc9/devices/AVxxxxxxxTvi4Ng:executeCommand
2021-06-01 08:51:26 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] New stream url expires at 2021-06-01 06:56:39.536000+00:00
2021-06-01 08:51:26 DEBUG (MainThread) [homeassistant.components.nest.camera_sdm] New stream url expires at 2021-06-01 06:56:39.930000+00:00
2021-06-01 08:51:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 08:51:27 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.246901 seconds.

But no livestream is visible in the card.

A fast Google tells that the stream component this is providied automatic if the camera platform supports it? Or what do I have to do to get the stream component working with Nest cameras?
Tia

@allenporter Update ----> after adding stream: to configuration.yaml I have some stream errors in the log when I try to view he livestream in the frontend:

2021-06-01 13:36:07 DEBUG (Thread-Heartbeater) [google.cloud.pubsub_v1.subscriber._protocol.heartbeater] Sent heartbeat.
2021-06-01 13:36:08 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 13:36:08 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 3.842984 seconds.
2021-06-01 13:36:12 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 13:36:12 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber.protocol.leaser] Snoozing lease management for 8.825278 seconds.
2021-06-01 13:36:14 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsps://stream-eu1-bravo.dropcam.com:443/sdm_live_stream/CiQA2vuxr8oOTYxUNpECwOo2TWeA6xBrOeXuvPA5
-uMGV_IynQScQAE5-74kDXqn-DHlMd1ZwwIWVbSwPok0lEf-kOtw2xssQTpquCiMA2OKys7FUXpeUZ2M9FwFJEmByD2ceTN5b8DBQAFvhDRx6T2drDeFK2nuaoYqmgSG2QewSJDKfyqGJrvDdb0yYsFTzb7KRPAlY-P?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsps://stream-eu1-bravo.dropcam.com:443/sdm_live_stream/CiQA2vuxr8oOTYxUNpECwOo2TWeA6xBrOeXuvPA5
-uMGV_IynQScQAE5-74kDXqn-DHlMd1ZwwIWVbSwPok0lEf-kOtw2xssQTpquCiMA2OKys7FUXpeUZ2M9FwFJEmByD2ceTN5b8DBQAFvhDRx6T2drDeFK2nuaoYqmgSG2QewSJDKfyqGJrvDdb0yYsFTzb7KRPAlY-P?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsps://stream-eu1-bravo.dropcam.com:443/sdm_live_stream/CiQA2vuxr8oOTYxUNpECwOo2TWeA6xBrOeXuvPA5
-uMGV_IynQScQAE5-74kDXqn-DHlMd1ZwwIWVbSwPok0lEf-kOtw2xssQTpquCiMA2OKys7FUXpeUZ2M9FwFJEmByD2ceTN5b8DBQAFvhDRx6T2drDeFK2nuaoYqmgSG2QewSJDKfyqGJrvDdb0yYsFTzb7KRPAlY-P?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 INFO (MainThread) [homeassistant.components.stream] Stopped stream: rtsps://stream-eu1-bravo.dropcam.com:443/sdm_live_stream/CiQA2vuxr8oOTYxUNpECwOo2TWeA6xBrOeXuvPA5
-uMGV_IynQScQAE5-74kDXqn-DHlMd1ZwwIWVbSwPok0lEf-kOtw2xssQTpquCiMA2OKys7FUXpeUZ2M9FwFJEmByD2ceTN5b8DBQAFvhDRx6T2drDeFK2nuaoYqmgSG2QewSJDKfyqGJrvDdb0yYsFTzb7KRPAlY-P?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-_WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 INFO (MainThread) [homeassistant.components.stream] Started stream: rtsps://stream-eu1-charlie.dropcam.com:443/sdm_live_stream/CiQA2vuxr1oA1ssqIptb1Tqd3ezSqV1J5mmfbrwlouzztQGerY8ScQAE5-74rhCZCHslN4NXW3C9PEqSS6np-2EQd3x30QcfyBVBXdP_A10PfTKiLvjwCrudUupXPDDTvRmY8577veuI6V0n_S6t3HBK-g-iCSnaxb3b3EcviPQYfprMFmj6p3WZzThlOZ6hzKD_o0rsy8av?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-_WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsps://stream-eu1-charlie.dropcam.com:443/sdm_live_stream/CiQA2vuxr1oA1ssqIptb1Tqd3ezSqV1J5mmfbrwlouzztQGerY8ScQAE5-74rhCZCHslN4NXW3C9PEqSS6np-2EQd3x30QcfyBVBXdP_A10PfTKiLvjwCrudUupXPDDTvRmY8577veuI6V0n_S6t3HBK-g-iCSnaxb3b3EcviPQYfprMFmj6p3WZzThlOZ6hzKD_o0rsy8av?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-_WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 ERROR (stream_worker) [homeassistant.components.stream.worker] Error opening stream rtsps://stream-eu1-charlie.dropcam.com:443/sdm_live_stream/CiQA2vuxr1oA1ssqIptb1Tqd3ezSqV1J5mmfbrwlouzztQGerY8ScQAE5-74rhCZCHslN4NXW3C9PEqSS6np-2EQd3x30QcfyBVBXdP_A10PfTKiLvjwCrudUupXPDDTvRmY8577veuI6V0n_S6t3HBK-g-iCSnaxb3b3EcviPQYfprMFmj6p3WZzThlOZ6hzKD_o0rsy8av?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-_WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:14 INFO (MainThread) [homeassistant.components.stream] Stopped stream: rtsps://stream-eu1-charlie.dropcam.com:443/sdm_live_stream/CiQA2vuxr1oA1ssqIptb1Tqd3ezSqV1J5mmfbrwlouzztQGerY8ScQAE5-74rhCZCHslN4NXW3C9PEqSS6np-2EQd3x30QcfyBVBXdP_A10PfTKiLvjwCrudUupXPDDTvRmY8577veuI6V0n_S6t3HBK-g-iCSnaxb3b3EcviPQYfprMFmj6p3WZzThlOZ6hzKD_o0rsy8av?auth=g.0.eyJraWQiOiIyMzhiNTUxZmMyM2EyM2Y4M2E2ZTE3MmJjZTg0YmU3ZjgxMzAzMmM4IiwiYWxnIjoiUlMyNTYifQ.eyJzdWIiOiJuZXN0X2lkOm5lc3QtcGhvZW5peC1wcm9kOjIxNDU4NzY0IiwiaXNzIjoibmVzdC1zZWN1cml0eS1hdXRocHJveHkiLCJwb2wiOiIzcC1vYXV0aC1zY29wZS1BUElfU0RNX1NFUlZJQ0UtY2xpZW50LTY2NzcxMjMyMzg3MS02ZHNmZXJkMmhtYWdtc2hyZTMxZWNzMzMwaHR1Nm5pZC5hcHBzLmdvb2dsZXVzZXJjb250ZW50LmNvbSIsImV4cCI6MTYyMjU0NzUxMH0.cLSUGgg9ehzxY7kOSe5dhr6ZLV-DpEv1edS3Qr-YrVqEkOMo6eYdg-U9dAdsvvcxfrFRGsEZzdpXN1LMpRTWFDftb30fHyge6-Pvj7oCWQSFvxbXORNsuciFeB8-deVOdPpXQiyULnH85p-_WMGJ0PJfxWlJAf-Q7NkYbdl8JUtGdkr4zqDkAVIoYS2ErMWilhxB29OnAWVDa5s4vd6-VAJlx7Me4UMnjylkGSKQq0cnqYWKGeciI0cWxcwX7Kvdw8h1eNNGyDT0gBhy3uWRQXFiIR9L0a78sAGsYkKWIraoCEX89QC1s2EVcG6_nq_58XU-iOfl3mNUzS8L3GPQ3w
2021-06-01 13:36:21 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 13:36:21 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.793257 seconds.
2021-06-01 13:36:30 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 13:36:30 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 2.174723 seconds.
2021-06-01 13:36:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] The current deadline value is 10 seconds.
2021-06-01 13:36:32 DEBUG (Thread-LeaseMaintainer) [google.cloud.pubsub_v1.subscriber._protocol.leaser] Snoozing lease management for 8.521190 seconds.

Also simply stream it by an automation to a Google Nest Hub Max doens’t work either.

@BernieV not sure. The error messages aren’t saying much. Which home assistant install method did you use?maybe ffmpeg is missing or something.

@allenporter I have Home Assistant Core 2021.5.5 installed on a Raspberry Pi 2 Model B.
The ffmpeg version is 4.2.2

ffmpeg version 4.2.2 Copyright (c) 2000-2019 the FFmpeg developers
built with gcc 6.3.0 (Raspbian 6.3.0-18+rpi1+deb9u1) 20170516
configuration: --enable-shared --enable-pic
libavutil 56. 31.100 / 56. 31.100
libavcodec 58. 54.100 / 58. 54.100
libavformat 58. 29.100 / 58. 29.100
libavdevice 58. 8.100 / 58. 8.100
libavfilter 7. 57.100 / 7. 57.100
libswscale 5. 5.100 / 5. 5.100
libswresample 3. 5.100 / 3. 5.100
Hyper fast Audio and Video encoder

Ok, looks good. Odd stream wasn’t installed automatically, though? You may want to enable more debugging in pyav to see why opening the stream did not work, though I don’t have the code paths handy. (You can turn off all the google pubsub debugging since it’s not super related to this problem)

@allenporter Yes, correct. Stream: wasn’t in my configuration.yaml and I added this yesterday. Therefore I updated first ffmpeg to the latest version to install the stream components.

Any idea where I can add more debugging to pyav?

Logger: homeassistant.components.stream.worker
Source: components/stream/worker.py:131
Integration: Stream (documentation, issues)
First occurred: 1 juni 2021 16:13:07 (345 occurrences)
Last logged: 8:53:09

@allenporter When I use the property “auto” in stead off “live” in the picture glance card I can see a standstill image when something passes by. So It has to be something with the stream itself.

After some errors with the badnest intergration, i finally found this solution. The nest camera is working fine, but is there maybe something possible with the chime / push button ? When i have a look in the project etc. there seems to be some registrations within the api. But is there somebody who can make this work?
HA has got 1 entity now, that’s the camera (only)

I’ve had this integration working since Dec 2020. Just received this email from Google. Did anyone else get it? Any guidance on how to correct as Google isn’t entirely helpful in how to correct it? Thanks.


Hello Google Developer,

We are writing to let you know that you have inactive OAuth redirect URIs and JavaScript origins in your Google Cloud project that are not in compliance with Google’s OAuth URI validation rules.

  • On July 12, 2021, we will remove all inactive URIs that are invalid.
  • On September 13, 2021, we will remove all URIs that are not in compliance with redirect URIs rules (including formerly inactive URIs trying to become active).

What do I need to do to be compliant?

  • If these inactive OAuth redirect URIs and JavaScript origins are no longer needed, you can remove them from your Google Cloud project. If they remain inactive, they will be automatically deleted after July 12, 2021.
  • If your app still needs to use these URIs, please update your app and OAuth configuration from the Google Developer Console to use redirect URIs or JavaScript origins that are compliant with the OAuth URI validation rules by September 13, 2021.

The following Google Cloud project(s), which has/have registered OAuth redirect URIs and JavaScript origins without usage for over 90 days, and which will be removed by July 12, 2021:

If you have any questions or concerns regarding these changes, please review the documentation provided above in this email.

Yes, i got this email. In my case it was for an extra URI that I had configured that I was not using, so I am fine with proactively removing it or letting them remove it. If this is your primary callback URI then you may have a problem to resolve.

The problem here is likely you have two choices:

  1. configure ssl for your home assistant callback URL (preferred) and use that with Google as your callback
  2. If you’re having trouble doing that as a temporary workaround, go back to Testing this resets your authentication every 2 weeks and is pretty painful.

See Securing - Home Assistant for information on how to configure SSL for Home Assistant either through nabu casa or locally using Let’s Encrypt

To update/see your URLs:

  1. Navigate to cloud console for API & Services and select the cloud Project ID from the email in the drop down at the top
  2. Select Credentials on the left side
  3. Under OAuth 2.0 Client IDs select the Client referenced in the email.
  4. Under URIs you should see the problematic redirect URLs with an error message next to them that needs updating or removal.

The error message I see is Invalid Redirect: This app has a publishing status of "In production". URI must use https:// as the scheme. meaning they need to be using SSL or be removed.

I am glad to see more security standards like this being enforced by Google, with Lets Encrypt to make set up much easier, however I realize it may not be super easy for everyone to configure end-to-end yet.

@BernieV You may try turning up logging for libav and libav.mp4 as well as homeassistant.components.stream to debug. For background on the still images they are either pulled from:

  1. A recent motion/person/sound event pushed by the pubsub feed
  2. Pulled from the stream url, but it using a different library from the playable stream component

Hi @TheCosmicGate I would suggest you check out the Troubleshooting guide on the integrations page as a start. We’re definitely here to help if you have specific questions.

1 Like

that’s exactly what i was looking for, thnx ! Now have to find a way to use this together with NodeRed !

Thank you. So if I simply change http to https in the URL will that satisfy the requirement? I made such a change and the integration is still working (I’m assuming that it forces to http after it attempts https).

I do know how to set up LetsEncrypt so I may go that route. Thank you again.

You can only use ssl if you use ssl to access home assistant over ssl. However it won’t immediately break if you change it since the API calls in the background don’t care about this setting. This is all about a setting that comes into play at authorization time. Your integration will keep working fine until you need to refresh the credential for some reason and go through the whole flow again. This isn’t common, but important to keep working.

I hope that context helps!

@huntrm or others I also found Effortless encryption with Let's Encrypt and DuckDNS - Home Assistant which shows how easy ssl is with duckdns with hass.io.

@allenporter Did an inplace upgrade from stretch to buster and now the I can see the livestream in HA :slight_smile:
Thank you for the support!