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 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:
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.
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.
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.