psa_car_controller icon indicating copy to clipboard operation
psa_car_controller copied to clipboard

Show confirmation about Stellantis servers accepting commands in web UI

Open gernot-h opened this issue 1 year ago • 1 comments

I think quite some issues are caused by Stellantis servers stopping to accept our commands, e.g. the regular wakeup psacc is sending during charge or manual commands like for example discussed in #797 or #811.

I think the following messages indicate that Stellantis servers accepted a command:

2024-03-24 21:52:18,800 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/OV-ACNTxxx/VehCharge/state/ProcessManagement b'{"process_date":"2024-03-24T20:52:18Z","vin":"xxx","correlation_id":"xxx","process_code":"900","process_message":"[process.900.request.accepted.key]"}'
2024-03-24 21:52:19,105 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/OV-ACNTxxx/VehCharge/state/ProcessManagement b'{"process_date":"2024-03-24T20:52:19Z","vin":"xxx","correlation_id":"xxx","process_code":"901","process_message":"[process.901.vehicle.asleep.key]"}'
2024-03-24 21:52:29,326 :: INFO :: mqtt msg received: psa/RemoteServices/to/cid/OV-ACNTxxx/VehCharge/state/ProcessManagement b'{"process_date":"2024-03-24T20:52:29Z","vin":"xxx","correlation_id":"xxx","process_code":"903","process_message":"[process.903.request.forwarded.to.vehicle.key]"}'

At least for me, those messages were missing when I couldn't start/pause charging or the charge level wasn't updated.

So perhaps it would be a good idea to process those messages and show either a popup in the web UI ("command forwarded to vehicle successfully") or update some status field in in the "Control" tab, e.g.

grafik

gernot-h avatar Mar 24 '24 21:03 gernot-h

I think this would be really helpfull since the infra that Stellaris is using is really unreliable, thus having more feedback for end users is really beneficial to not have to dig into logging

FrankTub avatar Jan 18 '25 20:01 FrankTub