I have my nest cam set up with HA, now I’m curious if I can get HA to grab the still image its displaying on my overview panel and place it with my doorbell notification.
you’d create an automation along this lines:
- id: doorbell_chime
alias: Doorbell chime
initial_state: true
trigger:
- platform: state
entity_id: binary_sensor.doorbell_chime
from: 'off'
to: 'on'
# for: 00:00:15
action:
- service: camera.snapshot
data:
entity_id: camera.front_door
filename: '/config/www/doorbell/tmp/image.jpg'
- delay: 00:00:02
- service_template: notify.your_mobile
data:
message: "Doorbell Rung"
data:
tag: alert
image: "http://<hass.ip>/local/doorbell/tmp/image.jpg"
This probably will stop working.
Nest is killing there API. Not sure if this component uses legit API or not.
Just fyi
EDIT
The cam not the notification automation
I saw that…complete merger with google now. Should make things interesting.