From 9d5e147201bd56a0b41876ba14e4645d3665e320 Mon Sep 17 00:00:00 2001 From: Sean Dague Date: Fri, 4 Jan 2019 10:01:27 -0500 Subject: [PATCH] add country support to mychevy (#8030) * add country support to mychevy * add default --- source/_components/mychevy.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/_components/mychevy.markdown b/source/_components/mychevy.markdown index ad266d73287..f5574e12b27 100644 --- a/source/_components/mychevy.markdown +++ b/source/_components/mychevy.markdown @@ -40,6 +40,11 @@ password: description: The password for your given my.chevrolet account. required: true type: string +country: + description: Which country's servers to contact. Supports 'us' or 'ca'. + required: false + default: us + type: string {% endconfiguration %} @@ -49,7 +54,6 @@ The architecture of the GM automotive networking imposes some limitations on the The OnStar network link is very slow, and takes 1 - 3 minutes to get information back from the car. As such the mychevy component only polls every 30 minutes to not overwhelms that connection. -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. -