Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

B2C API access #128

Open
flobz opened this issue Jan 31, 2024 · 110 comments
Open

B2C API access #128

flobz opened this issue Jan 31, 2024 · 110 comments

Comments

@flobz
Copy link

flobz commented Jan 31, 2024

Hello,
I'm the main developer of https://github.com/flobz/psa_car_controller and I would like to have access to the B2C API.
I have filled out the "contat-us" form but I didn't receive any response.

This app is used by a lot of PSA consumers, (1 million downloads on Docker Hub), so I think that is in your best interest to allow them to have a better experience with their cars.

If you can't give access right now can you at least tell us when it will be possible?
It's been 3 years that the B2C API is in "soon available" state...
Thanks in advance

Florian

@ict
Copy link

ict commented Jan 31, 2024

Maybe you should add that your tool is often used as a component in the very popular Homeassistant software suite, which is used by millions of people to coordinate their smart home.

Stellantis, please make this possible. Don't be like Haier.

@gernot-h
Copy link

gernot-h commented Jan 31, 2024

Same here, I'm contributor to the Open Source smart home solution FHEM and would also love to use psa_car_controller to integrate my car, see https://forum.fhem.de/index.php?topic=136190.0 (German only, sorry).

@bbr111
Copy link

bbr111 commented Jan 31, 2024

+1 Support

@gerar19
Copy link

gerar19 commented Jan 31, 2024

+1! Please Stellantis

@Clebena
Copy link

Clebena commented Jan 31, 2024

PSA would sell better if they've listed their cars are HomeAssistant compatible! ❤️❤️❤️❤️

@solstrandstong
Copy link

For me the PSA Car Controller used to be the only way to precondition my Peugeot car and by far the best way to charge it as the official app is pretty much useless. Please help us out here!

@gernot-h
Copy link

gernot-h commented Jan 31, 2024

Ah, that's a good point. As recommended in the manual, I want to charge my car only up to 80%, a feature which is neither available in the car itself nor in the "My Opel" app, but only in PSA Car Controller, so I'd really love to use it.

@Eduadel
Copy link

Eduadel commented Jan 31, 2024

+1 Please Stellantis

1 similar comment
@ritschi86
Copy link

+1 Please Stellantis

@RlfSt
Copy link

RlfSt commented Jan 31, 2024

+1

@nuiler
Copy link

nuiler commented Jan 31, 2024

I would also like to ask Stellantis for help to support the developer.
This would also translate into better customer satisfaction

@FMersdonk
Copy link

I am also affected by this issue und would like to ask Stellantis for support.

@mahil4711
Copy link

+1

@FloR012
Copy link

FloR012 commented Jan 31, 2024

+1 for PSA-Car Controller as HomAssistant plugin to manage not charge my Opel Corsa E above 80% SOC

@sod75
Copy link

sod75 commented Jan 31, 2024

This PSA Car Controller plug for Home-Assistant let's me integrate my car into my domotica setup in ways that will never be possible via a standalone App.
This is the whole point of having an API, and now it no longer works.
Please let us use it properly.

@0x3dlux
Copy link

0x3dlux commented Jan 31, 2024

Yes please! I use(d) psa_car_controller to integrate nice graphs of my car's SoC, odometer, consumption and temperature sensor into my home automation system. I was able to start and stop the charging depending on what the photovoltaic on my roof produced (only use the cheaper electricity) and/or how busy the electrical grid was (delay the charge into the night). I would also stop the charge at 80% to extend the battery's life and send notifications to my wife's phone when she forgot to plug the car in the evening when it probably wouldn't manage the next day's trip to work depending on the temperature forecast. None of this can be done via the official app and, except for maybe low battery notifications and the 80% thing, I don't think it should.

