GM (myChevrolet / OnStar) smart home integration, free and open source

Chevrolet Bolt, Equinox EV: battery, charging, doors and remote start
Chevrolet Bolt, Equinox EV and other GM vehicles: battery, range, charging, doors and remote start, through the GM cloud.
Installation
- In Gladys, open Integrations, then the external integrations store.
- Search for GM (myChevrolet / OnStar) and click Install.
- Wait for the container to start: the integration shows up in the list.
Configuration
Open the Configuration tab and fill in:
- Access token: the bearer token of your GM (myChevrolet / OnStar) account. The integration does not log in to GM for you, and the token expires: paste a new one when the status shows the connection is refused.
- OnStar PIN: needed to lock, unlock and remote start. Leave it empty for read-only use.
- Refresh interval: how often each vehicle is read (60 s minimum, 300 s by default).
Click Test the connection: the vehicles of your account are listed. Then use the Discovery tab to add them. The integration is cloud only and works wherever GM OnStar is available.
Usage
Each vehicle is one device: battery level, electric range, charging, plugged in, odometer, the four tire pressures, plus two switches: Doors locked and Remote start (climate).
Scenes and dashboards
- Triggers: Charging started or stopped (filter by vehicle and change) and Battery low (fired once when the battery drops to 20% or less).
- Actions: refresh a vehicle, lock the doors, unlock the doors, remote start, cancel remote start, flash the lights. Each returns
success; refresh also returnsbattery_level. - Widget Vehicle status: battery, range and odometer, charging, plug and lock status, with Refresh / Lock / Unlock buttons. Pick the vehicle in the widget settings (the first one by default).
Help
A question or a problem? Ask on the Gladys community forum or open an issue on the GitHub repository.
Configuration settings
These are the settings GM (myChevrolet / OnStar) asks for in its configuration screen in Gladys.
| Setting | Type | Required | Description |
|---|---|---|---|
| Getting started | section | No | Cloud access to your GM account (myChevrolet / OnStar). Paste a valid access token, then use the test button. |
| Access token | secret | Yes | Bearer token of your GM account. It expires: paste a new one when the connection is refused. |
| OnStar PIN | secret | No | Needed to lock, unlock and remote start. Leave empty for read-only use. |
| Refresh interval (s) | number | No | How often a vehicle is read, in seconds (one minute minimum). |
How to install GM (myChevrolet / OnStar) in Gladys
- In Gladys, open Integrations: GM (myChevrolet / OnStar) appears in the catalog, next to the native integrations, with a community badge.
- Click Install. Gladys pulls the Docker image (
ghcr.io/gboulvin/gladys-gm-mychevrolet-onstar:1.1.0), starts it in a sandbox isolated from the core, and generates the integration's interface (devices, discovery and configuration). - Open the Configuration screen of the integration, fill in the settings, and save.
- You can also install it directly from its repository URL: https://github.com/gboulvin/gladys-gm-mychevrolet-onstar.
GM (myChevrolet / OnStar) requires Gladys >=5.1.0. The catalog inside Gladys refreshes every hour, so a new version becomes available at most one hour after its release.
Not running Gladys yet? It is free and open source: follow the installation guide to get started.
About external integrations
GM (myChevrolet / OnStar) is an external integration: a community integration packaged as a Docker container and published on GitHub, that Gladys installs in one click and runs in a sandbox isolated from its core. It is published and maintained by gboulvin, not by the Gladys core team.
- Browse all integrations, native and community
- Build and publish your own external integration
- Source code on GitHub — source of this documentation