How to track your location to Dawarich with GPSLogger - Freika/dawarich GitHub Wiki
Kudos to @werner-kapferer-lgs for this! Source
The configuration of GPSLogger is pretty simple and straightforward, so I want to share it with you:
-
URL:
http://<your-dawarich-instance>/api/v1/owntracks/points?api_key=YOUR_API_KEY
-
HTTP Body:
{ "_type" : "location", "t": "u", "acc": "%ACC", "alt": "%ALT", "batt": "%BATT", "bs": "%ISCHARGING", "lat": "%LAT", "lon": "%LON", "tst": "%TIMESTAMP", "vel": "%SPD_KPH" }
If there is no
HTTP Body
, useHTTP-Text
instead:HTTP-Text:
_type=location&t=u&acc=%ACC&alt=%ALT&batt=%BATT&bs=%ISCHARGING&lat=%LAT&lon=%LON&tst=%TIMESTAMP&vel=%SPD_KPH
-
HTTP-Headers:
Content-Type: application/json
-
HTTP-Method:
POST