home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
71.17k stars 29.85k forks source link

Nest Doorbell (1st gen) receiving motion, person events, but no automation triggered #117605

Open devinbinnie opened 4 months ago

devinbinnie commented 4 months ago

The problem

I've setup my Google Nest integration and am able to view my camera streams. I've setup an automation that should start recording once an event triggers on the camera, but no automation is triggered. As an aside, I have a second camera (a Google Nest Indoor Cam) that DOES seem to trigger automations for motion however.

I am seeing the events received by Home Assistant in the DEBUG logs.

What version of Home Assistant Core has the issue?

core-2024.5.3

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Google Nest

Link to integration documentation on our website

No response

Diagnostics information

nest-f7bc66f53d248674268981d7dea932e2-Front Door-0de039d0b17d8e00c809f666ee0646cd.json

Example YAML snippet

- id: '1715567782966'
  alias: Front door record
  description: ''
  trigger:
  - platform: device
    device_id: 0de039d0b17d8e00c809f666ee0646cd
    domain: nest
    type: camera_motion
  - platform: device
    device_id: 0de039d0b17d8e00c809f666ee0646cd
    domain: nest
    type: camera_person
  - platform: device
    device_id: 0de039d0b17d8e00c809f666ee0646cd
    domain: nest
    type: doorbell_chime
  condition: []
  action:
  - service: notify.notify
    metadata: {}
    data:
      message: Front door recording
      title: Front door
  - service: camera.record
    metadata: {}
    data:
      duration: 10
      lookback: 5
      filename: /recordings/front_door/{{ now().strftime('%Y-%m-%d-%H-%M-%S') }}.mp4
    target:
      device_id: 0de039d0b17d8e00c809f666ee0646cd
  mode: single

Anything in the logs that might be useful for us?

