psa_car_controller icon indicating copy to clipboard operation
psa_car_controller copied to clipboard

Empty dashboard in psa_car_controller. In general: more logging about Stellantis API communication?

Open sanderjo opened this issue 7 months ago • 3 comments

I get an empty dashboard in psa_car_controller. Also after a restart of the docker container.

Image

The only info I see in the logging, is 'battery_power': 46. That info could be true ... so from the Stellantis API ... ? I'll check after charging / driving if that value changes. EDIT: Oh, that "battery_power": 46, is in cars.json? So no proof there is Stellantis API communication at all? I'll check after charging/driving.

The MyPeugeot app does show all information.

This could be a API problem on Stellantis side, but if so, it would be useful if psa_car_controller would tell in the logging or GUI which info it could and could not retrieve.

In general: it would be nice if stdout / logging would show the success or not of Stellantis communication.

$ docker run  -ti   --publish 5000:5000   -v /home/sander/psa_car_controller---docker-config:/config   flobz/psa_car_controller
Containerised psa_car_controller loading...
2026-04-29 05:43:11,904 :: INFO :: App version 3.6.3
2026-04-29 05:43:12,163 :: INFO :: database initialized !
2026-04-29 05:43:12,969 :: INFO :: ["{'vin': 'VR3UHZxxxx, 'vehicle_id': '1e77e1192b92735d2xxxxx, 'label': 'e-208', 'brand': 'Peugeot', 'abrp_name': 'peugeot:e208:20:50', 'battery_power': 46, 'fuel_capacity': 0, 'max_elec_consumption': 70, 'max_fuel_consumption': 0}"]
2026-04-29 05:43:12,970 :: INFO :: save config change
2026-04-29 05:43:12,974 :: WARNING :: Can't get language
2026-04-29 05:43:13,802 :: INFO :: update_trips
2026-04-29 05:43:14,307 :: INFO :: WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
 * Running on all addresses (0.0.0.0)
 * Running on http://127.0.0.1:5000
 * Running on http://172.17.0.2:5000
2026-04-29 05:43:14,307 :: INFO :: Press CTRL+C to quit
2026-04-29 05:43:23,857 :: INFO :: 172.17.0.1 - - [29/Apr/2026 05:43:23] "GET / HTTP/1.1" 200 -

sanderjo avatar Apr 29 '26 05:04 sanderjo

FWIW:

http://127.0.0.1:5000/vehicles/chargings and http://127.0.0.1:5000/vehicles/trips are empty

Image Image

sanderjo avatar Apr 29 '26 05:04 sanderjo

Wait ... MyPeugeot shows last updated on 28 april 2026 21:01 ... so 1.5 days ago. And that was the last moment I was driving in my car with my phone in the car (so connected via Bluetooth).

So does my MyPeugeot app only update when connected to my car (via Bluetooth), and doesn't my car itself connect over the air at all ... ? If so, it could be there is no information at all at Stellantis?

I'll check after charging my car today (and NOT driving / NOT letting my phone connect to the car) and see if the battery status in the MyPeugeot app updates at all. If not, it's proof there is communication between my car OTA with Stellantis.

Image

sanderjo avatar Apr 29 '26 06:04 sanderjo

You can force update the stellentis app by dragging down on the screen or tap on the top right icon, To be fair 60% of the time it works every time…

An other solution is to unlock the car and let it lock itself back, while the car is unlocked try force reload from the app.

In PSA_Car_Controller you can send a wake up api call, in the control tab, tap the icon

Image

Wait a bit and reload the page.

emmanuel-blin avatar Apr 29 '26 16:04 emmanuel-blin