Merge branch 'current' into next
@ -25,7 +25,7 @@ After the launch, go to **General Options**. Enable **Start on bootup** and **St
|
||||
GPSLogger Settings
|
||||
</p>
|
||||
|
||||
Go to **Logging details** and disable **Log to GPX**, **Log to KML** and **Log to NMEA**. Enable **Log to custom URL**.
|
||||
Go to **Logging details** and disable **Log to GPX**. Enable **Log to custom URL**.
|
||||
|
||||
<p class='img'>
|
||||
<img width='300' src='/images/integrations/gpslogger/logging-details.png' />
|
||||
@ -60,7 +60,7 @@ Content-Type: application/x-www-form-urlencoded
|
||||
```
|
||||
- Make sure that **HTTP Method** is changed to `POST`
|
||||
|
||||
If your battery drains too fast then you can tune the performance of GPSLogger under **Performance** -> **Location providers**
|
||||
If your battery drains too fast then you can tune the performance of GPSLogger under **Performance**.
|
||||
|
||||
<p class='img'>
|
||||
<img width='300' src='/images/integrations/gpslogger/performance.png' />
|
||||
|
@ -19,6 +19,12 @@ This integration allows you to write Python scripts that are exposed as services
|
||||
[hass-api]: /developers/development_hass_object/
|
||||
[logger-api]: https://docs.python.org/3.4/library/logging.html#logger-objects
|
||||
|
||||
<div class='note'>
|
||||
|
||||
It is not possible to use Python imports with this integration. If you want to do more advanced scripts, you can take a look at [AppDaemon](/docs/ecosystem/appdaemon/)
|
||||
|
||||
</div>
|
||||
|
||||
## Writing your first script
|
||||
|
||||
- Add to `configuration.yaml`: `python_script:`
|
||||
|
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 73 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 106 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 148 KiB |
Before Width: | Height: | Size: 58 KiB After Width: | Height: | Size: 125 KiB |