Groupe PSA Cars Binding (Peugeot, Citroen, DS, Opel, Vauxhall)

I can connect to endpoint https://idpcvs.opel.com/am/oauth2/access_token with my credentials but using grant_type: password (described here ).

Did you have to contact Mobilisight with description of your “app” and ask for credentials, as described in the document you link to?
Were they OK with a private person writing a script to access own vehicle?

I’d be interested in getting a working binding as well for my Peugeot e-308.
Using OH 4.2.1 and the official binding I get the same error as @mkaut:

Rest call failed: statusCode=-1, message=Unable to authenticate: null

Hello, I bought a Opel Corsa and I get also the samr error. Is there any new information avaylable.
Thank you in advanced

Rest call failed: statusCode=-1, message=Unable to authenticate: null

Hi @ThomasP,

I was also hoping that this Groupe PSA cars binding would continue to work. After some research, it appears that Stellantis has introduced breaking changes to their API access.

Several home automation users (over 100) have raised a request on Stellantis’ GitHub repository, where the API and some examples are available:

B2C API access · Issue #128 · Stellantis/stellantis.github.io · GitHub

Unfortunately, there has not been a single response from Stellantis to any of these requests.

It seems that this oh-binding has reached the end of its support. Too bad. :cry: But let’s hope…

thank you for coming back to me. I went through the posts in your link. Very Frustrating that PAS is obviously not willing to support technical enthusiasts.

Still no improvement ? It looks like on the HA site they have a workig solution :
Stellantis vehicles (Peugeot, Citroen, DS, Opel, Vauxhall) integration HomeAssistant - Share your Projects! / Custom Integrations - Home Assistant Community

Or is PSA binding working now ?

Hi @alda1,

To my knowledge, this HA solution attempts to bypass official API access by intercepting a login from an app registration in order to obtain the OAuth2 token. Essentially, it mimics access from an official Peugeot/Opel smartphone app.

The HA integration seems to be based on this Docker container, which handles all the necessary wrapping. It is based on the work from GitHub - flobz/psa_car_controller: Control PSA car with connected_car v4 API.

Once properly configured and connected, the container exposes APIs that can be used by your home automation setup (it’s essentially a set of Python scripts).

I tried using that Docker container myself, and attempted to integrate it with the OpenHAB HTTP bining, but I never managed to get past the OAuth2 token retrieval step.

If anyone has had success with this setup, I’d be very interested to hear more about it.

I’m interested about any solution which will work and will give me a chance to read data about my car from the OH.

1 Like