flobz / psa_car_controller

Control psa car with connected_car v4 API.
GNU General Public License v3.0
404 stars 214 forks source link

Charge control outputs errors and/or does not work. #36

Closed dreimer1986 closed 3 years ago

dreimer1986 commented 3 years ago

Describe the bug Charge control seems to not do anything

To Reproduce Steps to reproduce the behavior:

  1. what command did you use

C:\Users\bla\AppData\Local\Programs\Python\Python39\python.exe server.py -f config.json -l 192.168.181.50 -c charge_config1.json -r (Work path is correctly set to where I loaded the GIT to)

  1. when the bug append ?

When I try to pass the REST commands from readme to control charge. Aka I tried setting a time in the past to stop charge, set a threshold and a simple stop. All cause errors or silently do nothing.

Commands I tried by GET method: http://192.168.181.50:5000/charge_now/VR3UBLABLABLABLAB/0 http://192.168.181.50:5000/charge_control?vin=VR3UBLABLABLABLAB&hour={{now().hour}}&minute={{now().minute -1}} (now() comes from Home Assistant aka I send a command one minute in the past.) http://192.168.181.50:5000/charge_control?vin=VR3UBLABLABLABLAB&percentage=90"

Config file Give the anonymize content of the config file

{ "client_id": "1xxxc2d5-5xxx-4xxb-a6xx-20axxxf82xx0", "client_secret": "xxtPxxx0cO8sC0lA2iExxR7gK6uE5rxxlJ8pC3nO1xx7tL8xx1", "customer_id": "AP-ACNTxxx005xxx21x", "proxies": { "http": "", "https": "" }, "realm": "clientsB2CPeugeot", "refresh_token": "e2bxe353-daxx-4962-8xx0-d04a6xx2adxx", "remote_refresh_token": "xx092c3c-3xxc-45xx-8xx7-a79bxxx6074c", "weather_api": null }

Environment (please complete the following information):

Additional context Output excerpt trying the REST commands.

2021-03-05 16:18:47,987 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T15:18:47Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":114,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":11,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 16:19:25,237 :: INFO :: update_data
2021-03-05 16:19:25,252 :: INFO :: new position recorded for *VID*
Exception on /charge_now/*VID*/0 [GET]
Traceback (most recent call last):
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\psa_car_controller\web\callback.py", line 59, in charge_now
    return jsonify(myp.charge_now(vin, charge != 0))
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range
192.168.181.42 - - [05/Mar/2021 16:19:25] "←[35m←[1mGET /charge_now/*VID*/0 HTTP/1.1←[0m" 500 -
2021-03-05 16:19:42,550 :: INFO :: update_data
2021-03-05 16:19:42,565 :: INFO :: new position recorded for *VID*
Exception on /charge_now/*VID*/0 [GET]
Traceback (most recent call last):
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\psa_car_controller\web\callback.py", line 59, in charge_now
    return jsonify(myp.charge_now(vin, charge != 0))
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range
192.168.181.42 - - [05/Mar/2021 16:19:42] "←[35m←[1mGET /charge_now/*VID*/0 HTTP/1.1←[0m" 500 -
2021-03-05 16:20:30,448 :: INFO :: charging status of *VID* is InProgress, battery level: 57.0
2021-03-05 16:21:07,461 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&hour=16&minute=20' [GET]>
2021-03-05 16:21:07,464 :: INFO :: save config change
192.168.181.42 - - [05/Mar/2021 16:21:07] "←[37mGET /charge_control?vin=*VID*&hour=16&minute=20 HTTP/1.1←[0m" 200 -
2021-03-05 16:21:56,399 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&hour=16&minute=20' [GET]>
192.168.181.42 - - [05/Mar/2021 16:21:56] "←[37mGET /charge_control?vin=*VID*&hour=16&minute=20 HTTP/1.1←[0m" 200 -
Exception on /charge_now/*VID*/0 [GET]
Traceback (most recent call last):
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\psa_car_controller\web\callback.py", line 59, in charge_now
    return jsonify(myp.charge_now(vin, charge != 0))
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range
192.168.181.42 - - [05/Mar/2021 16:22:07] "←[35m←[1mGET /charge_now/*VID*/0 HTTP/1.1←[0m" 500 -
2021-03-05 16:22:35,765 :: INFO :: charging status of *VID* is InProgress, battery level: 57.0
2021-03-05 16:23:19,609 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T15:23:14Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":114,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":3,"signal_quality":1,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 16:23:19,940 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T15:23:13Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":114,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":0,"signal_quality":1,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 16:23:20,192 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T15:23:16Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":630,"rate":6,"cable_detected":0,"soc_batt":65,"autonomy_zev":116,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":1,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 16:23:44,197 :: INFO :: update_data
2021-03-05 16:23:44,213 :: INFO :: new position recorded for *VID*
192.168.181.42 - - [05/Mar/2021 16:23:44] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 16:23:48] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 16:23:48] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 16:23:49] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
2021-03-05 16:24:39,513 :: INFO :: charging status of *VID* is InProgress, battery level: 57.0
flobz commented 3 years ago

