A node-red flow for controlling GM OnStar vehicles powered by onstarjs originally written by caseyjmorton and published here.
This fork is for me to experiment with the capabilities exposed in the original version and to add custom commands as necessary.
-
Following a major re-write, this project is now at version 2.0 and is fully independent from the original npm package.
-
Version 2.0 has breaking changes, but no further breaking changes are expected at this time.
npm install node-red-contrib-onstar2
Each node is self-explanatory with hints provided wherever necessary.
Collect the following information:
- Generate a v4 uuid for the device ID
- OnStar login: username, password, PIN
- Your car's VIN. Easily found in the monthly OnStar diagnostic emails.
- Lock
- Unlock
- Start
- Stop
- Set Charge Profile
- Get Charge Profile
- Override Charge State
- Vehicle Alert (Lights and Horn)
- Vehicle Alert (Lights Only)
- Vehicle Alert (Horn Only)
- Cancel Vehicle Alert
- Get Vehicle Location
- Get Diagnostic Information
- Get Vehicle Capabilities