psa_car_controller icon indicating copy to clipboard operation
psa_car_controller copied to clipboard

Wrong udpated_at timestamp for "energy" in vehicleInfo and on Control page at refresh button

Open fre4242 opened this issue 5 months ago • 4 comments

It looks as if Stellantis/PSA has changed the data record for the “energy” tag. Previously there was only one field “created_at”, which the psa_car_controller transferred to the vehicleInfo json as “updated_at”. However, the Stellantis server now also sends an updated_at. As expected, it now contains the time of the last change. The "created_at" field remains at an old status and may no longer change. As a result, psa_car_controller always returns this old time as “updated_at” and not the correct value. If you now look at this time to see whether something has changed, you will always see the old date.

The psa_car_controller web page also shows this wrong "udpated_at" info at the wakeup/refresh button on the "Control" page (at the upper left side).

Suggested fix: A new field "created_at" at psa_car_controller's vehicleInfo json should be added and the udpated_at field should present the information received from updated_at field from Stellantis server.

I've already fixed this issue with my pull request https://github.com/flobz/psa_car_controller/pull/1096

fre4242 avatar Jul 06 '25 17:07 fre4242