2024-05-16 16:08:59.731 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': '714b51b1-efea-4b9c-9e8b-c1804ddb50b5', 'timestamp': '2024-05-16T20:08:20.108Z', 'resourceUpdate': {'name': 'enterprises/2be2933d-a755-4c6e-96dd-21b33d313572/devices/AVPHwEvAs5EQHE7Czbz4uBQSChUu_WY18sZa37tidAVbmrt_ThiFHiFnqu9dwNH8BCmPpK8uFgl1iUGXkK6oFqzOZ7JfDg', 'events': {'sdm.devices.events.CameraMotion.Motion': {'eventSessionId': 'AVPHwEsNKg4kSjCYuA1fHOHADObW1SrQrJYtnvHSKgKE9G41badgrE2_X1pszBYV-AK5Plg8Q-9AVHTJ9L3EzRxV8jJ08A', 'eventId': 'CiUA2vuxrxGIpVao2TGPPNV9PVrDAtkI0J5d2uGMHV245a1aycLoEsABAAxl-dl826z-j7KW3s9BeJxZl--13TKtM16bdaFqZkz3WJw5qbplUJZvpnJG1vU09gv7OevDTvG92RdbMVM1bLNt1cizhY5YOFnfBDez70C6kkJxR8B4WpB5lQDvD-vBF45bW47QrvBkgKo7Y-5L98nV5944_GkTCrEMGNdhXSJlW5FxG-M1AJL1z01o2a-KVoUadzX5duxJ3TyAU78GxJEcoc0vCZg2lURk6xK8nubEkYhG1FCA9_K11_ot-LpJ'}}}, 'userId': 'AVPHwEuwa7AMeOIxmumcvlfSlXaoqXOW7vD7sIiiDho0', 'resourceGroup': ['enterprises/2be2933d-a755-4c6e-96dd-21b33d313572/devices/AVPHwEvAs5EQHE7Czbz4uBQSChUu_WY18sZa37tidAVbmrt_ThiFHiFnqu9dwNH8BCmPpK8uFgl1iUGXkK6oFqzOZ7JfDg']}
2024-05-16 16:08:59.732 DEBUG (MainThread) [google_nest_sdm.device] Processing update 714b51b1-efea-4b9c-9e8b-c1804ddb50b5 @ 2024-05-16 20:08:20.108000+00:00
2024-05-16 16:08:59.732 DEBUG (MainThread) [google_nest_sdm.event_media] Event Update dict_keys(['AVPHwEsNKg4kSjCYuA1fHOHADObW1SrQrJYtnvHSKgKE9G41badgrE2_X1pszBYV-AK5Plg8Q-9AVHTJ9L3EzRxV8jJ08A'])
2024-05-16 16:08:59.758 DEBUG (MainThread) [google_nest_sdm.event_media] Message did not contain notifiable events
2024-05-16 16:08:59.820 DEBUG (MainThread) [google_nest_sdm.event_media] Checking cache size 250
2024-05-16 16:08:59.822 DEBUG (MainThread) [google_nest_sdm.event] EventMessage raw_data={'eventId': 'e64b4baa-cb16-43b0-adac-41be722cf6b4', 'timestamp': '2024-05-16T20:08:21.142Z', 'resourceUpdate': {'name': 'enterprises/2be2933d-a755-4c6e-96dd-21b33d313572/devices/AVPHwEvAs5EQHE7Czbz4uBQSChUu_WY18sZa37tidAVbmrt_ThiFHiFnqu9dwNH8BCmPpK8uFgl1iUGXkK6oFqzOZ7JfDg', 'events': {'sdm.devices.events.CameraPerson.Person': {'eventSessionId': 'AVPHwEsNKg4kSjCYuA1fHOHADObW1SrQrJYtnvHSKgKE9G41badgrE2_X1pszBYV-AK5Plg8Q-9AVHTJ9L3EzRxV8jJ08A', 'eventId': 'CiUA2vuxr5Q1bTUYQepkRJB0_1PjhFXIAeEX0U2W1CZUp2-V4b1iEsABAAxl-dlYo2MAmtO--NvMdW67QvokhEg2jri4NLc41w_vzk1nhfywAMs32npEOMyH_4wUiwlA5ma8JUysGXbqeg_Cgefb2X-1XtKYbt2CZl5P_TRy_gEnoRd4D9U_fqE2SSfrol0aMkd8czuT52MW05KGwwlUlN5tQxmI9wbYwdjuqNmo1sFAV6iRdm2BrbA-PY5hoe-WeAWd9gdKpEthaMk2ETrpWxD5i_odOWS-XuSpRTUR8tGNNyYdKUkW5DSF'}}}, 'userId': 'AVPHwEuwa7AMeOIxmumcvlfSlXaoqXOW7vD7sIiiDho0', 'resourceGroup': ['enterprises/2be2933d-a755-4c6e-96dd-21b33d313572/devices/AVPHwEvAs5EQHE7Czbz4uBQSChUu_WY18sZa37tidAVbmrt_ThiFHiFnqu9dwNH8BCmPpK8uFgl1iUGXkK6oFqzOZ7JfDg']}
2024-05-16 16:08:59.822 DEBUG (MainThread) [google_nest_sdm.device] Processing update e64b4baa-cb16-43b0-adac-41be722cf6b4 @ 2024-05-16 20:08:21.142000+00:00
2024-05-16 16:08:59.822 DEBUG (MainThread) [google_nest_sdm.event_media] Event Update dict_keys(['AVPHwEsNKg4kSjCYuA1fHOHADObW1SrQrJYtnvHSKgKE9G41badgrE2_X1pszBYV-AK5Plg8Q-9AVHTJ9L3EzRxV8jJ08A'])
2024-05-16 16:08:59.841 DEBUG (MainThread) [google_nest_sdm.event_media] Message did not contain notifiable events
2024-05-16 16:08:59.882 DEBUG (MainThread) [google_nest_sdm.event_media] Checking cache size 250

Additional information

No response

devinbinnie commented 3 months ago

bump

issue-triage-workflows[bot] commented 2 weeks ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

devinbinnie commented 2 weeks ago

Bump. Still an issue on 2024.8.3.

Also you guys shouldn't be marking tickets as stale if they haven't even been looked at by anyone ;)