From 49d7f23f4f98b0b9878c4c83efb2929440fbcca5 Mon Sep 17 00:00:00 2001 From: godloth Date: Fri, 13 Jan 2017 17:50:56 -0500 Subject: [PATCH] made it more usable (#1761) updated the file to make it more usable and readable on the website --- source/_components/device_tracker.gpslogger.markdown | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/source/_components/device_tracker.gpslogger.markdown b/source/_components/device_tracker.gpslogger.markdown index cbba3e16f65..e49430a54b4 100644 --- a/source/_components/device_tracker.gpslogger.markdown +++ b/source/_components/device_tracker.gpslogger.markdown @@ -25,7 +25,11 @@ device_tracker: - [GPSLogger for Android](https://play.google.com/store/apps/details?id=com.mendhak.gpslogger) -To configure GPSLogger, you must set up the app to send a `GET` request to your Home Assistant server at `http:///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=` to the end of the URL). Configure that options under "General Options": +To configure GPSLogger, you must set up the app to send a `GET` request to your Home Assistant server at +```yaml +`http:///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=` to the end of the URL). Configure that options under "General Options": - Start on boot: yes - Start on app launch: yes @@ -34,7 +38,10 @@ Set the URL under "General Options -> Logging details": - Log to GPX: no - Log to KML: no -- Log to custom URL: yes and set `http:///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=`) if needed, or you can also use HTTP Basic authentication `http://:@/api/gpslogger...`) +- Log to custom URL: yes and set +```yaml +`http:///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=`) if needed, or you can also use HTTP Basic authentication `http://:@/api/gpslogger...`) +``` - Log to OpenGTS Server: no - Log to Plain Text: no - Log to NMEA: no