Home Assistant Add-on: PSA Car Controller

My new integration GitHub - andreadegiovine/homeassistant-stellantis-vehicles (inspired by GitHub - flobz/psa_car_controller: Control psa car with connected_car v4 API.) in BETA version is available.
Don’t forget to include logs in issue requests.
Many thanks.

3 Likes

I dont suppose anyone knows if this amazing addon can be changed to Miles instead of Kilometers and GBP instead of Euro ? Thanks loads :slight_smile:

Here you have info how to change currency

i.e.
http://homeassistant.local:5000/settings/Electricity_config (you can change all parameters which are here)
http://localhost:5000/settings/general?currency=£

1 Like

@flobz I understand that this is an old topic, but maybe you could pinpoint me in a direction how I can do a contribution to get my issue to work.

I have a Citroen EC4. I have setup an automation to activate preconditioning. This automation is executed as expected and runs without errors. In the log you see:

2025-02-03 07:31:12,113 :: INFO :: <MY-IP> - - [03/Feb/2025 07:31:12] "e[37mGET /preconditioning/<MY-VIN>/1 HTTP/1.1e[0m" 200

Sadly there is no json response what is going on. I also tried out a curl .../preconditioning/<MY-VIN>/1, but this simply returns true. However when I monitor my car this does not result in that it actually starts the preconditioning.

When I open My Citroen app and activate the preconditioning than after some time it prompts me for my pin code. After I pass in my pin code and wait some more time it starts the preconditioning.

I guess the problem is that in order to activate preconditioning it sometimes ask you for the pin code and sometimes it does not. I would guess it has something to do with how long ago you entered your pin code.

My question is can you help me or pin point me into the direction where in the code base I need to look in order to debug this and make some contribution to get this flow to work?

I switched to GitHub - andreadegiovine/homeassistant-stellantis-vehicles and there everything works out of the box for me.

1 Like

Same for me. Works great.
Please thank the developer. It must have been a lot of work.
See also:

Hi,
I switched to and was very happy.

For 5 Days…

I use PSA controller for over a year now in ioBroker and it started to loose connection to psa every week.
Same with the stellantis add on now.

It seems to be a stellantis problem, even the App is unreliable as hell.

If I want my car preconditioned on a cold morning.
I need the moon in the correct phase, hopes and prayers and the blood of my first unborn child.
And a lot of luck.

When I bought the car I didn’t know there was an app.
Imho one should NEVER sell such rubbish to customers.
Same for VW btw.

Nils

1 Like

Hi,

I get the following message in the log at startup:

Containerised psa_car_controller loading…
2025-04-26 16:48:55,854 :: INFO :: App version 3.5.6
2025-04-26 16:48:55,857 :: ERROR :: No config file
2025-04-26 16:48:55,887 :: WARNING :: Can’t get language
2025-04-26 16:48:59,697 :: INFO :: update_data
2025-04-26 16:48:59,795 :: INFO :: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.

Does anyone know what I can do?

thank you in advance.

@jmeister79 in the last releases of the new integration a lot of issues are resolved so you might wanna give it another shot

I wonder if anyone can help, I’m trying to get a sense of weather I need to get my 12v service battery replaced on my e-208. It was sat unused and not charging for 24 hours (and with hourly wake-ups, during which it went from 84.5% down to 71.5%.

13% over 24 hours seems quite a high drain to me and I wonder if the 12v is in bad condition, but that could be normal with this car for all I know. I’ve now set the wakeups to only run when the service battery is above 75%. I also need to measure the voltage with my multi-meter because I don’t know what the percentages relate to in terms of voltages.

Currently got the PSA Car Controller setup. Now trying to set it up with EVCC, for that I need the URL once installed on Home Assistant.

I can not seem to figure that out… anyone able to help?

mine looks like this:

vehicles:
  - name: e-c4
    type: template
    template: flobz
    url: http://YOURHOMEASSISTANTIP:5000
    vin: YOURVIN # Erforderlich, wenn mehrere Fahrzeuge des Herstellers vorhanden sind
    title: CITROËN ë-C4 # Wird in der Benutzeroberfläche angezeigt (optional)
    capacity: 46 # Akkukapazität in kWh (optional)
    icon: car # Icon in der Benutzeroberfläche (optional)
    phases: 3 # Die maximale Anzahl der Phasen welche genutzt werden können (optional)
    mode: # Möglich sind Off, Now, MinPV und PV, oder leer wenn keiner definiert werden soll (optional)
    minCurrent: 6 # Definiert die minimale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (optional)
    maxCurrent: 16 # Definiert die maximale Stromstärke pro angeschlossener Phase mit welcher das Fahrzeug geladen werden soll (optional)
    identifiers: # Kann meist erst später eingetragen werden, siehe: https://docs.evcc.io/docs/features/vehicle (optional)
    priority: # Priorität des Ladepunktes oder Fahrzeugs in Relation zu anderen Ladepunkten oder Fahrzeugen für die Zuweisung von PV-Energie (optional)
    wakeup_alt: false # alternativer wakeup-Code; könnte zu erhöhter Entladung der 12V-Batterie führen. (optional)

Hi,

since the last update “Wake up” and “Start conditioning” are grayed out.

My Citroen C5 reports all data like temperatures, location, battery level etc. So I am sure ther is a connection to the vehicle.

Hey there,

I just wanted to update this topic as this problem has occurred to me too:

My new e-5008 has been with me for just 4 weeks now, and roughly 3 weeks ago I got the Stellantis Vehicles integration up and running. Since then I had to input the auth-token 3 times. By the third time, when I reloaded the integration, all control elements got greyed out and HA suggests removing them. The sensors are working though (albeit they don´t deliver current sensor values because I can´t properly wake up the car.)

Does anyone still use Stellantis Vehilces integeration and do youu have a solution for these problems?

Ty