2025-03-08 18:07:31 +01:00
|
|
|
# First positional argument '%s' is Traccar device name, second
|
|
|
|
# positional argument '%s' is geofence name, third one is battery level.
|
|
|
|
# This cannot be switched around, please word your message accordingly.
|
|
|
|
# Notice how a line break takes the form '\\n', that's two backslashes.
|
|
|
|
message_geofence_enter='%s entered geofence %s.\\n\\nBattery level %s%%.'
|
|
|
|
message_geofence_exit='%s left geofence %s.\\n\\nBattery level %s%%.'
|
|
|
|
|
|
|
|
# Argument '%s' is Traccar device name
|
|
|
|
message_device_online='On %s Traccar Client app is now active.'
|
|
|
|
message_device_unknown='On %s Traccar Client app has not checked in for 10 minutes, the app is likely off now.'
|
|
|
|
message_device_offline='On %s Traccar Client app is now off.'
|
|
|
|
|
|
|
|
# Argument '%s' is Traccar device name but this one unlike the three
|
|
|
|
# message strings before is used as stdout log output when the device ID
|
|
|
|
# that triggered an event doesn't match our allow list in
|
|
|
|
# allow_unique_device_ids_posix_ere, see below. Note a trailing '\n'
|
|
|
|
# (backslash-n) at the end of this string. This is a Bash printf
|
|
|
|
# replacement string.
|
|
|
|
message_device_unhandled='For %s we do not want to send Signal messages. Nothing to do.\n'
|
|
|
|
|
|
|
|
# First positional argument '%s' is Traccar device name, second
|
|
|
|
# positional argument '%s' is event name. This cannot be switched
|
|
|
|
# around, please word your message accordingly.
|
|
|
|
message_event_other='%s triggered event "%s" in Traccar server.'
|
|
|
|
|
|
|
|
# If this is a non-empty value we'll use it to only handle Traccar
|
|
|
|
# events for these unique device IDs. Events triggered by other device
|
|
|
|
# IDs will be discarded. If this is an empty string or if it's not
|
|
|
|
# declared at all we'll handle events for all device IDs. In Traccar
|
|
|
|
# server every device has a unique ID that's distinct from its
|
|
|
|
# pretty-printed device name. This is a Posix Extended Regular
|
|
|
|
# Expression (ERE). Most Perl-Compatible Regular Expression (PCRE)
|
|
|
|
# syntax works. Most notably lookarounds are unsupported in ERE.
|
|
|
|
allow_unique_device_ids_posix_ere='^(901874|81919333|9991212)$'
|
|
|
|
|
2025-03-09 05:13:31 +01:00
|
|
|
# signal-cli-rest-api config. These are all mandatory. Leaving them
|
|
|
|
# empty or not declaring them at all will cause the script to exit.
|
2025-03-08 18:07:31 +01:00
|
|
|
signal_sender_phone_number='+18005550199'
|
|
|
|
signal_recipients_array='["group.ImxvbmdpdH=","recipient.21","+18005550111","i-am-a-uuid"]'
|
|
|
|
signal_api_endpoint_full_path='https://fully.qualified.domain.name/v2/send'
|