Starline OBD information (#13938)

Co-authored-by: Franck Nijhof <git@frenck.dev>
This commit is contained in:
Nikolay Vasilchuk 2021-01-25 18:09:11 +03:00 committed by GitHub
parent b96f3ee6cf
commit 6713673082
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,12 +20,12 @@ The `starline` integration lets you retrieve data of your [StarLine](https://www
This integration provides the following platforms: This integration provides the following platforms:
- Binary sensors: Hand brake, hood, trunk, alarm status and doors lock state - Binary Sensors: Hand brake, hood, trunk, alarm status and doors lock state.
- Device tracker: The location of your car - Device tracker: The location of your car.
- Lock: Control the lock of your car - Lock: Control the lock of your car.
- Sensors: Battery level, SIM card balance, GSM signal level, interior temperature and engine temperature - Sensors: Battery level, SIM card balance, GSM signal level, Fuel Volume, Mileage, OBD Errors, interior temperature and engine temperature.
- Switches: Start/stop engine, heater (webasto), additional channel and sound the horn - Switches: Start/stop engine, heater (webasto), additional channel and sound the horn.
- Services: Update the state, set update frequency; details [below](#services) - Services: Update the state, set update frequency. More details can be found [here](#services).
## Configuration ## Configuration
@ -38,7 +38,7 @@ After adding the integration, you can configure the API update interval using [`
<div class='note'> <div class='note'>
You can make up to 1000 API calls per day, which means you could make one approximately every 86 seconds. You can make up to 1000 API calls per day, which means you could make one approximately every 86 seconds.
By default, the state of integration will be updated every 3 minutes, making 480 calls per day. By default, the state of integration will be updated every 3 minutes and OBD information will be updated every 3 hours, making 488 calls per day.
It is not recommended to set an update interval of less than 90 seconds. It is not recommended to set an update interval of less than 90 seconds.
</div> </div>
@ -59,6 +59,14 @@ The service `starline.set_scan_interval` sets update frequency for entities.
| ---------------------- | -------- | ----------- | | ---------------------- | -------- | ----------- |
| `scan_interval` | no | Update frequency in seconds. | `scan_interval` | no | Update frequency in seconds.
### Set scan OBD interval
The service `starline.set_scan_obd_interval` sets update frequency for OBD information.
| Service data attribute | Optional | Description |
| ---------------------- | -------- | ----------- |
| `scan_interval` | no | Update frequency in seconds.
## Disclaimer ## Disclaimer
This software is not affiliated with or endorsed by ScPA StarLine Ltd. This software is not affiliated with or endorsed by ScPA StarLine Ltd.