A few weeks ago I went through the latest nest integration. It all worked, and I can see our camera feeds.
Today I tried to create an automation that senses our doorbell button press and invokes a service. The problem is that when I press the button, the event is not reliably “seen” by HA.
Interestingly if I go to Media → Nest I can see the “Doorbell” button press events, so at some level HA is aware that the event happened. But these events are not consistently visible at the automation level.
I created the automation using the HA GUI. Here’s the YAML equivalent (with the device ID hidden):
alias: Doorbell Chime
description: ""
trigger:
- platform: device
device_id: <hidden>
domain: nest
type: doorbell_chime
condition: []
action:
- service: esphome.doorbell_chime_dfplayer_play
data:
file: 1
mode: single
When searching similar issues, some folks recommended checking the Google pub/sub console. I tried poking around in Google-land, but have to admit that it’s really a complicated place. I don’t know where to look for these events.
And in any case, I’m not sure it’s relevant given that I can see clips of the doorbell press in the Media → Nest folder. If HA knows to record these snapshots, how is the button press event getting lost at the automation level?
I tried restarting HA, and after it came up the automation worked exactly once. Attempts at pressing the doorbell button after that did nothing.
I tried changing the automation’s Mode from Single, to Restart, to Queued. There was no change in the results. It seems like button presses are sometimes detected, but often they are not.
Any thoughts as to how I can resolve this?
Thanks in advance for any help!