-
Notifications
You must be signed in to change notification settings - Fork 8
/
qtripp.ini.sample
61 lines (52 loc) · 1.43 KB
/
qtripp.ini.sample
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
;
; do NOT put strings in quotes
[defaults]
listen_port = 1492
;
; datalog will be used to log incoming data from devices
datalog = data.log
;
; logfile is a, well, a log file
logfile = qtripp.log
; if debughex is set it points to a file into which I/O
; is written
; debughex = debug.hex
; for commands which cause qtripp to store something
; this directory, if configured, must exist and be writeable
dumpdir = dump/
; incoming data files are written into this directory
datadir = data/
; path to CDB containing names and extra data in JSON, keyed on IMEI
;
; cat <<! | cdb -c -m /tmp/my.db
; 123456789012345 my-car
; 123456789012345-json { "plate" : "LA-RG-0", "numero" : 859 }
; !
;
cdb_path = my.cdb
; the `[devices]` section lists a topic to publish to for a particular device.
; For example, the device with the deviceId `543210987654321` will publish to
; `owntracks/gv65/54321`, and unlisted devices (`*`) will publish
; to `owntracks/qtripp/<deviceId>`.
; (The topic branch for the wildcard device `*` MUST end in a slash.)
[devices]
543210987654321 = owntracks/gv65/54321
* = owntracks/qtripp/
[mqtt]
host = 127.0.0.1
port = 1883
#username =
#password =
cafile =
certfile =
client_id = qtripp
keyfile =
subscribe= owntracks/qtripp/+/cmd
reporttopic = owntracks/qtripp
rawtopic = owntracks/rawtripp
; beanstalkd support needs to be compiled in to qtripp for these
; parameters to take effect
[bean]
host = 127.0.0.1
port = 11300
tube = qtripp