Your French/Belgian engineering colleagues should be able to recognize me by now: yes, you "needed" (?) to replace the not-so-cheap traction battery in my Corsa (although I'm rather confident that much of the old battery is still fine) since, while on holiday, the 12V battery ran empty because I polled the car every 5mins which would keep it awake for up to 2mins each time (why 🤷?) for a 1~2s data transfer. That empty 12V battery apparently caused some "malfunction on the high power relays" which, after manually recharging the 12V battery, put the car back into action for another couple of weeks but ultimately ended after another few days of non-use in the infamous "Systemfehler Elektroantrieb", a towing service and almost 2 months of waiting to get the car back!

During our post-mortem phone call we kind of agreed that this situation could have been avoided by adding rate-limits on either side, some voltage monitoring, by using the PSA-server-side caches instead of contacting the car each time (even though to store the data as "live" as possible and not have some cache mess it up was kind of my goal), by only polling the car while it was charging (again not what I wanted to achieve) or by putting the car back into sleep a lot quicker, but that's something us end-users can't really control (yet?). You also seem to have recognized that a 12V battery running empty while there are tens of kWh sitting right next to it as a bug and that some sort of emergency-recharging will become part of your next hardware iteration. So kudos to that.

And trust me, I've been there many times on both the "tinkerer" side as well as on the "business" side of things: companies only DO profit from properly supporting Open-Source communities and vice-versa. Consider us "curious idea factories and problem solvers that don't even ask for a salary" (we may cost a bit when we break things within the warranty period 😇 but ultimately we all learn how to build less fragile products that way). All we want is to be able to interact with our battery-powered servers on wheels that we paid for like with any other server. What we definitely don't want is to be sidestepped when you introduce major, breaking API and/or authentication changes to the gateway that you still force to sit between us and our toys without any kind of alert or announcement and that you artificially increase the complexity for no real gain other than to waste a few people's weekends trying to trace and replicate your changes.

fwiw I don't even want to depend on this "reverse engineered 3rd party product", as you so aptly called it during our call. I would be more than happy if @flobz who maintains this software in his spare time and who is probably starting to be annoyed by the "angry mob" right now to get his spare time back and that we all could access some nicely documented, official API provided directly by the manufacturer. Self-hosting the server-side of things and being able to reprogram our cars to actually only contact our own servers and not leaking private usage and even precise location (!) data into the manufacturer's cloud would be the next logical step but I don't think we're quite there yet. Technologically, well of course it could be done within a week. Mentally, financially and of course the default excuse "it's easier for the user" [mumble]and so much easier to maintain[/mumble]... so no, of course we're not there yet. And that's fine for now. Cars with APIs are still a pretty new thing and someone else's cloud in-between is still somewhat tolerable for (re)liability reasons. For now. Up to a point...

tl;dr: could we please all get our toys back now?

@Michel83
Copy link

+1

@dortmund50
Copy link

+1 Go stellantis, that would be great!

@seb585
Copy link

seb585 commented Jan 31, 2024

+1

5 similar comments
@Afromies
Copy link

+1

@xydbyx
Copy link

xydbyx commented Jan 31, 2024

+1

@CKlapper
Copy link

+1

@beimaik
Copy link

beimaik commented Jan 31, 2024

+1

@larss
Copy link

larss commented Jan 31, 2024

+1

@uzeller
Copy link

uzeller commented Jan 31, 2024

+1 Need it to add my Opel to my Home Assistant

@andlem74
Copy link

Really needed.

@Easyrunner
Copy link

Need it to add my Electric Peugeot in the OpenWB Wallbox environment!

@casanunda80
Copy link

+1 I also like to use Home assistant integration, mainly for setting charge limit to 80%.

@jaykijay
Copy link

It's embarrassing that you have to go to such lengths to charge your battery to a maximum of 80%. What's even more embarrassing is that the B2C API still doesn't work and the ONLY working solution is now also hindered by Stellantis. Please finally release the API. It's crazy that you suddenly couldn't charge your car with your OpenWB wallbox anymore.

@youradds
Copy link

youradds commented Feb 3, 2024

@ThiloBaWue preconditioning = warming up the car. Nothing to do with the battery ;) the Vauxhall app is a joke and very rarely works. Which is why I ended up writing my own interface to work with https://github.com/flobz/psa_car_controller ... All of which doesn't work now due to stupid psas changes to the system

@carlo1313
Copy link

Same for my new Peugeot. That's pretty sad. The official APP is useless. Neither the car itself, nor the app is able for being configured to stop loading at 80% automatically. Beside the benefit I had by automatically only charging when PV is available, definitely the integration of the car into the home automation system was for me the main buying reason - now seems like the only option is to get rid of and refuse Stellantis cars in future.

@YjjSouf
Copy link

YjjSouf commented Feb 3, 2024

