ansible-role-motion/templates/motion_hass.conf.j2

6 lines
749 B
Text
Raw Normal View History

2023-03-17 14:46:02 +01:00
hass_token='{{ vault_haos_api_calls_token }}'
2023-03-20 21:04:27 +01:00
hass_uri='{{ home_assistant_server_uri }}'
2023-03-17 14:46:02 +01:00
motion_config='/etc/motion/motion.conf'
# debug_level='DEBUG'
2023-03-20 23:44:17 +01:00
on_movie_end="/usr/local/bin/process_motion_event.sh --signal-alert --ntfy-server '{{ motion_bot_ntfy_server }}' --ntfy-user '{{ motion_bot_ntfy_username }}' --ntfy-password-file '{{ motion_bot_ntfy_password_file }}' --remove-picture --email-destination '{{ recipient }}' --home-assistant-url '{{ home_assistant_server_uri }}' --home-assistant-token '{{ vault_haos_api_calls_token }}' --signal-destination '+358401871182' -e 'on_movie_end' -t '%t' -w '%w' -J '%J' -i '%i' -C '%C' -o '%o' -c '%$' -v '%v' -D '%D' -h '%h' -K '%K' -L '%L' -f '%f' -Q '%Q' -F '%fps' -q '%q' -N '%N' -n '%n' -h '%host'"