add country support to mychevy (#8030)

* add country support to mychevy

* add default
This commit is contained in:
Sean Dague 2019-01-04 10:01:27 -05:00 committed by Charles Garwood
parent 188e88b547
commit 9d5e147201

View File

@ -40,6 +40,11 @@ password:
description: The password for your given my.chevrolet account. description: The password for your given my.chevrolet account.
required: true required: true
type: string type: string
country:
description: Which country's servers to contact. Supports 'us' or 'ca'.
required: false
default: us
type: string
{% endconfiguration %} {% endconfiguration %}
@ -52,4 +57,3 @@ The OnStar network link is very slow, and takes 1 - 3 minutes to get information
The OnStar network (or more specifically the gateway used by the my.chevrolet website) appears to suffer more than most networks when the car is a) in a garage, and b) it's cold outside (like < 15 degrees F). One of the provided sensors is a status sensor which indicates if we got connectivity with the car on the last polling cycle or not. The OnStar network (or more specifically the gateway used by the my.chevrolet website) appears to suffer more than most networks when the car is a) in a garage, and b) it's cold outside (like < 15 degrees F). One of the provided sensors is a status sensor which indicates if we got connectivity with the car on the last polling cycle or not.
The "API" for this is written through using some existing API calls from the Javascript web user interfae. As such, it only currently is known to work if you have a Chevy Bolt EV or a Chevy Volt, and only 1 Chevy car connected to OnStar. Patches for extended support should go to the [https://github.com/sdague/mychevy](https://github.com/sdague/mychevy) project first, then Home Assistant can be extended. The "API" for this is written through using some existing API calls from the Javascript web user interfae. As such, it only currently is known to work if you have a Chevy Bolt EV or a Chevy Volt, and only 1 Chevy car connected to OnStar. Patches for extended support should go to the [https://github.com/sdague/mychevy](https://github.com/sdague/mychevy) project first, then Home Assistant can be extended.