@Abertil Thanks, sorted that.
I will check the % is correct later as I’m charging the car atm, which leads me to discover that the ‘Charging Status’ isn’t changing while the car is charging.
Here’s the log.
2019-01-26 21:26:25 DEBUG (SyncWorker_11) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/BatteryStatusRecordsRequest.php
2019-01-26 21:26:25 DEBUG (SyncWorker_11) [pycarwings2.pycarwings2] params: {
"DCMID": "201399055139",
"RegionCode": "NE",
"TimeFrom": "2018-11-25T22:03:22Z",
"VIN": "SJNFAAZE0U6025560",
"custom_sessionid": "eURCHWWLn3IVQXbiX1k8FgRi+eVe40G7jbaaeiPmdG59JwwGI2gFFKO/tXh8V+XJNMkLJRmdUo5WXxoZC20ciY1HRDi+mdC2MJr15EBmLRNg==",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA",
"lg": "en_GB",
"tz": "Europe/Paris"
}
2019-01-26 21:26:28 DEBUG (SyncWorker_11) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-01-26 21:26:28 DEBUG (SyncWorker_11) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":200,"BatteryStatusRecords":{"OperationResult":"START","OperationDateAndTime":"26-Jan-2019 22:22","BatteryStatus":{"BatteryChargingStatus":"NORMAL_CHARGING","BatteryCapacity":"11","BatteryRemainingAmount":"6","BatteryRemainingAmountWH":"","BatteryRemainingAmountkWH":""},"PluginState":"CONNECTED","CruisingRangeAcOn":"66024.0","CruisingRangeAcOff":"69168.0","TimeRequiredToFull200_6kW":{"HourRequiredToFull":"3","MinutesRequiredToFull":"0"},"NotificationDateAndTime":"2019\\/01\\/26 21:22","TargetDate":"2019\\/01\\/26 21:22"}}'
2019-01-26 21:26:30 DEBUG (SyncWorker_1) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/BatteryStatusCheckRequest.php
2019-01-26 21:26:30 DEBUG (SyncWorker_1) [pycarwings2.pycarwings2] params: {
"DCMID": "201399055139",
"RegionCode": "NE",
"UserId": "",
"VIN": "SJNFAAZE0U6025560",
"custom_sessionid": "eURCHWWLn3IVQXbiX1k8FgRi+eVe40G7jbaaeiPmdG59JwwGI2gFFKO/tXh8V+XJNMkLJRmdUo5WXxoZC20ciY1HRDi+mdC2MJr15EBmLRNg==",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA",
"lg": "en_GB",
"tz": "Europe/Paris"
}
2019-01-26 21:26:32 DEBUG (SyncWorker_1) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-01-26 21:26:32 DEBUG (SyncWorker_1) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":200,"userId":"xxxxxxxxx","vin":"SJNFAAZE0U6025560","resultKey":"DfP6yAlDKjAGx0cLSWWb9MeOeMmbPcB3i0Z6aljKuK1Hk33d0z"}'
2019-01-26 21:27:02 DEBUG (SyncWorker_7) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/BatteryStatusRecordsRequest.php
2019-01-26 21:27:02 DEBUG (SyncWorker_7) [pycarwings2.pycarwings2] params: {
"DCMID": "201399055139",
"RegionCode": "NE",
"TimeFrom": "2018-11-25T22:03:22Z",
"VIN": "SJNFAAZE0U6025560",
"custom_sessionid": "eURCHWWLn3IVQXbiX1k8FgRi+eVe40G7jbaaeiPmdG59JwwGI2gFFKO/tXh8V+XJNMkLJRmdUo5WXxoZC20ciY1HRDi+mdC2MJr15EBmLRNg==",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA",
"lg": "en_GB",
"tz": "Europe/Paris"
}
2019-01-26 21:27:04 DEBUG (SyncWorker_7) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-01-26 21:27:05 DEBUG (SyncWorker_7) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":200,"BatteryStatusRecords":{"OperationResult":"START","OperationDateAndTime":"26-Jan-2019 22:22","BatteryStatus":{"BatteryChargingStatus":"NORMAL_CHARGING","BatteryCapacity":"11","BatteryRemainingAmount":"6","BatteryRemainingAmountWH":"","BatteryRemainingAmountkWH":""},"PluginState":"CONNECTED","CruisingRangeAcOn":"66024.0","CruisingRangeAcOff":"69168.0","TimeRequiredToFull200_6kW":{"HourRequiredToFull":"3","MinutesRequiredToFull":"0"},"NotificationDateAndTime":"2019\\/01\\/26 21:22","TargetDate":"2019\\/01\\/26 21:22"}}'
2019-01-26 21:27:35 DEBUG (SyncWorker_6) [pycarwings2.pycarwings2] invoking carwings API: https://gdcportalgw.its-mo.com/api_v181217_NE/gdc/BatteryStatusRecordsRequest.php
2019-01-26 21:27:35 DEBUG (SyncWorker_6) [pycarwings2.pycarwings2] params: {
"DCMID": "201399055139",
"RegionCode": "NE",
"TimeFrom": "2018-11-25T22:03:22Z",
"VIN": "SJNFAAZE0U6025560",
"custom_sessionid": "eURCHWWLn3IVQXbiX1k8FgRi+eVe40G7jbaaeiPmdG59JwwGI2gFFKO/tXh8V+XJNMkLJRmdUo5WXxoZC20ciY1HRDi+mdC2MJr15EBmLRNg==",
"initial_app_strings": "geORNtsZe5I4lRGjG9GZiA",
"lg": "en_GB",
"tz": "Europe/Paris"
}
2019-01-26 21:27:37 DEBUG (SyncWorker_6) [pycarwings2.pycarwings2] Response HTTP Status Code: 200
2019-01-26 21:27:37 DEBUG (SyncWorker_6) [pycarwings2.pycarwings2] Response HTTP Response Body: b'{"status":200,"BatteryStatusRecords":{"OperationResult":"START","OperationDateAndTime":"26-Jan-2019 22:22","BatteryStatus":{"BatteryChargingStatus":"NORMAL_CHARGING","BatteryCapacity":"11","BatteryRemainingAmount":"6","BatteryRemainingAmountWH":"","BatteryRemainingAmountkWH":""},"PluginState":"CONNECTED","CruisingRangeAcOn":"66024.0","CruisingRangeAcOff":"69168.0","TimeRequiredToFull200_6kW":{"HourRequiredToFull":"3","MinutesRequiredToFull":"0"},"NotificationDateAndTime":"2019\\/01\\/26 21:22","TargetDate":"2019\\/01\\/26 21:22"}}'