Site updated at 2016-12-05 08:00:55 UTC
This commit is contained in:
parent
3f28e1d71c
commit
8ddf8e96c4
24 changed files with 49 additions and 38 deletions
|
@ -106,7 +106,7 @@
|
|||
<li><a href="https://play.google.com/store/apps/details?id=com.mendhak.gpslogger">GPSLogger for Android</a></li>
|
||||
</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 <code class="highlighter-rouge">http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&battery=%BATT&device=%SER&accuracy=%ACC</code>. 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>
|
||||
<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 <code class="highlighter-rouge">http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&battery=%BATT&device=%SER&accuracy=%ACC</code>. 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>
|
||||
|
||||
<ul>
|
||||
<li>Start on boot: yes</li>
|
||||
|
@ -118,7 +118,7 @@
|
|||
<ul>
|
||||
<li>Log to GPX: no</li>
|
||||
<li>Log to KML: no</li>
|
||||
<li>Log to custom URL: yes and set <code class="highlighter-rouge">http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&battery=%BATT&device=%SER&accuracy=%ACC</code> (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>)</li>
|
||||
<li>Log to custom URL: yes and set <code class="highlighter-rouge">http://<ha_server>/api/gpslogger?latitude=%LAT&longitude=%LON&battery=%BATT&device=%SER&accuracy=%ACC</code> (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>)</li>
|
||||
<li>Log to OpenGTS Server: no</li>
|
||||
<li>Log to Plain Text: no</li>
|
||||
<li>Log to NMEA: no</li>
|
||||
|
|
|
@ -151,6 +151,17 @@
|
|||
</code></pre>
|
||||
</div>
|
||||
|
||||
<p>HASSBIAN users have to give dialout permission to the user ‘homeassistant’:</p>
|
||||
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>$ sudo usermod -a -G dialout homeassistant
|
||||
</code></pre>
|
||||
</div>
|
||||
<p>and after that you need to reboot!</p>
|
||||
<div class="highlighter-rouge"><pre class="highlight"><code>$ sudo reboot
|
||||
|
||||
</code></pre>
|
||||
</div>
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue