samrum / OnStarJS

NodeJS Library for making OnStar API requests
MIT License
85 stars 17 forks source link

[Request] Examples.js #163

Closed clarkhacks closed 2 years ago

clarkhacks commented 2 years ago

I love this library and use it daily for smarthome integration. The one thing, no matter how many ways I've tried, dug through the code, or searched - I cannot find a working onStar.start(); example. Everything else has worked flawlessly. Would it be possible to include a simple Eamples.js? I'd love to publish what I have working in an example sheet, all I'm missing is a functional vehicle start.

Regards.

samrum commented 2 years ago

The "Sample" section in the Readme has an example that runs the start command and it works.

If it's not working for you, check that your car supports remote start via the API using the getAccountVehicles() request.

clarkhacks commented 2 years ago

Closing this. The issue wasn't with a OnStarJS, but with my middleware. Adding secondary authentication and it didn't handle the long response time well.