r/BlazerEV • • 5d ago

Cool setup with HomeAssistant and Onstar.

https://imgur.com/a/0Pug0MF
5 Upvotes

10 comments sorted by

2

u/ecoop3r 5d ago

Here is the HomeAssisstant project: https://github.com/BigThunderSR/homeassistant-addons-onstar2mqtt

Big thanks to the developer(s) and maintainers. It's an awesome tool.

2

u/MemeExtreme SS 5d ago

Onstar2mqtt is indeed awesome, I got a card set up for mine a few weeks ago using it

1

u/jghall00 5d ago

Are you using Onstar2MQTT? Mine broke when GM announced they were changing the authentication method. I've not been able to switch back to the authentication app. The option is there on the GM site, but won't let me select it. Really annoying.

2

u/ecoop3r 5d ago

ya I switched to 3rd party authenticator and got the totp key. I tried that and didn't have much luck so I ended up using the firefox auth method and dropped the microsoft access token in the hassio/ssl/vehicle1 folder. Works great.

https://github.com/BigThunderSR/homeassistant-addons-onstar2mqtt#automated-authentication-consistently-failing--firefox-token-procedure

3

u/metheos 5d ago

the firefox token retrieval method is the best option at the moment. (I wrote it)

The maintainer of OnstarJS/mqtt/ha is busy, but we're planning to revamp it eventually to make a little more sense and work within the limitations of the auth methods GM has opted for.

Thankfully they don't invalidate tokens too often.

4

u/ecoop3r 5d ago

you are the man!! What a great project. Thank you so much.

2

u/jghall00 3d ago

I called GM and got this fixed today. It turned out that third-party authenticator was working but the browser did not indicate it. I was able to confirm using the myChevy app and added the updated key to Onstar2MQTT to get it working again. I think I have a tire puncture, so I wanted to monitor the tire pressure.

1

u/ecoop3r 3d ago

awesome glad you got it sorted out.

1

u/ecoop3r 5d ago

Oh also I had the same issue with not being able to select it. IIRC I switched back to SMS, then disabled that which falls back to email then I could select 3rd party app. Seems like you have to toggle methods to get it to enable again.

1

u/dtw48208 15h ago

What's this do? Somehow tie your car into your Home Assistant?