I have the an automation set up on Nest Video Doorbell as the following:
alias: Hello Doorbell Person Detected
description: Record a video when a person is detected by Hello Video Doorbell
trigger:
- platform: device
device_id: 35fb51270433531b21def80a4b34a2c4
domain: nest
type: camera_person
condition: []
action:
- parallel:
- alias: Take a video
service: script.turn_on
target:
entity_id: script.camera_recording
data:
variables:
camera: camera.hello_video_doorbell
video_duration: 35
video_lookback: 20
video_destination: /CCTV/Hello_Doorbell/{{ d }}/Person_Detected/{{ t }}.mp4
- alias: send mobile messages to adults
service: notify.ADULT_MOBILES
data:
message: >-
Hello Doordell - A Person Detected. Device ID. /{{
trigger.event.data.device_id }}/ Trigger ID
/{{trigger.event.data.nest_event_id }}/
data:
entity_id: camera.hello_video_doorbell
image: >-
/api/nest/event_media/{{ trigger.event.data.device_id }}/{{
trigger.event.data.nest_event_id }}/thumbnail
video: >-
/api/nest/event_media/{{ trigger.event.data.device_id }}/{{
trigger.event.data.nest_event_id }}
url: /lovelace/frigate
clickAction: /lovelace/frigate
variables:
t: "{{ now().strftime('%Y-%m-%d %H-%M-%S') }}"
d: "{{ t[:10] }}"
mode: single
The clip and image do not show up on the notifications of iPhones nor iPads. I can read the Device ID and Trigger ID are sent in the notification. Please let me know how to fix it. Thanks in advance.