Closed CalicodesIles closed 2 years ago
Well, I just need to post an issue here, and notice the day after that it is now working correctly... I think that Stellantis restarted some services :)
Look at 16:14 and 16:22 (the car wasn't in use, just plugged in and charging)
2021-11-17 15:40:38,807 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:42:39,608 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:44:40,599 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:46:41,095 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:48:41,553 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:50:41,960 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:52:42,378 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:54:42,763 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:56:43,220 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 15:58:43,831 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:00:44,318 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:02:44,810 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:04:45,239 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:06:45,680 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:08:46,666 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:10:47,073 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:12:47,543 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 68 2021-11-17 16:14:21,356 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:14:14Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":78,"autonomy_zev":142,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":0,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:14:21,363 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:14:14Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":78,"autonomy_zev":142,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:14:21,376 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:14:17Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":1,"status":8},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":115,"rate":20,"cable_detected":0,"soc_batt":78,"autonomy_zev":226,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:14:21,377 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:14:14Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":8},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":78,"autonomy_zev":142,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:14:48,268 :: INFO :: save config change 2021-11-17 16:14:48,713 :: INFO :: save config change 2021-11-17 16:14:49,546 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:14:49,555 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:14:49,556 :: INFO :: update_data 2021-11-17 16:14:49,960 :: INFO :: update_data 2021-11-17 16:14:50,436 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 86 2021-11-17 16:16:50,957 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:16:50,967 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:16:50,968 :: INFO :: update_data 2021-11-17 16:16:51,365 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 86 2021-11-17 16:18:52,302 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:18:52,313 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:18:52,320 :: INFO :: update_data 2021-11-17 16:18:52,718 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 86 2021-11-17 16:20:53,097 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:20:53,106 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:20:53,113 :: INFO :: update_data 2021-11-17 16:20:53,510 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 86 2021-11-17 16:22:56,301 :: ERROR :: get_vehicle_info: ApiException: (500) Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({'X-Backside-Transport': 'OK OK', 'Connection': 'close', 'Content-Type': 'application/hal+json', 'Date': 'Wed, 17 Nov 2021 15:22:57 GMT', 'X-Global-Transaction-ID': '08f333a561951e4e361ebb31', 'Cache-Control': 'no-store, no-cache, must-revalidate, private', 'Expires': '0', 'Access-Control-Expose-Headers': 'APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET', 'Set-Cookie': 'rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Tue, 16-Nov-2021 15:22:54 GMT, JSESSIONID=aObmjv2oSzMFFnUxVaIsTwxvxkNY4hyJeknl-q_c; path=/, PSACountry=FR;Domain=.groupe-psa.com;Path=/'}) HTTP response body: {"uuid":"672ee0bc-bf41-4698-b95e-e60bc19573f7","code":50000,"message":"Internal server error"}
2021-11-17 16:22:56,652 :: ERROR :: get_vehicle_info: ApiException: (500) Reason: Internal Server Error HTTP response headers: HTTPHeaderDict({'X-Backside-Transport': 'OK OK', 'Connection': 'close', 'Content-Type': 'application/hal+json', 'Date': 'Wed, 17 Nov 2021 15:22:57 GMT', 'X-Global-Transaction-ID': '945fb68f61951e51026dd26f', 'Cache-Control': 'no-store, no-cache, must-revalidate, private', 'Expires': '0', 'Access-Control-Expose-Headers': 'APIm-Debug-Trans-Id, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset, X-Global-Transaction-ID', 'Access-Control-Allow-Origin': '*', 'Access-Control-Allow-Methods': 'GET', 'Set-Cookie': 'rememberMe=deleteMe; Path=/; Max-Age=0; Expires=Tue, 16-Nov-2021 15:22:57 GMT, JSESSIONID=0JrTbTgEXp-JTmchExJqU3nr5RLmVIfBRBoGvPWM; path=/, PSACountry=FR;Domain=.groupe-psa.com;Path=/'}) HTTP response body: {"uuid":"613b35f5-2667-491b-877d-fd025dadab37","code":50000,"message":"Internal server error"}
2021-11-17 16:22:56,654 :: ERROR :: status of VR3UHZKXZXXXXXXXX is None 2021-11-17 16:22:56,654 :: ERROR :: Probably can't retrieve all information from API: Traceback (most recent call last): File "/usr/local/src/psa_car_controller/charge_control.py", line 73, in process vehicle_status = self.psacc.vehicles_list.get_car_by_vin(self.vin).get_status() File "/usr/local/src/psa_car_controller/libs/car.py", line 51, in get_status raise ValueError("status of {} is None".format(self.vin)) ValueError: status of VR3UHZKXZXXXXXXXX is None 2021-11-17 16:24:57,087 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:24:57,097 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:24:57,104 :: INFO :: update_data 2021-11-17 16:24:57,604 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 86 2021-11-17 16:26:58,024 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:26:58,034 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:26:58,034 :: INFO :: update_data 2021-11-17 16:26:58,439 :: INFO :: update_data 2021-11-17 16:26:58,854 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 87 2021-11-17 16:28:59,288 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:28:59,297 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:28:59,298 :: INFO :: update_data 2021-11-17 16:28:59,772 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 87 2021-11-17 16:30:04,912 :: INFO :: <Request 'http://192.168.1.35:5000/charge_control?vin=VR3UHZKXZXXXXXXXX&%3Falways_check=true' [GET]> 2021-11-17 16:31:00,205 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:31:00,215 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:31:00,222 :: INFO :: update_data 2021-11-17 16:31:00,641 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 87 2021-11-17 16:33:00,998 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:33:01,008 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:33:01,016 :: INFO :: update_data 2021-11-17 16:33:01,411 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 87 2021-11-17 16:35:01,843 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:35:01,852 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:35:01,860 :: INFO :: update_data 2021-11-17 16:35:02,265 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 87 2021-11-17 16:37:02,786 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:37:02,796 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:37:02,797 :: INFO :: update_data 2021-11-17 16:37:03,282 :: INFO :: update_data 2021-11-17 16:37:03,675 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 88 2021-11-17 16:39:04,032 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:39:04,042 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:39:04,043 :: INFO :: update_data 2021-11-17 16:39:04,440 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 88 2021-11-17 16:41:04,843 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:41:04,851 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:41:04,859 :: INFO :: update_data 2021-11-17 16:41:05,330 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 88 2021-11-17 16:43:05,766 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:43:05,776 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:43:05,783 :: INFO :: update_data 2021-11-17 16:43:06,180 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 88 2021-11-17 16:45:06,666 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:45:06,675 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:45:06,682 :: INFO :: update_data 2021-11-17 16:45:07,103 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 88 2021-11-17 16:46:43,417 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:46:41Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":1,"status":8},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":90,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":242,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:47:07,580 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:47:07,590 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:47:07,591 :: INFO :: update_data 2021-11-17 16:47:08,096 :: INFO :: update_data 2021-11-17 16:47:08,504 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:49:08,963 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:49:08,973 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:49:08,974 :: INFO :: update_data 2021-11-17 16:49:09,371 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:51:09,814 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:51:09,824 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:51:09,832 :: INFO :: update_data 2021-11-17 16:51:10,229 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:53:10,625 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:53:10,635 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:53:10,643 :: INFO :: update_data 2021-11-17 16:53:11,119 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:55:11,546 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:55:11,559 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:55:11,566 :: INFO :: update_data 2021-11-17 16:55:11,983 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:57:12,363 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:57:12,373 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:57:12,381 :: INFO :: update_data 2021-11-17 16:57:12,778 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 89 2021-11-17 16:59:03,403 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T15:59:01Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":1,"status":2},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":85,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":250,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 16:59:13,387 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 16:59:13,397 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 16:59:13,398 :: INFO :: update_data 2021-11-17 16:59:13,876 :: INFO :: update_data 2021-11-17 16:59:14,276 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 90 2021-11-17 17:01:14,759 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:01:14,768 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:01:14,769 :: INFO :: update_data 2021-11-17 17:01:15,164 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 90 2021-11-17 17:03:15,572 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:03:15,582 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:03:15,590 :: INFO :: update_data 2021-11-17 17:03:15,987 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 90 2021-11-17 17:05:16,407 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:05:16,417 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:05:16,425 :: INFO :: update_data 2021-11-17 17:05:16,914 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 90 2021-11-17 17:07:17,378 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:07:17,388 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:07:17,396 :: INFO :: update_data 2021-11-17 17:07:17,788 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 90 2021-11-17 17:09:03,916 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:09:01Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":1,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":7,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:09:18,189 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:09:18,197 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:09:18,198 :: INFO :: update_data 2021-11-17 17:09:18,632 :: INFO :: update_data 2021-11-17 17:09:19,104 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 91 2021-11-17 17:11:19,502 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:11:19,512 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:11:19,513 :: INFO :: update_data 2021-11-17 17:11:19,924 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 91 2021-11-17 17:13:20,371 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 91 2021-11-17 17:15:15,267 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:04Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":0,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:15,362 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:05Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:15,382 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:05Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:15,389 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:05Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:15,412 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:05Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":75,"rate":14,"cable_detected":0,"soc_batt":89,"autonomy_zev":252,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:15,451 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-17T16:15:07Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":20,"cable_detected":1,"soc_batt":89,"autonomy_zev":256,"type":0,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-11-17T13:07:00Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-17 17:15:21,045 :: INFO :: save config change 2021-11-17 17:15:21,513 :: INFO :: save config change 2021-11-17 17:15:21,847 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-17 17:15:21,857 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-17 17:15:21,865 :: INFO :: update_data 2021-11-17 17:15:22,252 :: ERROR :: Can't find country for None None 2021-11-17 17:15:22,253 :: WARNING :: Using country of origin : FR (wrong co2 when traveling abroad) 2021-11-17 17:15:22,761 :: INFO :: update_data 2021-11-17 17:15:23,230 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 91
It only worked for 1 day. Problem is back.
Am I the only one to get this issue ?
Today I can test it, the first thing that it don't update the value shows also for me, but at state of 73% I triggert a for refresh by using the App, it seems that there is a different MQTT command to for update battery status, but I wonder about both other state but I think it is a Stellantis issue because Tronity app never send push notice for charge state
2021-11-18 15:14:26,154 :: DEBUG :: charging_status:Disconnected
2021-11-18 15:16:33,234 :: DEBUG :: charging_status:InProgress
2021-11-18 15:16:26,647 :: DEBUG :: level:50.0 charge_date:2021-11-18 14:16:07+00:00 level_fuel:0.0 moving:False
...
2021-11-18 16:21:11,784 :: DEBUG :: level:50.0 charge_date:2021-11-18 14:16:07+00:00 level_fuel:0.0 moving:False
2021-11-18 16:21:12,132 :: DEBUG :: charging_status:InProgress
2021-11-18 16:22:02,289 :: DEBUG :: level:73.0 charge_date:2021-11-18 15:21:50+00:00 level_fuel:0.0 moving:False
...
2021-11-18 17:29:57,846 :: DEBUG :: level:92.0 charge_date:2021-11-18 16:29:43+00:00 level_fuel:0.0 moving:False
...
2021-11-18 18:42:49,097 :: DEBUG :: level:100.0 charge_date:2021-11-18 17:42:43+00:00 level_fuel:0.0 moving:False
Got an answer from TRONITY support, which could explain this issue :
"this is a PSA overall issue for AC charges. They implemented this so that the car can go to sleep. Only DC charges will send an update. We already asked PSA if we can get a refreshed endpoint like MyPeugeot app but we are still waiting for it".
I'm just surprised that this topic issue is not generating many comments from psa_car_controller users : for this reason, charge control feature is completely broken.
We are a minority to get this issue ?
Sometime the car doesn't wakeup when a wakeup request is send. It can lead to this behavior. But for me it's working well.
OK thank you for your reply.
As it seems to occur since a lot of AC charges now, from my point of view it happens all the time.
Do you have "ask wakeup to XXXXX" in your log ?
In activity.log file ? Never no
what is the content of charge_config.json
my charge_config.json :
{ "VR3UHZKXZxxxxxxxx": { "percentage_threshold": 100, "stop_hour": null }
Ok if you don't have a charge threshold or a stop hour, no wake up are send and therefore data aren't updated...
OK it seems logical, but I have in mind that there was no value before when it was working. So in your opinion, I should only put something like 99 for percentage, OR a stop_hour to trigger regular updates ?
I'll give it a try during the week.
Thank you @flobz !
Unfortunately, no improvement even with a charge threshold (set at 99%)
2021-11-27 08:01:27,692 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 60
2021-11-27 08:03:28,212 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 60
2021-11-27 08:05:30,255 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 60
2021-11-27 08:07:30,771 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 60
2021-11-27 08:08:36,376 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-27T07:08:22Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":25,"on":1,"day":[1,0,0,1,1,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[0,0,0,1,1,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,1,1,0,0,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[1,1,1,0,0,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":57,"type":0,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":0,"signal_quality":4,"sev_stop_date":"2021-11-26T13:57:23Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-11-27 08:08:36,401 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-27T07:08:23Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":25,"on":1,"day":[1,0,0,1,1,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[0,0,0,1,1,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,1,1,0,0,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[1,1,1,0,0,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":57,"type":0,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":4,"sev_stop_date":"2021-11-26T13:57:23Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-11-27 08:08:36,411 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-27T07:08:23Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":25,"on":1,"day":[1,0,0,1,1,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[0,0,0,1,1,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,1,1,0,0,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[1,1,1,0,0,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":57,"type":0,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-26T13:57:23Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-11-27 08:08:36,415 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-27T07:08:25Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":25,"on":1,"day":[1,0,0,1,1,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[0,0,0,1,1,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,1,1,0,0,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[1,1,1,0,0,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":100,"autonomy_zev":350,"type":0,"hmi_state":4,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-26T13:57:23Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-11-27 08:08:36,424 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-27T07:08:23Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":25,"on":1,"day":[1,0,0,1,1,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[0,0,0,1,1,0,0]},"program3":{"hour":8,"minute":15,"on":1,"day":[0,1,1,0,0,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[1,1,1,0,0,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":57,"type":0,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-26T13:57:23Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-11-27 08:09:31,211 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX
2021-11-27 08:09:31,221 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX
2021-11-27 08:09:31,221 :: INFO :: update_data
2021-11-27 08:09:31,700 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Finished, battery level: 100
2021-11-27 08:11:32,216 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Finished, battery level: 100
2021-11-27 08:13:32,651 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Finished, battery level: 100
2021-11-27 08:15:33,136 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Finished, battery level: 100
2021-11-27 08:17:33,636 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Finished, battery level: 100
Confirm having same problem with PSA CC 2.5.6 and home assistant.
Battery status was updating correctly at 1% increments before (v.2.5.3 I think), even during AC charging.
My charge_config.json looks identical to the one posted by CalicodesIles
This not only breaks charge control, but also Charging statistics, as today for example I stopped the AC charge at 93%, but the Charging statistics shows that I have stopped it at 89% ( due to manually refreshing MyPeugeot app). This of course breaks any price statistics PSACC provides.
I don't know why you don't have wakup request made... Remote Control works ?
My car is being handled by the garage actually. I will update this issue as soon as I will get my car back.
If @maivorbim is available to verify @flobz question in his own car, this would be great !
Yeah if you could give me log at program start it would be great.
Yeah if you could give me log at program start it would be great.
Remote control (turning preconditioning on/off) works from PSACC app, and also from MyPeugeot app.
Attached is the activity.log generated at startup and the one during preconditioning.
Can you try last version ?
I just upgraded to latest version last night and I now have this. Does this could be related to our issue here ?
My charge_config.json have null values in this case :
2021-12-23 00:13:08,208 :: INFO :: update_data
2021-12-23 00:13:08,637 :: INFO :: update_data
2021-12-23 00:13:09,121 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 57
2021-12-23 00:13:09,122 :: ERROR :: Charge control:
Traceback (most recent call last):
File "/usr/local/src/psa_car_controller/charge_control.py", line 76, in process
if status == "InProgress" and self.percentage_threshold < 100:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
2021-12-23 00:15:09,591 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 00:15:09,599 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 00:15:09,600 :: INFO :: update_data
2021-12-23 00:15:10,031 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 57
2021-12-23 00:15:10,031 :: ERROR :: Charge control:
Traceback (most recent call last):
File "/usr/local/src/psa_car_controller/charge_control.py", line 76, in process
if status == "InProgress" and self.percentage_threshold < 100:
TypeError: '<' not supported between instances of 'NoneType' and 'int'
If I force the value 100 for percentage threshold, the error disappears. Didn't try another value.
I tried an AC charge this morning (7 kW) and for the moment I don't think that there is an improvement. There is a 1% increase reported correctly (I don't think that it was the case before), but not the following ones.
2021-12-23 08:01:56,001 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is Disconnected, battery level: 48
2021-12-23 08:03:56,365 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 08:03:56,374 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 08:03:56,375 :: INFO :: update_data
2021-12-23 08:03:56,788 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is Disconnected, battery level: 47
2021-12-23 08:05:57,221 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 08:05:57,230 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 08:05:57,231 :: INFO :: update_data
2021-12-23 08:05:57,646 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is Disconnected, battery level: 47
2021-12-23 08:07:57,994 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 08:07:58,004 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 08:07:58,005 :: INFO :: update_data
2021-12-23 08:07:58,515 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is Disconnected, battery level: 46
2021-12-23 08:08:49,708 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZXXXXXXXXXXX b'{"date":"2021-12-23T07:08:37Z","etat_res_elec":5,"precond_state":{"available":1,"programs":{"program1":{"hour":8,"minute":0,"on":1,"day":[0,0,1,0,0,0,0]},"program2":{"hour":18,"minute":0,"on":1,"day":[0,0,1,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},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":56,"autonomy_zev":44,"type":0,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZXXXXXXXXXXX","reason":2,"signal_quality":2,"sev_stop_date":"2021-12-23T07:08:37Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":24,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-12-23 08:08:49,742 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZXXXXXXXXXXX b'{"date":"2021-12-23T07:08:37Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":8,"minute":0,"on":1,"day":[0,0,1,0,0,0,0]},"program2":{"hour":18,"minute":0,"on":1,"day":[0,0,1,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},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":56,"autonomy_zev":44,"type":0,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZXXXXXXXXXXX","reason":6,"signal_quality":2,"sev_stop_date":"2021-12-23T07:08:37Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":25,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-12-23 08:09:51,366 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZXXXXXXXXXXX b'{"date":"2021-12-23T07:09:39Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":8,"minute":0,"on":1,"day":[0,0,1,0,0,0,0]},"program2":{"hour":18,"minute":0,"on":1,"day":[0,0,1,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},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":56,"autonomy_zev":48,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZXXXXXXXXXXX","reason":4,"signal_quality":2,"sev_stop_date":"2021-12-23T07:08:37Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":26,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}'
2021-12-23 08:09:59,007 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 08:09:59,016 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 08:09:59,017 :: INFO :: update_data
2021-12-23 08:09:59,440 :: INFO :: update_data
2021-12-23 08:09:59,869 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 46
2021-12-23 08:12:00,757 :: INFO :: level_fuel unfixed for VR3UHZXXXXXXXXXXX
2021-12-23 08:12:00,767 :: INFO :: new position recorded for VR3UHZXXXXXXXXXXX
2021-12-23 08:12:00,767 :: INFO :: update_data
2021-12-23 08:12:01,238 :: INFO :: update_data
2021-12-23 08:12:01,748 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:14:02,069 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:16:02,467 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:18:02,874 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:20:04,287 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:20:14,357 :: INFO :: save config change
2021-12-23 08:22:05,364 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:24:05,795 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:26:06,282 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:28:06,777 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:30:07,402 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
2021-12-23 08:32:07,872 :: INFO :: charging status of VR3UHZXXXXXXXXXXX is InProgress, battery level: 47
Charge threshold can't be null.
Can you try last version ?
Same thing on v.2.6.0 . If relevant, when driving the battery status is updated constantly every 1%. While charging, the SoC % is updated only if I open the MyPeugeot app and refresh the car status from there.
Charge threshold can't be null.
Thanks for the info. Just to be clear, the log extract in the end of my last reply was done with a percentage threshold set to 100%, with latest version 2.6.0
Quick update, if I set a charge threshold of 80%, the charging percentage gets updated every approx. 5%. PSA CC v.2.6.0
It isn't supposed to update whilst AC charging under normal circumstances, the car goes to sleep. This has been the behaviour for the last 20 months on my car. The car will only update via the API if it is 'woken' by an event - charge stop/start. unlocking/locking, pre-con starting or running, refresh of the MyPeugeot app or PSA CC sending a wake command. I have an automation in HA that wakes the car every 30 mins if plugged in and actively slow charging so I get regular updates. Or you need to set a charge threshold of less than 100% in PSA CC and then PSA CC will wake the car to monitor the progress and so it knows when to send the stop charge (enable deferrred charging) command. Seems to be working as designed to me, not a bug.
These are the conditions on my automation in HA, then set a trigger time pattern of /30 of whatever you want it to be,. Then enable the automation. Simple .
Thank you for your sharing. I assure you that for the past few months / years of use, I always had this updating regularly without having to do anything more. It was its main use as flobz integrated the charge control function (charging up to a certain percentage)
Yes, if you enable the charge control function, so set a charge limit of less than 100%, PSA CC wakes the car to check on progress as I said. But if your charge limit is 100% or null it doesn't, as I said. If you have a charge limit set and your car isn't being periodically woken then something is wrong. Charge control feature still works perfectly well for me if the value is less than 100%. You said it works if you set the threshold to 80%?
Yes that was my point : I didn’t use the charge control feature before and though, it was working with refreshed battery values, and that without any refresh command sent by PSACC. I think that I can find a log extract on an older issue.
Now, logs seems to be far more verbose than before with charge control activated, because of the refresh command needed regularly.
I don’t know if that was the bug or something wrong on PSA side but I can assure you that I always had this working even with threshold set to 100%.
Have a look through the python code yourself - I'm assuming this line might have something to do with it in charge_control.py, but I'm not a coder. if status == "InProgress" and self.percentage_threshold < 100:
In 20 months my car has never updated SoC by itself in either the MyPeugeot app or TRONITY whilst AC charging as by Stellantis design, it is asleep. Something has to wake it. It has never been a Stellantis feature for AC charging to keep updating the API periodically.
And by the looks of the code, the charge control feature of PSA CC doesn't keep waking it if your charge threshold is 100. I don't know if that has changed as I have only been using PSA CC for a couple of months, and during that time the only time it has kept waking the car is if the charge threshold is < 100. If the charge threshold is 100, it doesn't.
That's why I always set it to 99%. And even then you will not get very recent data to work with. That's no bug in the addon, but a PSA flaw. My solution was to watch the charger's current it's charging with. My aim was to stop on 90% and that's easily doable that way as the car slows down to <4000 W after it gets to 90%.
That's why I always set it to 99%. And even then you will not get very recent data to work with. That's no bug in the addon, but a PSA flaw.
It is indeed - the process of waking the car and car updating its SoC to API takes at least 2 minutes, if not a little longer. And that is if the car is in an area with really good 3G connectivity. It might be worth some people connecting the car to their home wifi if they have poor or non-existent 2G/3G at home. A lot of 2G/3G is being turned off ...
Here is the YAML code for the Home Assistant automation:
- id: "58"
alias: E208 wakeup
trigger:
- platform: time_pattern
minutes: "/30"
condition:
- condition: state
entity_id: sensor.e208_charging_mode
state: Slow
action:
- service: rest_command.e208_wakeup
data: {}
mode: single
I can confirm the automation correctly updates the charging level every 30 minutes. I am still testing if a lower interval can be used, as a 10 minutes interval appears to have resulted in a "ban"/throttle limit, MyPeugeot app no longer updating and I had to disconnect the car battery for it to start working again.
charge info will be updated even if charge_threshold is at 100% in next release.
Describe the bug Battery level not updated regularly as before while charging.
To Reproduce Steps to reproduce the behavior:
Config file Give the anonymize content of the config file
Environment (please complete the following information):
Example while driving : 2021-11-15 08:24:58,136 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 100 2021-11-15 08:29:58,581 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 08:29:58,591 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 08:29:58,591 :: INFO :: update_data 2021-11-15 08:29:59,001 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 99 2021-11-15 08:34:59,479 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 08:34:59,489 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 08:34:59,490 :: INFO :: update_data 2021-11-15 08:34:59,893 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 94 2021-11-15 08:38:42,206 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T07:38:40Z","etat_res_elec":5,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":89,"autonomy_zev":274,"type":0,"hmi_state":0,"mode":2},"stolen_state":0," vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":3,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":1,"obj_counter":12,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 08:40:00,376 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 08:40:00,385 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 08:40:00,386 :: INFO :: update_data 2021-11-15 08:40:00,961 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 88 2021-11-15 08:45:01,355 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 08:45:01,365 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 08:45:01,366 :: INFO :: update_data 2021-11-15 08:45:01,773 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 86 2021-11-15 08:50:02,268 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 08:50:02,278 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 08:50:02,278 :: INFO :: update_data 2021-11-15 08:50:02,679 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is Disconnected, battery level: 80
Example while reaching 100% :
2021-11-15 06:24:29,192 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 54 2021-11-15 06:29:29,565 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 54 2021-11-15 06:34:12,661 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T05:34:07Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":51,"autonomy_zev":88,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"v in":"VR3UHZKXZXXXXXXXX","reason":0,"signal_quality":4,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 06:34:12,693 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T05:34:08Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":51,"autonomy_zev":88,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"v in":"VR3UHZKXZXXXXXXXX","reason":3,"signal_quality":4,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 06:34:12,718 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T05:34:08Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":51,"autonomy_zev":88,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"v in":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 06:34:12,731 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T05:34:10Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":100,"autonomy_zev":290,"type":0,"hmi_state":4,"mode":0},"stolen_state":0, "vin":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 06:34:12,743 :: INFO :: mqtt msg received: psa/RemoteServices/events/MPHRTServices/VR3UHZKXZXXXXXXXX b'{"date":"2021-11-15T05:34:08Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":7,"minute":45,"on":1,"day":[1,1,1,0,0,0,0]},"program2":{"hour":17,"minute":0,"on":1,"day":[1,1,1,0,0,0,0]},"progr am3":{"hour":8,"minute":15,"on":1,"day":[0,0,0,1,1,0,0]},"program4":{"hour":18,"minute":30,"on":1,"day":[0,0,0,1,1,0,0]}},"asap":0,"status":0},"charging_state":{"program":{"hour":8,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":51,"autonomy_zev":88,"type":0,"hmi_state":1,"mode":0},"stolen_state":0,"v in":"VR3UHZKXZXXXXXXXX","reason":4,"signal_quality":4,"sev_stop_date":"2021-11-14T18:53:14Z","fds":["NDR01","NDC01","NBM01","NDA01","NDD01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":1,"superlock_state":0}' 2021-11-15 06:34:29,937 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 54 2021-11-15 06:39:30,398 :: INFO :: level_fuel unfixed for VR3UHZKXZXXXXXXXX 2021-11-15 06:39:30,407 :: INFO :: new position recorded for VR3UHZKXZXXXXXXXX 2021-11-15 06:39:30,408 :: INFO :: update_data 2021-11-15 06:39:31,274 :: ERROR :: Can't find country for None None 2021-11-15 06:39:31,275 :: WARNING :: Using country of origin : FR (wrong co2 when traveling abroad) 2021-11-15 06:39:31,740 :: INFO :: update_data 2021-11-15 06:39:32,145 :: INFO :: charging status of VR3UHZKXZLT011247 is Finished, battery level: 100
Example during the day while slow charging :
2021-11-15 13:30:41,650 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 13:35:42,102 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 13:40:42,609 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 13:45:43,046 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 13:50:43,481 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 13:55:43,999 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65 2021-11-15 14:00:44,448 :: INFO :: charging status of VR3UHZKXZXXXXXXXX is InProgress, battery level: 65
Battery level is showing the right information in activity.log only when :