Stellantis vehicles (Peugeot, Citroen, DS, Opel, Vauxhall) integration HomeAssistant

it reads the last known data instead of trying to connect… which ultimately fails anyway…

Just a warning to everyone. I’ve drained my service battery 2 times in one week and I think it was caused by my automations.

I totally forgot that I made an automation to press the WakeUp button every minute when the car is plugged in so that I can update my phone notification with the correct percentage.
This hadn’t caused any problems thusfar, but last week the integration falsely stated that the car was plugged in so it kept pushing the WakeUp button every minute and apparantly that can drain the battery within a couple of hours.

Do you use also APP?I have a corsa-e; I started to use it in may. ok, for a week, after that, I added 2 wake-up automationns, but cars no longer responded to any commands, from HA and app too. I needed to get it unlocked by remote OPEL assistance. After that I set Wake-up to 2h and 10 minutes during charge and it works without problem.

Hi,

I’ve been struggling for some time to configure the Stellantis addon on HASS/HACS,

Tried both way, getting the code myself on my browser or using the python script,

Every first attempt leads to this error

translations/fr.json:30:      "missing_user_info": "Erreur informations utilisateur manquantes"

Then to this message both in GUI and console), here taken from HA logs:

[custom_components.stellantis_vehicles.stellantis] Authentication failed during HTTP request: invalid_grant - The provided access grant is invalid, expired, or revoked

Someone to help ?

EDIT : code use is OK. Just my car not being eligible. Sorry for bothering.

Thanks for this integration. I have succesfully installed but I cannot authenticate because I don’t receive a SMS and I do not have a pin code for the app. In the latest version of the MyOpel app this is not an option in the user accounts settings. Does anyone know how to proceed?
Another question: do you have to have the paid subscription (Connect PLUS) to use all the remote features in HA?

1 Like

Hello, How do you get the OAuth2 Code?
Could you please show me?
Thanks so much

F12 in Chrome, then this

I’m trying to setup this integration with myPegeout app. When i paste OAUTH_CODE in HomeAssistant, i get
Missing user info error
What does it mean and is there a way to push through this?

Is there known way to stop “telamatics” module to spy on me and hack it so it sends data to my server instead of send it to public internet?

Just try again - seems a bit hit and miss

I need HELP!
I’ve been struggling for several days now to figure out the “OAUTH_Code” using the DevTools. I’ve already tried different browsers on both Mac and Windows, but without success.
Has something changed, or is it just me?
I also tried using the Python script, but my knowledge is nowhere near sufficient for that.

My new helpfull custom integration:

Please follow the step described home github repository README and check attached images, at the last step on Stellantis login page click the “continue” button and check on the devtool

Hey hryhorash,
I have the same problem as you. I’ve tried it several times with different browsers. The OAUTH code seems to be correct, because if it’s wrong, a different error message appears. Following the advice to simply try it several times, I’ve tried it at least 50 times. But I keep getting the “missing user info” error. Have you found a solution? Or did it just work for you at some point?

Missing user info

Is a bug from stellantis, seem that the responses from stellantins dont include all infos needed to complete the configurations.

Okay, I’ll keep trying. Is it enough to click “OK” again? That renews the OAUTH code. Or do I have to repeat the whole procedure beforehand (restart browser, log in again, etc.)?

Is the bug still there since I cannot get it to work since over a week now?

Hi guys. Another oauth qestion here. I have read this thread and read the github. Ive tried all the little tricks with when to press the web tools button. I cannot for the life of me find the code? ive been trying for hours??

Its My vauxhall and im uk based.

Any ideas would be very helpful.

In chrome webtools there is a search function it returns 38 instances with “Oauth” ive checked them all.

ive logged out of my phone, cleared my computers cache. pressed f12 when the OK button appears then pressed OK to capture from then???

Thanks for this integration. I have succesfully installed but I cannot authenticate because I don’t receive a SMS I have the original pin code for the app.

In the latest version of the MYpeugeot app this is not an option in the user accounts settings. Does anyone know how to proceed?

I finally got it to work… i used the python script. it took a little while of copy and paste into an ai chat. but it guided me through in the end