samrum/OnStarJS

Keep awake

Opened this issue · 3 comments

Is there a call we can make to keep the onstar unit awake without creating extraneous external events? On my vehicle the onstar unit goes offline after 24 hours without some kind of input. The diagnostics calls do not keep it awake.

Hmm, there are some additional api requests I haven't added here that may do that. Like some related to navigation/hotspot configuration that I wasn't able to test since I'm only on a Basic plan. I'd have to re-look to see what else is available.

How are you determining whether the unit is awake?
Also, if you don't mind sharing, what's the use case for keeping it awake?

I too am on the basic plan so no dice for those on my end either. My use case is monitoring my Volt's charging cycles. 24 hours after the car was last driven diagnostic calls to the API will result in timeouts. Remote start should still hopefully work but it would be fairly wasteful for me to run the AC for 20 minutes just to keep the diagnostics data flowing.

Sorry for the late follow up, but how does the MyChevrolet app handle that case? After 24 hours does it wake up the car when you try to view diagnostics or just error/timeout in there as well?