Use trigger.event.data.path instead of trigger.event.data.folder
hi all same mather.
but good issus on android. and HASSIO os
sorry for my english.
i 'm french
use : : Folder watcher
# voie si un jpg à été ajouté
folder_watcher:
- folder: /share
patterns:
- '*.jpg'
- folder: /config/www
patterns:
- '*.jpg'
and configuration.yaml: https://www.home-assistant.io/docs/configuration/basic/#allowlist_external_urls
homeassistant:
# authorise d'utiliser les fichiers
allowlist_external_dirs:
- /config
- /share
and template dir/ (for android notify)
title: New image captured!
message: Alarme caméra
data:
image: >-
https://XXXX.freeboxos.fr/local/mages/192.168.0.X4_XXXxe8efd7/{{
now().strftime("%Y-%m-%d") }}/01/pic//{{trigger.event.data.file}}
local= config/www.
see you stefan
3 Likes