Hi community,
I’ve trouble to send notifications with images to my iOS device. Multiple configs have been used from the community, but none it working. Trigger notifications works fine. But the image is missing I don’t see is neiher in the preview as icon nor in the message itself.
It was tested accessing the jpg file file via browser. So it is there and I can access it. But it is not considered in my notification.
Also tried chatgpt and copilot to review my code. But no major findings. Hope somebody has an advice.
alias: Bewegung_Vordertür
description: Push mit Snapshot
trigger:
- platform: state
entity_id: binary_sensor.vordertur_motion_detected
to: "on"
action:
- service: camera.snapshot
data:
entity_id: camera.vordertur
filename: "/config/www/camera.vordertur_snapshot.jpg"
- delay: "00:00:02"
- service: notify.mobile_app_<device_name>
data_template:
title: "🚨 Bewegung an der EufyCam"
message: "Sieh Dir das Bild an"
data:
color: red
content-type: jpg
attachment: "/local/camera.vordertur_snapshot.jpg"
lazy: true
Thanks.