-
-
Notifications
You must be signed in to change notification settings - Fork 294
Description
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
#1096