I have an automation which sends a message including a picture to my cell phone when someone rings the doorbell.
This works quite well so far with two exceptions:
the message arrives sometimes extremely delayed. Mostly it comes 10-15 seconds after the bell was pressed. Maybe even faster. Sometimes it takes up to 10 minutes. Once I even got the message only after half an hour.
What could be that?
I have set the automation so that the doorbell camera takes a snapshot and attaches it to the message. This worked fine for quite some time. However, lately I always get the same snapshot in the message.
If I look in the “config/www” where the snapshot should be stored temporarily everything fits. There is always the most current image to see. Only to the message some older one is attached.
Can you explain this to me?
Here is the automation:
alias: Benachrichtigung an Handy wenn jemand an der TĂĽr klingelt
description: >-
Es wird eine Benachrichtigung an mein Handy geschickt wenn jemand an der TĂĽr
klingelt und beim anklicken der Nachricht wird ein Livestream geöffnet
trigger:
- type: turned_on
platform: device
device_id: a8dd4b07084a04045e5465169b4f6bd0
entity_id: binary_sensor.tuerklingel_visitor
domain: binary_sensor
condition: []
action:
- service: camera.snapshot
data:
filename: /config/www/tmp/snapshot-tuerklingel.jpg
target:
entity_id: camera.tuerklingel_sub
- service: notify.mobile_app_galaxy_s10
data:
message: Da ist jemand an der HaustĂĽr
title: TĂĽrklingel wurde gedrĂĽckt
data:
image: https://url-to ha/local/tmp/snapshot-tuerklingel.jpg
entity_id: camera.tuerklingel_sub
actions:
- action: URI
title: Ă–ffne Kameras
uri: https://url-to-ha/dashboard-testseite/0
mode: single
Hi
thanks again. I actually forgot to remove my URL…
I took your suggestion and programmed it accordingly. But with the same result.
I still get an old image. What makes me wonder. It is always the same picture.
Is there possibly some cache or so???
Joe
Hello,
I also have this automation but the following problem. Sometimes HA just sends me pieces of the photo to my cell phone. Sometimes the entire image is displayed and sometimes only the top part. The photo is always completely in the media folder in HA. Does anyone have an idea why this could be?