-
Notifications
You must be signed in to change notification settings - Fork 1
/
recorder.conf
96 lines (66 loc) · 2.16 KB
/
recorder.conf
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
#(@)ot-recorder.default
#
# Specify global configuration options for the OwnTracks Recorder
# and its associated utilities to override compiled-in defaults.
# Lines beginning with # are comments
# *** In libconfig versions < 1.4 a trailing semicolon is mandatory
# -----------------------------------------------------
# Storage directory
#
OTR_STORAGEDIR="/var/lib/ot-recorder/store"
# -----------------------------------------------------
# Address or hostname of the MQTT broker
#
OTR_HOST="localhost"
# -----------------------------------------------------
# Port number of the MQTT broker. Defaults to 1883.
# MQTT can be disabled by setting this to 0.
#
OTR_PORT=1883
# -----------------------------------------------------
# Username for the MQTT connection
#
# OTR_USER=""
# -----------------------------------------------------
# Password for the MQTT connection
#
# OTR_PASS=""
# -----------------------------------------------------
# QoS for MQTT connection
#
OTR_QOS=0
# -----------------------------------------------------
# MQTT clientid (default is constant+hostname+pid)
#
OTR_CLIENTID="ot-recorder"
# -----------------------------------------------------
# Path to PEM-encoded CA certificate file for MQTT (no default)
# OTR_CAFILE=""
# -----------------------------------------------------
# Address for the HTTP module to bind to (default: localhost)
#
OTR_HTTPHOST="0.0.0.0"
# -----------------------------------------------------
# Port number for the HTTP module to bind to (default: 8083)
#
OTR_HTTPPORT=8083
# -----------------------------------------------------
# optional path to HTTP directory in which to store
# access log. Default is to not log access
# OTR_HTTPLOGDIR=""
# -----------------------------------------------------
# API key for reverse-geo lookups
#
# OTR_GEOKEY=""
# -----------------------------------------------------
# Reverse geo precision
#
OTR_PRECISION=7
# -----------------------------------------------------
# Browser API key for Google maps
#
# OTR_BROWSERAPIKEY=""
# -----------------------------------------------------
# List of topics for MQTT to subscribe to, blank separated in a string
#
OTR_TOPICS="owntracks/+/+"