Device tracker GpsLogger : Change the device name (#3606)

Explain how to change the device name in the URL
This commit is contained in:
Boced66 2017-10-14 17:42:40 +02:00 committed by Fabian Affolter
parent 30c4700c30
commit b4a92c15ec

View File

@ -29,7 +29,9 @@ To configure GPSLogger, you must set up the app to send a `GET` request to your
```yaml ```yaml
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 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": 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).
You can change your device name by editing "%SER" in this URL (e.g.: &device=user_devicename)
Configure that options under "General Options":
- Start on boot: yes - Start on boot: yes
- Start on app launch: yes - Start on app launch: yes
@ -43,6 +45,7 @@ Set the URL under "General Options -> Logging details":
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 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...`) (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...`)
(You can change your device name by editing "%SER" in this URL (e.g.: &device=user_devicename))
- Log to OpenGTS Server: no - Log to OpenGTS Server: no
- Log to Plain Text: no - Log to Plain Text: no
- Log to NMEA: no - Log to NMEA: no