Peugeot Citroen DS cars - Connected Car

Hi to all,
I have integrated my new C3 electric, and everything going well.
The only issue i have is with the preconditioning.
It returns a value that is not listed [WindowsRoofOpened] in the errors within the file preconditioning_airconditioning.py.
I modified the code including that error, and it disappeared but the preconditioning still returns “Failure” and doesn’t start.

2025-01-06 15:59:00,089 :: INFO :: Preconditioning: topic: psa/RemoteServices/from/cid/AC-ACNT200011368467/ThermalPrecond: {'asap': 'activate', 'programs': {'program1': {'hour': 34, 'minute': 7, 'on': 0, 'day': [0, 0, 0, 0, 0, 0, 0]}, 'program2': {'hour': 34, 'minute': 7, 'on': 0, 'day': [0, 0, 0, 0, 0, 0, 0]}, 'program3': {'hour': 34, 'minute': 7, 'on': 0, 'day': [0, 0, 0, 0, 0, 0, 0]}, 'program4': {'hour': 34, 'minute': 7, 'on': 0, 'day': [0, 0, 0, 0, 0, 0, 0]}}}
2025-01-06 15:59:02,152 :: INFO :: 192.168.1.129 - - [06/Jan/2025 15:59:02] "GET /preconditioning/VR7CBZYA1RT157439/1 HTTP/1.1" 200 -
2025-01-06 15:59:02,385 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/AC-ACNT200011368467/ThermalPrecond/ProcessManagement b'{"process_date":"2025-01-06T14:59:02Z","vin":"VR7CBZYA1RT157439","correlation_id":"16e4ce231b0d4a219c0397dfc095357e20250106145902150","process_code":"900","process_message":"[process.900.request.accepted.key]"}'
2025-01-06 15:59:02,403 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/AC-ACNT200011368467/ThermalPrecond/ProcessManagement b'{"process_date":"2025-01-06T14:59:02Z","vin":"VR7CBZYA1RT157439","correlation_id":"16e4ce231b0d4a219c0397dfc095357e20250106145902150","process_code":"903","process_message":"[process.903.request.forwarded.to.vehicle.key]"}'
2025-01-06 15:59:02,540 :: INFO :: 192.168.1.129 - - [06/Jan/2025 15:59:02] "GET /favicon.ico HTTP/1.1" 200 -
2025-01-06 15:59:02,796 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/AC-ACNT200011368467/ThermalPrecond b'{"resp_date":"2025-01-06T14:59:02Z","vin":"VR7CBZYA1RT157439","correlation_id":"16e4ce231b0d4a219c0397dfc095357e20250106145902150","return_code":"500"}'
2025-01-06 15:59:02,797 :: ERROR :: 500 : ?

Any advice?

Ops, iv’e also an issue with milleage:
This is the error:

2025-01-06 15:59:23,515 :: ERROR :: The api return a wrong mileage for VR7CBZYA1RT157439 : 0.000000

Regards,

Alessandro

1 Like

Hello,
i have the new Ec3 too, “You” model, since Sept 30th.
Do you manage to connect the “MyCitroen” app before all this HA integration or not necessary ?

My new integration (BETA version) is available:

(inspired by GitHub - flobz/psa_car_controller: Control psa car with connected_car v4 API.)

Don’t forget to include logs in issue requests.

Many thanks.

1 Like