Hello,
The e208 is my 1st EV. Had it for less than a month. Not cheap, not "the best choice" but it was my choice. I hate to say that people warned me about the "reduced" amount of charge management features PSA offers compared to the rest of the market. Nevertheless, I bought it and now the Home Assistant app is down. The official app does not allow to charge to a desired SoC. I am now missing a major functionality (SoC control). It would be better not to depend on 3rd party work (no offence to @flobz) but the average end user has no other choice. PSA, please, the API!
User's 1st impression matters a lot. Mine is bitter. My neighbor has a MG. His grass looks greener too.

@btxluke
Copy link

btxluke commented Feb 4, 2024

Thanks for the tronity suggestion, as an interim fix for poor API access - it doesn't seem to get any data for me, from my Vauxhall Corsa E in the UK.

Has anyone had success, authorising post the API changes came in? I wonder whether the Tronity B2C access is experiencing similar problems with new authentifications.

@sod75
Copy link

sod75 commented Feb 4, 2024

Even if the official apps had all the missing features here we would still need an open API as they work in isolation.
E.g. charge your car when solar panels have excess power, when hourly electricity tariffs are low, etc.
Electrification and IOT have left the hobby sphere and these features are now basic requirements. Governments are pushing for these things by making it more expensive not to leverage smart technologies.
So if we can't have this access from Stellantis we'll need to buy somewhere else.

@Pet-zie
Copy link

Pet-zie commented Feb 4, 2024

Ein Trauerspiel, selbst keine Lösungen anzubieten und dem Eigentümer den Zugang zu seinen Daten zu versperren!!!

@benjaminscherrer
Copy link

Selbst der ADAC hat mich bei meiner letzten Panne mit dem Corsa-e ausgelacht, weil ich ein E-Auto von Stellantis gekauft habe. Tun Sie etwas dafür, dass Ihre Kunden Ihnen nicht komplett den Rücken zu drehen und geben Sie uns einen verlässlichen API-Zugang zu den SOC-Werten unserer eigenen Autos.
/
Even the German ADAC laughed at me for buying an electric car from Stellantis. Do something so that your customers don't completely turn away from you and give us a reliable API-access to the SOC of our own cars.

@Willi-Schmidt
Copy link

Ich finde es komplett unverständlich, dass ein Hersteller, der sich als einer der Ersten der Elektromobilität verschrieben hat, nicht in der Lage ist eine offene und transparente API für seine Plattform anzubieten.

Glück im Unglück für mich, der e2008 ist ein Leasingfahrzeug und zwei von drei Jahren sind bereits vorüber, ich werde meine Schlüsse daraus ziehen. Der 508 PSE Hybrid läuft leider noch zwei weitere Jahre..

@nuiler
Copy link

nuiler commented Feb 5, 2024

Vielleicht sollte man noch auf die Presse zugehen. autobild.de & auto, motor und sport.

@rverpillot
Copy link
Collaborator

Hello @flobz,

You should try to contact directly Mobilisights if they don't answer you from the Stellantis developer site. But I don't know if they will authorise your application without a business plan.

@Easyrunner
Copy link

Tronity costs €3.99/month. For me too much, just because Stellantis can't do it!

@planck-aw
Copy link

@vineethktpla
Copy link

+1 Support @flobz

@phen0
Copy link

phen0 commented Feb 7, 2024

+1 go stellantis go go go!

@GeraldPape
Copy link

Supporting many other comments here. The My Brands App is unreliable, buggy and slow.
Having solar energy available it makes sense to start charging when my roof produces enough energy.
Beeing able to precondition the car based on my calendar, or by using an action on my apple watch (home assistant & psa-car-controller are great) is more comfortable than having those fixed times from the app.
Having an open, usefull and feature rich API available will for sure be criteria for buying my next car.

@ostrocka
Copy link

+1 support!

Looking at Kia and Tesla (own both) - which work well AND have a good app...
Even a limitation on 80% AC Charging is NOT possible via the car nor the app. And with "closing" the API the way limiting via the charging callbox is also gone.... wow Stellantis/PSA ....

@bobmorane06
Copy link

bobmorane06 commented Feb 14, 2024

+1, in order to be able to program the end of the charge at less than 100%

@OlafJaster
Copy link

OlafJaster commented Feb 15, 2024

