Hi,
I have below automation set up, but whatever I try for the location of the image i cannot get it to be displayed in notification window. I am accessing my instance via https://myhostname.ddns.net:8123. Can someone please help me and show what am I putting wrong in the url for the image? I can see the image is being created. I have tried putting the image in both www and accessing it by local, and as can be seen below thorugh my Synology drive
alias: Domofonn
description: “”
trigger:
- platform: state
entity_id:- binary_sensor.domofon_dzwonek
to: “on”
condition:
action:
- binary_sensor.domofon_dzwonek
- service: camera.snapshot
metadata: {}
data:
filename: /media/synolog/frontyard.jpg
target:
device_id: 94374e86a97fabccdc455105d5a2df97 - delay:
hours: 0
minutes: 0
seconds: 2
milliseconds: 0 - service: notify.mobile_app_sm_s901b
data:
message: Domofon
data:
attachment:
content-type: jpg
hide-thumbnail: false
image: http://myhostname.ddns.net/media/synolog/frontyard.jpg