samrum / OnStarJS

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

Methods for polling vehicle status, not diagnostics #230

Open natereprogle opened 10 months ago

natereprogle commented 10 months ago

I'm not sure if this is even possible (And if not, I'm not complaining since OnStar doesn't even provide public APIs to begin with), but is there any way to poll vehicle status? I know it's easy to send commands to the vehicle, but I wonder if it's possible to check the status of the vehicle. For example, can you check if it's locked or unlocked? Can you check how many minutes are remaining on the remote start timer? Feel free to answer if/when you get the chance, thanks so much for the work you've done with this!

livetoautomate commented 8 months ago

Great work on this library. I'm using the NodeRed onstar2 integration and it works wonderfully.

I was looking under the diagnostics node but could not find an option to get the door lock state. Like OP, I'm not complaining just second'ing the request for door lock status!

Thanks again.