Skip to content

Commit 49d7f23

Browse files
godlothfabaff
authored andcommitted
made it more usable (home-assistant#1761)
updated the file to make it more usable and readable on the website
1 parent 698c3f2 commit 49d7f23

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

source/_components/device_tracker.gpslogger.markdown

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,11 @@ device_tracker:
2525
2626
- [GPSLogger for Android](https://play.google.com/store/apps/details?id=com.mendhak.gpslogger)
2727
28-
To configure GPSLogger, you must set up the app to send a `GET` request to your Home Assistant server at `http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT`. Make sure to include the API password if you have configured a password in Home Assistant (add `&api_password=<password>` to the end of the URL). Configure that options under "General Options":
28+
To configure GPSLogger, you must set up the app to send a `GET` request to your Home Assistant server at
29+
```yaml
30+
`http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT`
31+
```
32+
. Make sure to include the API password if you have configured a password in Home Assistant (add `&api_password=<password>` to the end of the URL). Configure that options under "General Options":
2933

3034
- Start on boot: yes
3135
- Start on app launch: yes
@@ -34,7 +38,10 @@ Set the URL under "General Options -> Logging details":
3438

3539
- Log to GPX: no
3640
- Log to KML: no
37-
- Log to custom URL: yes and set `http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT` (be sure you include API password (`&api_password=<password>`) if needed, or you can also use HTTP Basic authentication `http://<username>:<password>@<ha_server>/api/gpslogger...`)
41+
- Log to custom URL: yes and set
42+
```yaml
43+
`http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&device=%SER&accuracy=%ACC&battery=%BATT&speed=%SPD&direction=%DIR&altitude=%ALT&provider=%PROV&activity=%ACT` (be sure you include API password (`&api_password=<password>`) if needed, or you can also use HTTP Basic authentication `http://<username>:<password>@<ha_server>/api/gpslogger...`)
44+
```
3845
- Log to OpenGTS Server: no
3946
- Log to Plain Text: no
4047
- Log to NMEA: no

0 commit comments

Comments
 (0)