My Nest doorbell (battery) works like a charm. When I press the button it sends a notification perfectly (on Telegram or with iOS HA app notification). Now I am trying to add a clip preview, since it is marked as possible for this model (mp4 & gif). But when I do, with the provided path (below), I get the message but the image is reading “Response status code was unacceptable: 404.”
Did I missed something (maybe from Google Panel side) ?
Maybe I need to delay the notification so the image can be uploaded to the cloud ?
Hmm, my impression is we wait for the video fetch to finish before sending the event to avoid that kind of race. It makes events a little slower but then makes followups more reliable.
If this isn’t the case maybe there is a bug. If you have any data or debug info that would be helpful as I don’t have a lot of spare cycles to investigate. My impression is the debug logs for this and the sdm python library should be sufficient to get details on timing.
I’m quite sure my YAML configuration is wrong / missing the correct media path.
With file explorer i see the path would be: /config/nest/event_media/[device-id]/[file name with random number]-doorbell_chime.mp4
I don’t completely get from @allenporter guide what the correct solution is. Did someone figured this out or can someone post a working example YAML?
UPDATE: It suddenly just works. So for anyone with problems, you can use mine as a example. Please note, you can’t test/trigger the automation manually since it will be missing the attachment files.