Hi everyone,
a few days ago I bought an August doorbell (1st gen) and integrated it to HA.
It contains such entities:
binary_sensor.doorbell_ding
binary_sensor.doorbell_motion
binary_sensor.doorbell_online
camera.doorbell_camera
sensor.doorbell_battery
My goal is to send a screenshot to Telegram chat with every motion triggering.
Every time when motion is detected August integration loads the last camera snapshot from the August server to HA.
CAMERA
Theaugust
camera platform allows you to view the latest camera image (triggered by motion) by your August device in Home Assistant.
The problem is that motion status is set to ON for about 1 hour after each detection. So it doesn’t work as expected.
If reload HA or set the motion status OFF manually via States page everything works well:
the new image is loaded from August server and it sends a notification with the latest image.
When the motion status is ON it doesn’t load the image from the external server and doesn’t send anything but it shows the motion detected warning with a video in the August application.
Also, it works in the same way for doorbell binary_sensor.doorbell_ding
- id: 'doorbell_motion_detected'
alias: Doorbell Motion Detected
trigger:
- platform: state
entity_id: binary_sensor.doorbell_motion
to: 'on'
action:
- data:
message: 🧍️ Motion has been detected near the Front Door
service: notify.telegram_2
- data:
entity_id: camera.doorbell_camera
filename: /tmp/snapshot1.jpg
service: camera.snapshot
- service: notify.telegram_2
data:
title: Doorbell image
message: "Doorbell image"
data:
photo:
- file: /tmp/snapshot1.jpg
caption: Doorbell