forked from mrmay-dev/owntags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.toml
37 lines (33 loc) · 2.02 KB
/
settings.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# https://practicalgit.com/blog/make-git-ignore-local-changes-to-tracked-files.html
# https://realpython.com/python-toml/#load-toml-with-python
[owntag_options]
password = "password" # macOS password
print_history = 1
# positive numbers (4), the number of messages you want to see
# negative numbers (-1) will print all fetched locations,
# 0 will turn printing fetched locations off
status_msg = false # publish status and metadata
# Status messages can be sent to an MQTT Topic
status_base = "status/owntags" # topic for status messages
[mqtt_secrets]
mqtt_broker = "your-broker.com" # broker address
mqtt_port = 1883 # 1883 if no TLS; 8883 if TLS
mqtt_tls = "None" # Comment out if using TLS
mqtt_user = "username" # Broker user
mqtt_pass = "password" # Broker password
# [mqtt_secrets.mqtt_tls] # If TLS is activated, use this
# ca_certs = "output/isrgrootx1.cer" # where the cert file located
# download HiveMQ certificate: https://community.hivemq.com/t/frequently-asked-questions/514
# create users at https://console.hivemq.com
[owntracks_options]
owntracks_device = "owntracks/user" # Topic Base of your phone, used for waypoints
owntags_base = nan # topic Base for tags. If `nan` owntracks_devce will be used.
[tag_options.prefix]
location = true # (not required) locations are seen by everyone with access to the topic (they act like users)
waypoint = false # (not required) waypoints are only seen on your phone (or device)
timestamp = 1000000001 # (required for wayponts) Must be unique, can be any past Unix/Posix timestamp.
radius = false # (not required) use number for radius in meters, if `false` turn off, if `true` use confidence
mqtt_topic = nan # (not required) topic for this tag, if `nan` owntags_base will be used
status_topic = false # (not required) if `True` messages will be published to `status_base`/prefix
# tag_name = "Tag Name" # (not implementented, yet) the display name of the tag
# tag_image = nan # (not implementented, yet) base 64 encoded, 200x200, PNG or JPEG image