Site updated at 2017-03-01 08:27:56 UTC
This commit is contained in:
parent
8396ff23a6
commit
f4782e1c09
25 changed files with 41 additions and 40 deletions
|
@ -107,7 +107,7 @@
|
|||
</ul>
|
||||
|
||||
<p>To configure GPSLogger, you must set up the app to send a <code class="highlighter-rouge">GET</code> request to your Home Assistant server at</p>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="err">`</span><span class="s">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`</span>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">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</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>. Make sure to include the API password if you have configured a password in Home Assistant (add <code class="highlighter-rouge">&api_password=<password></code> to the end of the URL). Configure that options under “General Options”:</p>
|
||||
|
@ -123,9 +123,10 @@
|
|||
<li>Log to GPX: no</li>
|
||||
<li>Log to KML: no</li>
|
||||
<li>Log to custom URL: yes and set
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="err">`</span><span class="s">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...`)</span>
|
||||
<div class="language-yaml highlighter-rouge"><pre class="highlight"><code><span class="s">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</span>
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>(be sure you include API password (<code class="highlighter-rouge">&api_password=<password></code>) if needed, or you can also use HTTP Basic authentication <code class="highlighter-rouge">http://<username>:<password>@<ha_server>/api/gpslogger...</code>)</p>
|
||||
</li>
|
||||
<li>Log to OpenGTS Server: no</li>
|
||||
<li>Log to Plain Text: no</li>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue