psa_car_controller
psa_car_controller copied to clipboard
charge status from api broken
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- none I removed and re added the container to try to fix
- yesterday
- yes
- yes
Config file { "abrp": { "abrp_enable_vin": [], "token": "" }, "client_id": "1eebc2d5-5df3-459b-a624-20abfcf82530", "client_secret": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "co2_signal_api": null, "country_code": "GB", "customer_id": "AP-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX7", "proxies": { "http": "", "https": "" }, "realm": "clientsB2CPeugeot", "refresh_token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "remote_refresh_token": "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "weather_api": null }
Environment (please complete the following information):
- Container
- peugeot 308
- latest
- Log from http://server_address:port/log and browser console log 2022-07-22 07:15:26,274 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3xxxxxxxxx'{"date":"2022-07-22T07:14:39Z","etat_res_elec":0,"precond_state":{"available":1,"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]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":23,"minute":30},"available":1,"remaining_time":635,"rate":0,"cable_detected":1,"soc_batt":44,"autonomy_zev":16,"type":0,"aff":1,"hmi_state":0,"autonomy":480},"vin":"VR3xxxxxxxxxxxx","reason":4,"signal_quality":25,"sev_stop_date":"2022-07-21T12:46:46Z","fds":["NDR01","NDC01","NAE01","NBM01","NDA01","NDD01","NCG01","NAO02","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":3}' 2022-07-22 07:15:26,275 :: WARNING :: charge begin but API isn't updated 2022-07-22 07:15:29,754 :: INFO :: new position recorded for VR3F4DGYTNY536741 2022-07-22 07:15:29,854 :: INFO :: update_data 2022-07-22 07:15:30,441 :: ERROR :: charging status not available from api 2022-07-22 07:16:15,051 :: ERROR :: charging status not available from api 2022-07-22 07:16:26,330 :: INFO :: ask wakeup to VR3xxxxxxxxxxxxxx 2022-07-22 07:16:26,331 :: INFO :: topic: psa/RemoteServices/from/cid/AP-ACNT200007581577/VehCharge/state: {'action': 'state'} 2022-07-22 07:16:26,332 :: WARNING :: Disconnected with result code 1 2022-07-22 07:16:26,961 :: INFO :: save config change 2022-07-22 07:16:28,258 :: INFO :: Connected with result code {'session present': 0} 2022-07-22 07:16:28,259 :: INFO :: subscribe to psa/RemoteServices/to/cid/AP-ACNT200007581577/# 2022-07-22 07:16:28,259 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/VR3F4DGYTNY536741 2022-07-22 07:16:29,610 :: ERROR :: charging status not available from api 2022-07-22 07:16:30,045 :: ERROR :: charging status not available from api 2022-07-22 07:17:29,688 :: ERROR :: charging status not available from api 2022-07-22 07:18:15,052 :: ERROR :: charging status not available from api