Fahre seit ca. 30 Jahren Opel und war eigentlich immer zufrieden. Hatte auch zwei Jahre lang einen Grandland Plugin-Hybrid, der mich zwar einige Nerven gekostet hat, aber aufgrund eines guten Angebots habe ich danach nochmals bei einem Leasing-Angebot zugeschlagen. Aber dass ich jetzt das PV-Überschussladen mit Begrenzung des Ladestands nicht mehr vernünftig nutzen kann, weil Stellantis mal eben die Schnittstelle geändert hat und sich scheinbar weigert, Informationen dazu herauszugeben, wird dazu führen, dass nach Ablauf des Leasing-Vertrags wohl doch ein Auto von einem anderen Hersteller her muss. Ein so kundenunfreundliches Verhalten wird sich bei der nächsten Kauf-/Leasing-Entscheidung widerspiegeln. So kann man keine Kunden halten :-(

Nur gut, dass es mir eigentlich egal sein kann, wenn die Batterie nach Leasingende nicht mehr lange hält, weil die ständig auf 100% vor sich hinschmort. Da kann man jedem nur raten, kein gebrauchtes PHEV- / Elektroauto aus dem Stellantis-Konzern zu kaufen und die Wagen auf dem Hof stehen zu lassen.

@spofastic
Copy link

spofastic commented Feb 16, 2024

Es ist fraglich, ob Opel und Stelantis diese Diskussion hier überhaupt mitbekommen und ob sie das interessiert. Wahrscheinlich ist es wirkungsvoller, wenn jeder von Euch seinem Frust direkt bei Opel und Stelantis Luft macht. Zum Beispiel hier:

https://opel.my-customerportal.com/opel/s/case-webform?language=de#1

oder hier

http://developer.groupe-psa.io/contact-us/

oder direkt per E-Mail an Kundenservice-opel@mpsa.com

@youradds
Copy link

youradds commented Feb 16, 2024

Es ist fraglich, ob Opel und Stelantis diese Diskussion hier überhaupt mitbekommen und ob sie das interessiert. Wahrscheinlich ist es wirkungsvoller, wenn jeder von Euch seinem Frust direkt bei Opel und Stelantis Luft macht. Zum Beispiel hier:

https://opel.my-customerportal.com/opel/s/case-webform?language=de#1

oder hier

http://developer.groupe-psa.io/contact-us/

oder direkt per E-Mail an Kundenservice-opel@mpsa.com

That email doesn't work unfortunatly:

The response from the remote server was:
550 5.4.1 Recipient address rejected: Access denied. [AM4PEPF00025F96.EURPRD83.prod.outlook.com 2024-02-16T09:49:37.689Z 08DC2D97F6C169E7]

(I've submitted a complaint though via that webform)

@Stoobitweet
Copy link

+1

2 similar comments
@langepil
Copy link

+1

@weirdo1971
Copy link

+1

@jguerre
Copy link

jguerre commented Feb 21, 2024

Please, help us. The API is the only way I can control in an automated way SOC in the car. It is important indeed, to preserve the battery. Thanks

@ulfkosack
Copy link

+1 Please support @flobz for the PSC Car Controller project

@benjaminscherrer
Copy link

I sent an email to kontakt-opel@opel.com (German) and complained about the situation, linking this thread and the 63-pages long discussion on openwb.de about the problem. They replied by asking for my phone number, which I gave them.

They've just called me back. A polite but rather clueless woman told me that it would not be possible to give me access to the SOC of my car. I should maybe ask the local car dealer. After I told her that it's about accessing the Opel server (I already wrote that in the mail), that it worked back in December and that no car dealer has anything to do with it, she said that Opel's IT team worked hard to improve the services... In the end I just asked her to tell her supervisors that no one with the current experience would buy a Stellantis car again.

It's so frustrating.

@Waxolunist
Copy link

And now they tell us in the app version of Peugeot that 80% loading is available, but actually it isn't. Instead reading the battery level while charging is not possible anymore. Great.
First, proposing a feature, but actually everything got worse.
How is this thread not getting any attention by management?

@ulfkosack
Copy link

Ok, the goal is the same. Switch off loading on 80%. It's ok for me. But given the reliability of the PSA app, I doubt that it will work. With the Opel app version 1.45.0 the is no info about the 80% loading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests