]> www.average.org Git - loctrkd.git/blob - debian/gps303.conf
Add googlemaps lookaside backend
[loctrkd.git] / debian / gps303.conf
1 [collector]
2 # configure your gps terminal with this SMS:
3 # "server#<your_server_ip_or_fqdn>#4303#"
4 port = 4303
5 publishurl = ipc:///var/lib/gps303/collected
6 listenurl = ipc:///var/lib/gps303/responses
7
8 [wsgateway]
9 port = 5049
10 htmlfile = /var/lib/gps303/index.html
11
12 [storage]
13 dbfn = /var/lib/gps303/gps303.sqlite
14
15 [lookaside]
16 # "opencellid" and "googlemaps" can be here. Both require an access token,
17 # though googlemaps is only online, while opencellid backend looks up a
18 # local database, that can be updated once a week or once a month.
19 backend = opencellid
20
21 [opencellid]
22 dbfn = /var/lib/opencellid/opencellid.sqlite
23 # for testing: run `python -m http.server --directory <your_dir>` and use this:
24 # downloadurl = http://localhost:8000/<your_mcc>.csv.gz
25 # then the next two statements will be ignored
26 downloadtoken = /var/lib/opencellid/opencellid.token
27 downloadmcc = 262
28
29 [termconfig]
30 statusIntervalMinutes = 25
31 uploadIntervalSeconds = 0x0300
32 binarySwitch = 0b00110001
33 alarms =
34  0
35  0
36  0
37 dndTimeSwitch = 0
38 dndTimes =
39  0
40  0
41  0
42 gpsTimeSwitch = 0
43 gpsTimeStart = 0
44 gpsTimeStop = 0
45 phoneNumbers =
46  ""
47  ""
48  ""