Please check the charge control config file it seems that there is an error in that file.

dreimer1986 commented 3 years ago

charge_config.json you mean?

{
    "VR3UBLABLABLABLAB": {
        "percentage_threshold": 80,
        "stop_hour": [
            16,
            20
        ]
    }
}

EDIT. Funfact. I have a charge_config1.json too. That's the one it generated at the very beginning. Same stuff inside except percentage threshold is 100 and stop hour is null. Is it possible that I should switch to that one without the 1 in the loading parameters as I did with test.json to config.json later on?

EDIT2: Just tried that and removed the 1 and now it seems to react to the set stop parameters, but the same way as the charge_now /0 with the same error.

dreimer1986 commented 3 years ago

Back home, here the missing log.

2021-03-05 17:34:02,834 :: INFO :: server start
2021-03-05 17:34:04,264 :: INFO :: {'*VID*': {'id': '1566c497a5655686153316861545651774d4467784e54496a497a67334d546b78597a526a593245794d5445334f57526b5a6a6331597a4d775a6a686a4d47493259325a69595441324e575a6d4f5459304d4445355a5451774f44466a4f54566c4e544a6d4e6d5a695932566a4d54453d'}}
2021-03-05 17:34:05,142 :: INFO :: ask state to *VID*
2021-03-05 17:34:05,486 :: INFO :: {"access_token": "8553a1da-6174-47ae-91da-2e401446c58d", "customer_id": "*CID*", "correlation_id": "91a3abe5c3c84f4ba086f01c7af6426120210305163405485", "req_date": "2021-03-05T16:34:05Z", "vin": "*VID*", "req_parameters": {"action": "state"}}
2021-03-05 17:34:06,386 :: INFO :: Connected with result code {'session present': 0}
2021-03-05 17:34:06,386 :: INFO :: subscribe to psa/RemoteServices/to/cid/*CID*/#
2021-03-05 17:34:06,387 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/*VID*
2021-03-05 17:34:06,577 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehicleState/ProcessManagement b'{"process_date":"2021-03-05T16:34:06Z","vin":"*VID*","correlation_id":"91a3abe5c3c84f4ba086f01c7af6426120210305163405485","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-05 17:34:06,721 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehicleState b'{"resp_date":"2021-03-05T16:34:07Z","vin":"*VID*","correlation_id":"91a3abe5c3c84f4ba086f01c7af6426120210305163405485","return_code":"0","resp_data":{"date":"2021-03-05T16:29:27Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":630,"rate":6,"cable_detected":0,"soc_batt":65,"autonomy_zev":136,"type":0,"aff":1,"hmi_state":1,"mode":0},"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}}'
2021-03-05 17:34:07,787 :: INFO :: charging status of *VID* is InProgress, battery level: 60.0
2021-03-05 17:34:07,789 :: INFO :: save config change
2021-03-05 17:34:09,154 :: INFO :: update_data
 * Running on http://192.168.181.50:5000/ (Press CTRL+C to quit)
Exception on /charge_now/*VID*/0 [GET]
Traceback (most recent call last):
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 2447, in wsgi_app
    response = self.full_dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1952, in full_dispatch_request
    rv = self.handle_user_exception(e)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1821, in handle_user_exception
    reraise(exc_type, exc_value, tb)
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\_compat.py", line 39, in reraise
    raise value
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1950, in full_dispatch_request
    rv = self.dispatch_request()
  File "C:\Users\reime\AppData\Local\Programs\Python\Python39\lib\site-packages\flask\app.py", line 1936, in dispatch_request
    return self.view_functions[rule.endpoint](**req.view_args)
  File "C:\psa_car_controller\web\callback.py", line 59, in charge_now
    return jsonify(myp.charge_now(vin, charge != 0))
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range
192.168.181.42 - - [05/Mar/2021 17:35:36] "←[35m←[1mGET /charge_now/*VID*/0 HTTP/1.1←[0m" 500 -
2021-03-05 17:36:11,096 :: INFO :: charging status of *VID* is InProgress, battery level: 60.0
2021-03-05 17:36:21,527 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&percentage=90' [GET]>
2021-03-05 17:36:21,530 :: INFO :: save config change
192.168.181.42 - - [05/Mar/2021 17:36:21] "←[37mGET /charge_control?vin=*VID*&percentage=90 HTTP/1.1←[0m" 200 -
2021-03-05 17:36:31,087 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&hour=17&minute=35' [GET]>
2021-03-05 17:36:31,090 :: INFO :: save config change
192.168.181.42 - - [05/Mar/2021 17:36:31] "←[37mGET /charge_control?vin=*VID*&hour=17&minute=35 HTTP/1.1←[0m" 200 -
2021-03-05 17:38:14,531 :: INFO :: charging status of *VID* is InProgress, battery level: 60.0
192.168.181.42 - - [05/Mar/2021 17:38:46] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:38:46] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:38:47] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:38:47] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
2021-03-05 17:39:38,289 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&percentage=80' [GET]>
2021-03-05 17:39:38,290 :: INFO :: save config change
192.168.181.50 - - [05/Mar/2021 17:39:38] "←[37mGET /charge_control?vin=*VID*&percentage=80 HTTP/1.1←[0m" 200 -
192.168.181.50 - - [05/Mar/2021 17:39:38] "←[37mGET /favicon.ico HTTP/1.1←[0m" 200 -
2021-03-05 17:40:14,989 :: INFO :: charging status of *VID* is InProgress, battery level: 60.0
2021-03-05 17:40:38,938 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=*VID*&percentage=61' [GET]>
2021-03-05 17:40:38,940 :: INFO :: save config change
192.168.181.50 - - [05/Mar/2021 17:40:38] "←[37mGET /charge_control?vin=*VID*&percentage=61 HTTP/1.1←[0m" 200 -
192.168.181.50 - - [05/Mar/2021 17:40:39] "←[37mGET /favicon.ico HTTP/1.1←[0m" 200 -
2021-03-05 17:42:15,477 :: INFO :: charging status of *VID* is InProgress, battery level: 60.0
2021-03-05 17:42:15,478 :: INFO :: ask wakeup to *VID*
2021-03-05 17:42:15,937 :: INFO :: {"access_token": "8553a1da-6174-47ae-91da-2e401446c58d", "customer_id": "*CID*", "correlation_id": "87a2ae232c8c488880fa8f5a530e983620210305164215937", "req_date": "2021-03-05T16:42:15Z", "vin": "*VID*", "req_parameters": {"action": "state"}}
2021-03-05 17:42:16,450 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-05T16:42:16Z","vin":"*VID*","correlation_id":"87a2ae232c8c488880fa8f5a530e983620210305164215937","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-05 17:42:16,704 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-05T16:42:17Z","vin":"*VID*","correlation_id":"87a2ae232c8c488880fa8f5a530e983620210305164215937","process_code":"901","process_message":"The BTA is not connected, a request was sent to wake it up"}'
2021-03-05 17:42:33,049 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:31Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":136,"type":0,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:33,060 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:32Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":136,"type":0,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"*VID*","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:33,309 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:31Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":136,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:33,330 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-05T16:42:33Z","vin":"*VID*","correlation_id":"87a2ae232c8c488880fa8f5a530e983620210305164215937","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-05 17:42:33,606 :: INFO :: mqtt msg psa/RemoteServices/to/cid/*CID*/VehCharge/state b'{"resp_date":"2021-03-05T16:42:33Z","vin":"*VID*","correlation_id":"87a2ae232c8c488880fa8f5a530e983620210305164215937","return_code":"0"}'
2021-03-05 17:42:34,241 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:28Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":65,"autonomy_zev":136,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:35,744 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:35Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":630,"rate":6,"cable_detected":0,"soc_batt":65,"autonomy_zev":138,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:36,625 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/*VID* b'{"date":"2021-03-05T16:42:37Z","etat_res_elec":0,"precond_state":{"available":1,"programs":{"program1":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program2":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program3":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]},"program4":{"hour":0,"minute":0,"on":0,"day":[0,0,0,0,0,0,0]}},"asap":0,"status":0,"aff":1},"charging_state":{"program":{"hour":0,"minute":0},"available":1,"remaining_time":630,"rate":6,"cable_detected":0,"soc_batt":65,"autonomy_zev":138,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"*VID*","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T15:17:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-05 17:42:37,950 :: INFO :: save config change
192.168.181.42 - - [05/Mar/2021 17:43:44] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:43:44] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:43:44] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
192.168.181.42 - - [05/Mar/2021 17:43:45] "←[37mGET /get_vehicleinfo/*VID* HTTP/1.1←[0m" 200 -
2021-03-05 17:44:16,423 :: INFO :: charging status of *VID* is InProgress, battery level: 61.0
2021-03-05 17:44:16,820 :: ERROR :: Traceback (most recent call last):
  File "C:\psa_car_controller\ChargeControl.py", line 66, in start
    self.psacc.charge_now(self.vin, False)
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range

2021-03-05 17:46:17,307 :: INFO :: update_data
2021-03-05 17:46:17,324 :: INFO :: new position recorded for *VID*
2021-03-05 17:46:17,326 :: INFO :: charging status of *VID* is InProgress, battery level: 61.0
2021-03-05 17:46:21,200 :: ERROR :: Traceback (most recent call last):
  File "C:\psa_car_controller\ChargeControl.py", line 66, in start
    self.psacc.charge_now(self.vin, False)
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range

2021-03-05 17:48:25,811 :: INFO :: charging status of *VID* is InProgress, battery level: 61.0
2021-03-05 17:48:26,307 :: ERROR :: Traceback (most recent call last):
  File "C:\psa_car_controller\ChargeControl.py", line 66, in start
    self.psacc.charge_now(self.vin, False)
  File "C:\psa_car_controller\MyPSACC.py", line 398, in charge_now
    hour, minute = self.get_charge_hour(vin)
  File "C:\psa_car_controller\MyPSACC.py", line 369, in get_charge_hour
    hour = re.findall(reg, hour_str)[0]
IndexError: list index out of range

And the one and now only charge_config.json used here:

{
    "VR3UBLABLABLABLAB": {
        "percentage_threshold": 61,
        "stop_hour": [
            17,
            35
        ]
    }
}
flobz commented 3 years ago

What is your car ?

dreimer1986 commented 3 years ago

Peugeot e-208 GT Line in Vertigo Blue

EDIT: Just tried our new EVBox Elvi for the first time now. The server fired the above error again and again and the box still charged until I aborted on 85% by app selecting manual charge time 0:00 AM.

EDIT: Added my charge config anonymized by hex editor to keep possible problems intact. charge_config.json.txt

flobz commented 3 years ago

Can you retrieve last commit and retry, the error should be more explicit.

dreimer1986 commented 3 years ago

Did so... I now proudly present: Me fighting against my own settings. ^^

Well, as little explaination. I expected that the server now outputs more precise / other errors which you wanna see then, NOT that it just works now :P I stood on my car in dispair not managing to convice it to start my charging. App and phone were glowing and started to throw error after error when I tried to get it to start charging immediately. Why? Well, my charge limit was set to 61% from yesterday's tests and I already was on 85%. Additionally I had a experimental automation in HA disabling charge on 80%. So charging started and was killed off immediately. I was close to think my new today installed wallbox was dead or my car or both. Luckily in the end it was my stupidity. I went on my PC and saw who was mocking me ^^ OK, bug fixed as it seems. Now back to verifying if the 90% limit is meant for every charge now or just the current one. Then I can choose if I need a automation to get it always end it on 90% or not.

Of course I will add my oddyssey's "screenplay" in here for your amusement. Starting with the updated server starting up. Bug will be closed tomorrow if it does work once more tonight.

2021-03-06 17:19:13,527 :: INFO :: server start
2021-03-06 17:19:15,010 :: INFO :: {'VR3UHZKXZMT008152': {'id': '1566c497a5655686153316861545651774d4467784e54496a497a67334d546b78597a526a593245794d5445334f57526b5a6a6331597a4d775a6a686a4d47493259325a69595441324e575a6d4f5459304d4445355a5451774f44466a4f54566c4e544a6d4e6d5a695932566a4d54453d'}}
2021-03-06 17:19:15,912 :: INFO :: ask state to VR3UHZKXZMT008152
2021-03-06 17:19:16,138 :: INFO :: Connected with result code {'session present': 0}
2021-03-06 17:19:16,139 :: INFO :: subscribe to psa/RemoteServices/to/cid/AP-ACNT200005711219/#
2021-03-06 17:19:16,139 :: INFO :: subscribe to psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152
2021-03-06 17:19:16,283 :: INFO :: {"access_token": "5715faeb-346e-4b86-a8fc-5fb759d42ace", "customer_id": "AP-ACNT200005711219", "correlation_id": "604c03271154439bad3f2b6497918cbb20210306161916283", "req_date": "2021-03-06T16:19:16Z", "vin": "VR3UHZKXZMT008152", "req_parameters": {"action": "state"}}
2021-03-06 17:19:16,601 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehicleState/ProcessManagement b'{"process_date":"2021-03-06T16:19:16Z","vin":"VR3UHZKXZMT008152","correlation_id":"604c03271154439bad3f2b6497918cbb20210306161916283","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:19:16,638 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehicleState b'{"resp_date":"2021-03-06T16:19:16Z","vin":"VR3UHZKXZMT008152","correlation_id":"604c03271154439bad3f2b6497918cbb20210306161916283","return_code":"0","resp_data":{"date":"2021-03-06T14:36:55Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":79,"autonomy_zev":270,"type":0,"aff":1,"hmi_state":0,"mode":2},"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}}'
2021-03-06 17:19:16,695 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:19:16,696 :: INFO :: save config change
2021-03-06 17:19:17,713 :: INFO :: update_data
 * Running on http://192.168.181.50:5000/ (Press CTRL+C to quit)
2021-03-06 17:19:50,315 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=VR3UHZKXZMT008152&percentage=88' [GET]>
2021-03-06 17:19:50,317 :: INFO :: save config change
192.168.181.50 - - [06/Mar/2021 17:19:50] "←[37mGET /charge_control?vin=VR3UHZKXZMT008152&percentage=88 HTTP/1.1←[0m" 200 -
192.168.181.50 - - [06/Mar/2021 17:19:50] "←[37mGET /favicon.ico HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:20:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:20:01] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:20:02] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:20:02] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:20:52,989 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:20:48Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":79,"autonomy_zev":270,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:20:53,087 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:20:48Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":79,"autonomy_zev":270,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:20:53,115 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:20:51Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:21:10,936 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:21:10Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:21:12,054 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:21:11Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:21:19,819 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:23:22,728 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:23:30,082 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:23:30Z","vin":"VR3UHZKXZMT008152","correlation_id":"ee6f13e8d7194c4daae363e884618b5920210306172331336","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:23:30,762 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:23:31Z","vin":"VR3UHZKXZMT008152","correlation_id":"ee6f13e8d7194c4daae363e884618b5920210306172331336","process_code":"901","process_message":"The BTA is not connected, a request was sent to wake it up"}'
2021-03-06 17:23:46,264 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:23:44Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:23:46,538 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:23:41Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:23:46,999 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:23:47Z","vin":"VR3UHZKXZMT008152","correlation_id":"ee6f13e8d7194c4daae363e884618b5920210306172331336","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:23:47,002 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:23:47Z","vin":"VR3UHZKXZMT008152","correlation_id":"ee6f13e8d7194c4daae363e884618b5920210306172331336","return_code":"0"}'
2021-03-06 17:23:47,776 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:23:47Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:23:50,088 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:23:50Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:24:05,447 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:24:05Z","vin":"VR3UHZKXZMT008152","correlation_id":"d712dbf3efc34e1bb6be82723822ec0120210306172402681","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:24:05,490 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:24:05Z","vin":"VR3UHZKXZMT008152","correlation_id":"d712dbf3efc34e1bb6be82723822ec0120210306172402681","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:24:05,763 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:24:06Z","vin":"VR3UHZKXZMT008152","correlation_id":"d712dbf3efc34e1bb6be82723822ec0120210306172402681","return_code":"0"}'
2021-03-06 17:24:08,652 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:24:08Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:24:47,042 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:24:46Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:24:48,017 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:24:47Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":7,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
192.168.181.42 - - [06/Mar/2021 17:25:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:25:03] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:25:04] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:25:04] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:25:26,757 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:25:30,178 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:25:30Z","vin":"VR3UHZKXZMT008152","correlation_id":"da4d1db5f28a4d7f82e473c93e75c49b20210306172532022","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:25:30,212 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:25:30Z","vin":"VR3UHZKXZMT008152","correlation_id":"da4d1db5f28a4d7f82e473c93e75c49b20210306172532022","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:25:30,386 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:25:30Z","vin":"VR3UHZKXZMT008152","correlation_id":"da4d1db5f28a4d7f82e473c93e75c49b20210306172532022","return_code":"0"}'
2021-03-06 17:25:33,537 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:25:33Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":8,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:25:52,281 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:25:52Z","vin":"VR3UHZKXZMT008152","correlation_id":"058b22b1568243bba21bef33ffccb35620210306172553513","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:25:52,515 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:25:52Z","vin":"VR3UHZKXZMT008152","correlation_id":"058b22b1568243bba21bef33ffccb35620210306172553513","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:25:52,521 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:25:52Z","vin":"VR3UHZKXZMT008152","correlation_id":"058b22b1568243bba21bef33ffccb35620210306172553513","return_code":"0"}'
2021-03-06 17:25:55,619 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:25:55Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":9,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:26:08,581 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:26:08Z","vin":"VR3UHZKXZMT008152","correlation_id":"701a6113cf8a40e3a13b4d0a3848162820210306172610315","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:26:08,631 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:26:08Z","vin":"VR3UHZKXZMT008152","correlation_id":"701a6113cf8a40e3a13b4d0a3848162820210306172610315","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:26:09,341 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:26:09Z","vin":"VR3UHZKXZMT008152","correlation_id":"701a6113cf8a40e3a13b4d0a3848162820210306172610315","return_code":"0"}'
2021-03-06 17:26:09,476 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:26:09Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":10,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:26:12,614 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:26:12Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":11,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:26:55,081 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:26:54Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:26:57,674 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:26:57Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:26:58,756 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:26:58Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:27:27,240 :: INFO :: charging status of VR3UHZKXZMT008152 is Finished, battery level: 87.0
2021-03-06 17:27:54,644 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:27:54Z","vin":"VR3UHZKXZMT008152","correlation_id":"c69511f200a54d0f94192087f2c4d7d320210306172756512","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:27:54,688 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:27:55Z","vin":"VR3UHZKXZMT008152","correlation_id":"c69511f200a54d0f94192087f2c4d7d320210306172756512","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:27:55,312 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:27:55Z","vin":"VR3UHZKXZMT008152","correlation_id":"c69511f200a54d0f94192087f2c4d7d320210306172756512","return_code":"0"}'
2021-03-06 17:27:58,360 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:27:58Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:29:05,618 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:29:05Z","vin":"VR3UHZKXZMT008152","correlation_id":"1dde69a9ba4d44469f033bcd46c8689420210306172907478","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:29:05,646 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:29:05Z","vin":"VR3UHZKXZMT008152","correlation_id":"1dde69a9ba4d44469f033bcd46c8689420210306172907478","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:29:06,267 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:29:06Z","vin":"VR3UHZKXZMT008152","correlation_id":"1dde69a9ba4d44469f033bcd46c8689420210306172907478","return_code":"0"}'
2021-03-06 17:29:09,380 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:29:09Z","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":17,"minute":27},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:29:27,739 :: INFO :: charging status of VR3UHZKXZMT008152 is Finished, battery level: 87.0
2021-03-06 17:29:58,509 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:29:58Z","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":0,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
192.168.181.42 - - [06/Mar/2021 17:30:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:30:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:30:01] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:30:06] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:30:18,206 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:30:18Z","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":17,"minute":30},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":7,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:30:37,965 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:30:37Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":4,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":8,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:30:48,749 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:30:48Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":9,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:31:28,205 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:31:59,922 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:32:00Z","vin":"VR3UHZKXZMT008152","correlation_id":"2ab845f422824dfea8d0c06cbd10ce5920210306173201028","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:32:00,160 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:32:00Z","vin":"VR3UHZKXZMT008152","correlation_id":"2ab845f422824dfea8d0c06cbd10ce5920210306173201028","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:32:00,686 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:32:01Z","vin":"VR3UHZKXZMT008152","correlation_id":"2ab845f422824dfea8d0c06cbd10ce5920210306173201028","return_code":"0"}'
2021-03-06 17:32:03,756 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:32:03Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":10,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:32:28,868 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:32:29Z","vin":"VR3UHZKXZMT008152","correlation_id":"ab917b5b7c314fb398ce2c90ca65f4c720210306173230732","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:32:29,055 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:32:29Z","vin":"VR3UHZKXZMT008152","correlation_id":"ab917b5b7c314fb398ce2c90ca65f4c720210306173230732","process_code":"901","process_message":"The BTA is not connected, a request was sent to wake it up"}'
2021-03-06 17:33:31,581 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 87.0
2021-03-06 17:33:49,176 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:33:49Z","vin":"VR3UHZKXZMT008152","correlation_id":"ab917b5b7c314fb398ce2c90ca65f4c720210306173230732","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:33:49,190 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:33:43Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:33:49,197 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:33:46Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:33:49,328 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:33:49Z","vin":"VR3UHZKXZMT008152","correlation_id":"ab917b5b7c314fb398ce2c90ca65f4c720210306173230732","return_code":"0"}'
2021-03-06 17:33:49,754 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:33:43Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:33:52,423 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:33:52Z","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":17,"minute":32},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:34:14,048 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:34:14Z","vin":"VR3UHZKXZMT008152","correlation_id":"6a611c96fb884375b72d33e43046479d20210306173414985","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:34:14,104 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:34:14Z","vin":"VR3UHZKXZMT008152","correlation_id":"6a611c96fb884375b72d33e43046479d20210306173414985","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:34:14,746 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:34:15Z","vin":"VR3UHZKXZMT008152","correlation_id":"6a611c96fb884375b72d33e43046479d20210306173414985","return_code":"0"}'
2021-03-06 17:34:14,906 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:34:15Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:34:17,880 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:34:18Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
192.168.181.42 - - [06/Mar/2021 17:35:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:35:01] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:35:01] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:35:01] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:35:14,873 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:35:13Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:35:15,746 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:35:16Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:35:24,480 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:35:24Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:35:31,586 :: INFO :: it's time to stop the charge
2021-03-06 17:35:34,141 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
2021-03-06 17:35:35,013 :: INFO :: {"access_token": "5715faeb-346e-4b86-a8fc-5fb759d42ace", "customer_id": "AP-ACNT200005711219", "correlation_id": "d73521253a3549cdadd58912d3b0a3a020210306163535013", "req_date": "2021-03-06T16:35:35Z", "vin": "VR3UHZKXZMT008152", "req_parameters": {"program": {"hour": 1, "minute": 0}, "type": "delayed"}}
2021-03-06 17:35:35,870 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:35:36Z","vin":"VR3UHZKXZMT008152","correlation_id":"d73521253a3549cdadd58912d3b0a3a020210306163535013","return_code":"400","reason":"No valid response from CVS"}'
2021-03-06 17:35:36,520 :: ERROR :: retry last request, token was expired
2021-03-06 17:35:46,959 :: INFO :: save config change
2021-03-06 17:36:35,527 :: WARNING :: retry to stop the charge of VR3UHZKXZMT008152
2021-03-06 17:36:36,335 :: INFO :: {"access_token": "e3660ec0-70f2-4104-8df6-e21449959f07", "customer_id": "AP-ACNT200005711219", "correlation_id": "de095b1fa68642b78971b8b75215ce9920210306163636335", "req_date": "2021-03-06T16:36:36Z", "vin": "VR3UHZKXZMT008152", "req_parameters": {"program": {"hour": 1, "minute": 0}, "type": "delayed"}}
2021-03-06 17:36:38,096 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:36:38Z","vin":"VR3UHZKXZMT008152","correlation_id":"de095b1fa68642b78971b8b75215ce9920210306163636335","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:36:38,316 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:36:38Z","vin":"VR3UHZKXZMT008152","correlation_id":"de095b1fa68642b78971b8b75215ce9920210306163636335","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:36:39,550 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:36:39Z","vin":"VR3UHZKXZMT008152","correlation_id":"de095b1fa68642b78971b8b75215ce9920210306163636335","return_code":"0"}'
2021-03-06 17:36:39,821 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=VR3UHZKXZMT008152&percentage=90' [GET]>
2021-03-06 17:36:39,824 :: INFO :: save config change
192.168.181.55 - - [06/Mar/2021 17:36:39] "←[37mGET /charge_control?vin=VR3UHZKXZMT008152&percentage=90 HTTP/1.1←[0m" 200 -
192.168.181.55 - - [06/Mar/2021 17:36:39] "←[37mGET /favicon.ico HTTP/1.1←[0m" 200 -
2021-03-06 17:36:41,934 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:36:42Z","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":1,"minute":0},"available":1,"remaining_time":120,"rate":20,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:36:46,983 :: INFO :: save config change
2021-03-06 17:36:56,832 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=VR3UHZKXZMT008152&percentage=90' [GET]>
192.168.181.42 - - [06/Mar/2021 17:36:56] "←[37mGET /charge_control?vin=VR3UHZKXZMT008152&percentage=90 HTTP/1.1←[0m" 200 -
2021-03-06 17:38:38,923 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
192.168.181.42 - - [06/Mar/2021 17:40:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:40:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:40:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:40:06] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:40:39,389 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
2021-03-06 17:42:40,241 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
2021-03-06 17:44:40,733 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
192.168.181.42 - - [06/Mar/2021 17:45:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:45:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:45:03] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:45:03] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:46:45,167 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 87.0
2021-03-06 17:46:45,167 :: INFO :: ask wakeup to VR3UHZKXZMT008152
2021-03-06 17:46:45,592 :: INFO :: {"access_token": "e3660ec0-70f2-4104-8df6-e21449959f07", "customer_id": "AP-ACNT200005711219", "correlation_id": "001fe3fd00164f7ba70b5eedb67037d720210306164645592", "req_date": "2021-03-06T16:46:45Z", "vin": "VR3UHZKXZMT008152", "req_parameters": {"action": "state"}}
2021-03-06 17:46:45,894 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:46:46Z","vin":"VR3UHZKXZMT008152","correlation_id":"001fe3fd00164f7ba70b5eedb67037d720210306164645592","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:46:46,159 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:46:46Z","vin":"VR3UHZKXZMT008152","correlation_id":"001fe3fd00164f7ba70b5eedb67037d720210306164645592","process_code":"901","process_message":"The BTA is not connected, a request was sent to wake it up"}'
2021-03-06 17:46:47,163 :: INFO :: save config change
2021-03-06 17:47:04,426 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state/ProcessManagement b'{"process_date":"2021-03-06T16:47:04Z","vin":"VR3UHZKXZMT008152","correlation_id":"001fe3fd00164f7ba70b5eedb67037d720210306164645592","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:47:04,511 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:46:57Z","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":1,"minute":0},"available":1,"remaining_time":120,"rate":20,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:04,520 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:01Z","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":1,"minute":0},"available":1,"remaining_time":120,"rate":20,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:04,649 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/state b'{"resp_date":"2021-03-06T16:47:05Z","vin":"VR3UHZKXZMT008152","correlation_id":"001fe3fd00164f7ba70b5eedb67037d720210306164645592","return_code":"0"}'
2021-03-06 17:47:04,790 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:01Z","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":1,"minute":0},"available":1,"remaining_time":120,"rate":20,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:05,270 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:00Z","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":1,"minute":0},"available":1,"remaining_time":120,"rate":20,"cable_detected":0,"soc_batt":79,"autonomy_zev":278,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:05,562 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:06Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":14,"cable_detected":0,"soc_batt":79,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:05,943 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:06Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":14,"cable_detected":0,"soc_batt":92,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:47:07,803 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:47:08Z","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":1,"minute":0},"available":1,"remaining_time":40,"rate":14,"cable_detected":0,"soc_batt":92,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":7,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:48:46,037 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 92.0
2021-03-06 17:49:54,727 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=VR3UHZKXZMT008152&percentage=90' [GET]>
192.168.181.42 - - [06/Mar/2021 17:49:54] "←[37mGET /charge_control?vin=VR3UHZKXZMT008152&percentage=90 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:50:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:50:00] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:50:05] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
192.168.181.42 - - [06/Mar/2021 17:50:06] "←[37mGET /get_vehicleinfo/VR3UHZKXZMT008152 HTTP/1.1←[0m" 200 -
2021-03-06 17:50:31,962 :: INFO :: {"access_token": "e3660ec0-70f2-4104-8df6-e21449959f07", "customer_id": "AP-ACNT200005711219", "correlation_id": "b9ea741b727b47b8852fe88f339d453320210306165031962", "req_date": "2021-03-06T16:50:31Z", "vin": "VR3UHZKXZMT008152", "req_parameters": {"program": {"hour": 1, "minute": 0}, "type": "delayed"}}
192.168.181.42 - - [06/Mar/2021 17:50:31] "←[37mGET /charge_now/VR3UHZKXZMT008152/0 HTTP/1.1←[0m" 200 -
2021-03-06 17:50:32,655 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:50:32Z","vin":"VR3UHZKXZMT008152","correlation_id":"b9ea741b727b47b8852fe88f339d453320210306165031962","process_code":"900","process_message":"Your request has been accepted and is being processed"}'
2021-03-06 17:50:33,384 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:50:33Z","vin":"VR3UHZKXZMT008152","correlation_id":"b9ea741b727b47b8852fe88f339d453320210306165031962","process_code":"901","process_message":"The BTA is not connected, a request was sent to wake it up"}'
2021-03-06 17:50:46,539 :: INFO :: charging status of VR3UHZKXZMT008152 is InProgress, battery level: 92.0
2021-03-06 17:50:47,240 :: INFO :: save config change
2021-03-06 17:50:51,854 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:50:48Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":3,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":3,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:50:52,353 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:50:47Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":2,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:50:52,360 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:50:44Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":298,"type":0,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":0,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":1,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:50:52,877 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge/ProcessManagement b'{"process_date":"2021-03-06T16:50:53Z","vin":"VR3UHZKXZMT008152","correlation_id":"b9ea741b727b47b8852fe88f339d453320210306165031962","process_code":"903","process_message":"Your request has been successfully forwarded to the vehicle"}'
2021-03-06 17:50:54,100 :: INFO :: mqtt msg psa/RemoteServices/to/cid/AP-ACNT200005711219/VehCharge b'{"resp_date":"2021-03-06T16:50:54Z","vin":"VR3UHZKXZMT008152","correlation_id":"b9ea741b727b47b8852fe88f339d453320210306165031962","return_code":"0"}'
2021-03-06 17:50:56,542 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:50:56Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":300,"type":1,"aff":1,"hmi_state":1,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":4,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:50:56,674 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:50:57Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":300,"type":1,"aff":1,"hmi_state":3,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":5,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:51:30,736 :: INFO :: <Request 'http://192.168.181.50:5000/charge_control?vin=VR3UHZKXZMT008152&hour=17&minute=50' [GET]>
2021-03-06 17:51:30,740 :: INFO :: save config change
192.168.181.42 - - [06/Mar/2021 17:51:30] "←[37mGET /charge_control?vin=VR3UHZKXZMT008152&hour=17&minute=50 HTTP/1.1←[0m" 200 -
2021-03-06 17:52:47,004 :: INFO :: charging status of VR3UHZKXZMT008152 is Stopped, battery level: 93.0
2021-03-06 17:53:41,189 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:53:41Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":300,"type":1,"aff":1,"hmi_state":0,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":6,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:53:43,184 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:53:43Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":0,"soc_batt":92,"autonomy_zev":300,"type":1,"aff":1,"hmi_state":4,"mode":0},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":7,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:53:52,188 :: INFO :: mqtt msg psa/RemoteServices/events/MPHRTServices/VR3UHZKXZMT008152 b'{"date":"2021-03-06T16:53:52Z","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":1,"minute":0},"available":1,"remaining_time":0,"rate":0,"cable_detected":1,"soc_batt":92,"autonomy_zev":300,"type":0,"aff":1,"hmi_state":0,"mode":2},"stolen_state":0,"vin":"VR3UHZKXZMT008152","reason":4,"signal_quality":2,"sev_stop_date":"2021-03-05T23:37:10Z","fds":["NDR01","NBM01","NCG01","NAO01","NAS01"],"sev_state":0,"obj_counter":8,"privacy_customer":0,"privacy_applicable":0,"privacy_applicable_max":2,"superlock_state":0}'
2021-03-06 17:54:47,470 :: INFO :: charging status of VR3UHZKXZMT008152 is Disconnected, battery level: 93.0