2024+ Chevy Blazer EV Forum banner
21 - 40 of 57 Posts
Discussion starter · #21 ·
Hi @Canadian , thanks for all your very informative posts. I am mostly setup and ready to go except for the pesky TOTP code. I tried the app(GM-MS-TOKENS.exe) and it seems to crash on an error. On my first attempt it accepted my username and password and sent me an access code via email. When I entered the code it flashed something on the screen and then crashed. I retried and it crashed right after I entered the password. I also tried the NPM method which I could not get to work. It just says "> node-oauth2-gm@1.0.0 start > node auth/app.js Server running on http://0.0.0.0:3000" but does not ask for a username and password. I am in BC so I am wondering if there are still issues with the Canadian MFA or if I am just missing something. Cheers
 
Discussion starter · #23 ·
Hi @Canadian , thanks for all your very informative posts. I am mostly setup and ready to go except for the pesky TOTP code. I tried the app(GM-MS-TOKENS.exe) and it seems to crash on an error. On my first attempt it accepted my username and password and sent me an access code via email. When I entered the code it flashed something on the screen and then crashed. I retried and it crashed right after I entered the password. I also tried the NPM method which I could not get to work. It just says "> node-oauth2-gm@1.0.0 start > node auth/app.js Server running on http://0.0.0.0:3000" but does not ask for a username and password. I am in BC so I am wondering if there are still issues with the Canadian MFA or if I am just missing something. Cheers
I never used the NPM module directly. I’m not sure what might be the problem.

I have used the GM-MS-TOKENS app without too many issues. I’d suggest either posting the issue to their GitHub. But without knowing much about the error, it’s hard. But did it produce the JSON file? That’s all it does once it’s generated and exits. I always run it from a command prompt so I can read the output.
 
Is there a step by step on how to set this up? I was looking at Home Assistant yesterday and these instructions and I guess I don't see what I'm missing, and I do work in IT so the code is very familiar to me. I just need to know where to add it.
 
Is there a step by step on how to set this up? I was looking at Home Assistant yesterday and these instructions and I guess I don't see what I'm missing, and I do work in IT so the code is very familiar to me. I just need to know where to add it.
I wasted a lot of time trying to get this to work using michaelwoods/onstar2mqtt which involves setting up docker and bridging mqtt. Luckily I found Canadian's post above which was a lot simpler and easy to setup.

"First, I am using an addon repository for the On-Star setup. The nice thing about the add-on is it has room for more than one care (only two; and I am not sure how well it works with ICE models because this was designed for the Volt and Bolt). It's also a lot easier to configure since it is in the GUI., The repository is: GitHub - BigThunderSR/homeassistant-addons-onstar2mqtt: OnStarJS wrapper for MQTT as a Home Assistant Add-on
- Canadian"

If you follow the instructions in the Bigthunder repo you should be fine. I ran into difficulties because in Canada it turns out we cannot use TOTP. You should be able to get a TOTP code as an American user.

This addon requires the installation of Mosquito Mqtt first. There are lots of Youtube video on how to setup Mosquito if you don't already have it installed.
Once you have Mosquitto and the addon all you have to do is go into the config page where Bigthunder has provided a handy config form. If you need help with any of the fields let me know.

Hope this helps. Bruce
 
I was looking at that repo and was wondering how I add the script to Home Automation since I don't see anything for that particular add-on nor do I see a section to add a custom script without having to build it first. I'm quite familiar with YAML since my job is scripting and we use YAML for our scripting pipelines.
 
Go to SETTINGS/ADDONS at the bottom right is a button that says ADDON STORE.
Click on the button and search for OnStar2MQTT Home Assistant Add-on.
When you select the addon you will see a link in BLUE that says INSTALL. Just hit the link and it will install. Once installed you can go to the config tab.

I am new to HA myself and found it a bit confusing that there are 3 different ways to install a repo.
ie system/add integrations
system/addons
and HACS
 
I've been wanting to get Home Assistant set up for years in my house, finally pulled the trigger and got a Raspberry PI 5 yesterday and set it up.

Definitely not for the non-technical user. Thanks to @Canadian, I was able to add:

OnStar2MQTT Home Assistant Add-on (BigThunderSR) for Vehicle 1

However, it seems to only show data from my Blazer EV. Is there another add-on for the ability to push data to car. i.e.~ start/stop, set precondition temp, etc.?


Image
 
Go to settings/devices and services/devices/2024 Chevrolet Blazer EV/commands

Select the command(s) that you need and click-on enable. All the available commands are there but are disabled by default.

It would be nice if there were more commands available but I guess that would need a GM change.

I would particularly like to have a Trip Counter Reset command, 12v Battery Status, and a window close command or at the very least a window open sensor.

I would also love to see more info about charging so that I could build a charging curve graph.
I used to have all this charging info but it disappeared when Enel X decided to brick my charger intelligence.
 
Hi Canadian,
thx for keeping us up to date. I have this working now. So when you say "takes care of itself",
do you mean that TOTP key will stay the same or will we have to update it periodically?
I found that using the old method I had to renew the code every few days. (This MFA stuff is all new to me.)
Cheers
 
Discussion starter · #34 ·
So if you grab the TOTP code after switching your auth to that model, it can pull its own tokens rather than a manual process. Prevents it from going offline until you can update it yourself. it’s going to be a relief not to have to worry about it.
 
Discussion starter · #39 ·
Anyone else having issues connecting today? There was a version upgrade(1.24), then it stopped completing authorization. I rolled back(1.23.1), but it still wont complete the connection to onstar.
Authentication no longer works. It stopped before 1.24 came out - the goal was to fix authentication.

GM is actively trying to block such access. Don't know why. This is cool. And they still get whatever value might exist in knowing when I start my car when selling to data providers 🤷‍♂️. And also, gives me a good reason to continue to subscribe to OnStar as someone who hates subscribing to anything.

They are working on it; but it could take a while. There is a Github issue already open and investigating.
 
21 - 40 of 57 Posts