Merge branch 'current' into next

This commit is contained in:
Franck Nijhof 2019-10-16 23:19:09 +02:00
commit c6e24f938a
No known key found for this signature in database
GPG Key ID: D62583BA8AB11CA3
6 changed files with 8 additions and 2 deletions

View File

@ -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' />

View File

@ -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:`

Binary file not shown.

Before

Width:  |  Height:  |  Size: 91 KiB

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 59 KiB

After

Width:  |  Height:  |  Size: 106 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 148 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

After

Width:  |  Height:  |  Size: 125 KiB