/node-red-contrib-onstar2

OnStarJS wrapper for Node-RED

Primary LanguageHTMLOtherNOASSERTION

node-red-contrib-onstar2

CodeQL Dependency Review Lint Code Base Node.js CI Node.js Package Notarize Assets with CAS Authenticate Assets with CAS

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

node-red-contrib-onstar2-sample_s

Install

npm install node-red-contrib-onstar2

Documentation

Each node is self-explanatory with hints provided wherever necessary.

Running

Collect the following information:

  1. Generate a v4 uuid for the device ID
  2. OnStar login: username, password, PIN
  3. Your car's VIN. Easily found in the monthly OnStar diagnostic emails.

Supported Features

  • 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