Reloading plugin "Connected Drive 2022.1.1" using API v3.1
Stopping plugin "Connected Drive 2022.1.1" (pid 42188)
Connected Drive Debug stop_concurrent_thread called
Connected Drive Debug stop_concurrent_thread called
Connected Drive BMW 640d: Stopping cdVehicle Device 1444498340
Connected Drive SOMS BMW-Account: Stopping cdAccount Device 184719493
Connected Drive Stopping Connected Drive
Stopped plugin "Connected Drive 2022.1.1"
Starting plugin "Connected Drive 2022.1.1" (pid 94681)
Connected Drive Debug logLevel = 5
Connected Drive Debug updateFrequency = 1800.0
Started plugin "Connected Drive 2022.1.1"
Connected Drive Starting Connected Drive
Connected Drive BMW 640d: Starting cdVehicle Device
Connected Drive SOMS BMW-Account: Starting cdAccount Device
Connected Drive Debug SOMS BMW-Account: VIN not found: WBA6G310X0D931620
Connected Drive SOMS BMW-Account: 1 vehicles found.
Connected Drive Debug SOMS BMW-Account: VIN not found: WBA6G310X0D931620
Connected Drive Data for VIN WBA6G310X0D931620:
{
"account": 184719493,
"vehicle": {
"available_attributes": [
"gps_position",
"vin"
],
"brand": "bmw",
"charging_profile": null,
"check_control_messages": {
"has_check_control_messages": true,
"messages": [
{
"description_long": null,
"description_short": "ENGINE_OIL",
"state": "LOW"
}
]
},
"condition_based_services": {
"is_service_required": false,
"messages": []
},
"data": {
"appVehicleType": "CONNECTED",
"attributes": {
"a4aType": "USB_ONLY",
"bodyType": "F12",
"brand": "BMW",
"color": 4284572001,
"countryOfOrigin": "DE",
"driveTrain": "COMBUSTION",
"driverGuideInfo": {
"androidAppScheme": "com.bmwgroup.driversguide.row",
"androidStoreUrl": "https://play.google.com/store/apps/details?id=com.bmwgroup.driversguide.row",
"iosAppScheme": "bmwdriversguide:///open",
"iosStoreUrl": "https://apps.apple.com/de/app/id714042749?mt=8"
},
"headUnitType": "NBT",
"hmiVersion": "ID4",
"lastFetched": "2022-07-17T19:08:32.493Z",
"model": "640d xDrive",
"softwareVersionCurrent": {
"iStep": 520,
"puStep": {
"month": 3,
"year": 21
},
"seriesCluster": "F010"
},
"softwareVersionExFactory": {
"iStep": 504,
"puStep": {
"month": 7,
"year": 15
},
"seriesCluster": "F010"
},
"year": 2015
},
"capabilities": {
"climateFunction": "VENTILATION",
"climateNow": true,
"climateTimerTrigger": "START_TIMER",
"horn": true,
"isBmwChargingSupported": false,
"isCarSharingSupported": false,
"isChargeNowForBusinessSupported": false,
"isChargingHistorySupported": false,
"isChargingHospitalityEnabled": false,
"isChargingLoudnessEnabled": false,
"isChargingPlanSupported": false,
"isChargingPowerLimitEnabled": false,
"isChargingSettingsEnabled": false,
"isChargingTargetSocEnabled": false,
"isClimateTimerSupported": true,
"isCustomerEsimSupported": false,
"isDCSContractManagementSupported": false,
"isDataPrivacyEnabled": false,
"isEasyChargeEnabled": false,
"isEvGoChargingSupported": false,
"isMiniChargingSupported": false,
"isNonLscFeatureEnabled": true,
"isRemoteEngineStartSupported": false,
"isRemoteHistoryDeletionSupported": false,
"isRemoteHistorySupported": true,
"isRemoteParkingSupported": false,
"isRemoteServicesActivationRequired": false,
"isRemoteServicesBookingRequired": false,
"isScanAndChargeSupported": false,
"isSustainabilitySupported": false,
"isWifiHotspotServiceSupported": false,
"lights": true,
"lock": true,
"remoteChargingCommands": {},
"sendPoi": true,
"specialThemeSupport": [],
"unlock": true,
"vehicleFinder": true,
"vehicleStateSource": "A4A"
},
"fetched_at": "2022-07-17T19:08:31.982812+00:00",
"is_metric": true,
"mappingInfo": {
"isAssociated": false,
"isLmmEnabled": false,
"isPrimaryUser": true,
"mappingStatus": "CONFIRMED"
},
"state": {
"checkControlMessages": [
{
"severity": "LOW",
"type": "ENGINE_OIL"
}
],
"climateTimers": [
{
"departureTime": {
"hour": 6,
"minute": 40
},
"isWeeklyTimer": true,
"timerAction": "ACTIVATE",
"timerWeekDays": [
"THURSDAY",
"SUNDAY"
]
},
{
"departureTime": {
"hour": 12,
"minute": 50
},
"isWeeklyTimer": false,
"timerAction": "ACTIVATE",
"timerWeekDays": [
"MONDAY"
]
},
{
"departureTime": {
"hour": 18,
"minute": 59
},
"isWeeklyTimer": true,
"timerAction": "DEACTIVATE",
"timerWeekDays": [
"WEDNESDAY"
]
}
],
"combustionFuelLevel": {
"remainingFuelLiters": 30
},
"driverPreferences": {
"lscPrivacyMode": "OFF"
},
"isLeftSteering": true,
"isLscSupported": false,
"lastFetched": "2022-07-17T19:08:32.836Z",
"lastUpdatedAt": "2021-06-17T13:50:58Z",
"requiredServices": []
},
"vin": "WBA6G310X0D931620"
},
"doors_and_windows": {
"all_lids_closed": true,
"all_windows_closed": true,
"door_lock_state": "UNKNOWN",
"lids": [],
"open_lids": [],
"open_windows": [],
"windows": []
},
"drive_train": "COMBUSTION",
"drive_train_attributes": [
"remaining_range_total",
"mileage",
"remaining_fuel",
"remaining_range_fuel",
"remaining_fuel_percent"
],
"fuel_and_battery": {
"account_timezone": "CEST",
"charging_end_time": null,
"charging_start_time": null,
"charging_start_time_no_tz": null,
"charging_status": null,
"is_charger_connected": false,
"remaining_battery_percent": null,
"remaining_fuel": [
30,
"L"
],
"remaining_fuel_percent": null,
"remaining_range_electric": [
null,
null
],
"remaining_range_fuel": [
null,
null
],
"remaining_range_total": [
null,
null
]
},
"has_combustion_drivetrain": true,
"has_electric_drivetrain": false,
"has_range_extender_drivetrain": false,
"is_charging_plan_supported": false,
"is_lsc_enabled": false,
"is_vehicle_active": false,
"is_vehicle_tracking_enabled": true,
"lsc_type": "NOT_CAPABLE",
"mileage": [
0,
"km"
],
"name": "640d xDrive",
"timestamp": "2022-07-17T19:08:32+00:00",
"vehicle_location": {
"account_region": "row",
"heading": null,
"location": {
"latitude": null,
"longitude": null
},
"remote_service_position": null,
"vehicle_update_timestamp": "2022-07-17T19:08:32+00:00"
},
"vin": "WBA6G310X0D931620"
}
}
Connected Drive Debug SOMS BMW-Account: VIN not found: WBA6G310X0D931620
Connected Drive Debug get_vehicle_state_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
Connected Drive Debug get_vehicle_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
Z-Wave received "Devolo Heizungsthermosthat Begehbarer Kleiderschrank" status update battery level 71%
Z-Wave received "Devolo Heizungsthermosthat Begehbarer Kleiderschrank" heat setpoint is 13.00 °C
Z-Wave received "Devolo Heizungsthermosthat Begehbarer Kleiderschrank" temperature update to 24.21 °C
Connected Drive Debug get_vehicle_state_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : WBA6G310X0D931620 (string)
state_key : (string)
Connected Drive Debug get_vehicle_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : WBA6G310X0D931620 (string)
state_key : (string)
Connected Drive Debug get_vehicle_state_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : WBA6G310X0D931620 (string)
state_key : remaining_battery_percent (string)
Connected Drive Debug get_vehicle_list: typeId = cdVehicle, targetId = 414010682, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : WBA6G310X0D931620 (string)
state_key : remaining_battery_percent (string)
Connected Drive new device: Starting cdVehicle Device
Connected Drive Debug SOMS BMW-Account: Updating 640d xDrive (WBA6G310X0D931620) --> new device (414010682)
Connected Drive Error Error in plugin execution runConcurrentThread:
File "plugin.py", line 166, in runConcurrentThread
File "plugin.py", line 220, in _do_update
File "plugin.py", line 28, in haversine
type: must be real number, not NoneType
Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Connected Drive Data for VIN WBA6G310X0D931620:
{
"account": 184719493,
"vehicle": {
"available_attributes": [
"gps_position",
"vin"
],
"brand": "bmw",
"charging_profile": null,
"check_control_messages": {
"has_check_control_messages": true,
"messages": [
{
"description_long": null,
"description_short": "ENGINE_OIL",
"state": "LOW"
}
]
},
"condition_based_services": {
"is_service_required": false,
"messages": []
},
"data": {
"appVehicleType": "CONNECTED",
"attributes": {
"a4aType": "USB_ONLY",
"bodyType": "F12",
"brand": "BMW",
"color": 4284572001,
"countryOfOrigin": "DE",
"driveTrain": "COMBUSTION",
"driverGuideInfo": {
"androidAppScheme": "com.bmwgroup.driversguide.row",
"androidStoreUrl": "https://play.google.com/store/apps/details?id=com.bmwgroup.driversguide.row",
"iosAppScheme": "bmwdriversguide:///open",
"iosStoreUrl": "https://apps.apple.com/de/app/id714042749?mt=8"
},
"headUnitType": "NBT",
"hmiVersion": "ID4",
"lastFetched": "2022-07-26T17:39:12.422Z",
"model": "640d xDrive",
"softwareVersionCurrent": {
"iStep": 520,
"puStep": {
"month": 3,
"year": 21
},
"seriesCluster": "F010"
},
"softwareVersionExFactory": {
"iStep": 504,
"puStep": {
"month": 7,
"year": 15
},
"seriesCluster": "F010"
},
"year": 2015
},
"capabilities": {
"climateFunction": "VENTILATION",
"climateNow": true,
"climateTimerTrigger": "START_TIMER",
"horn": true,
"isBmwChargingSupported": false,
"isCarSharingSupported": false,
"isChargeNowForBusinessSupported": false,
"isChargingHistorySupported": false,
"isChargingHospitalityEnabled": false,
"isChargingLoudnessEnabled": false,
"isChargingPlanSupported": false,
"isChargingPowerLimitEnabled": false,
"isChargingSettingsEnabled": false,
"isChargingTargetSocEnabled": false,
"isClimateTimerSupported": true,
"isCustomerEsimSupported": false,
"isDCSContractManagementSupported": false,
"isDataPrivacyEnabled": false,
"isEasyChargeEnabled": false,
"isEvGoChargingSupported": false,
"isMiniChargingSupported": false,
"isNonLscFeatureEnabled": true,
"isRemoteEngineStartSupported": false,
"isRemoteHistoryDeletionSupported": false,
"isRemoteHistorySupported": true,
"isRemoteParkingSupported": false,
"isRemoteServicesActivationRequired": false,
"isRemoteServicesBookingRequired": false,
"isScanAndChargeSupported": false,
"isSustainabilitySupported": false,
"isWifiHotspotServiceSupported": false,
"lights": true,
"lock": true,
"remoteChargingCommands": {},
"sendPoi": true,
"specialThemeSupport": [],
"unlock": true,
"vehicleFinder": true,
"vehicleStateSource": "A4A"
},
"fetched_at": "2022-07-26T17:39:11.593306+00:00",
"is_metric": true,
"mappingInfo": {
"isAssociated": false,
"isLmmEnabled": false,
"isPrimaryUser": true,
"mappingStatus": "CONFIRMED"
},
"state": {
"checkControlMessages": [
{
"severity": "LOW",
"type": "ENGINE_OIL"
}
],
"climateTimers": [
{
"departureTime": {
"hour": 6,
"minute": 40
},
"isWeeklyTimer": true,
"timerAction": "ACTIVATE",
"timerWeekDays": [
"THURSDAY",
"SUNDAY"
]
},
{
"departureTime": {
"hour": 12,
"minute": 50
},
"isWeeklyTimer": false,
"timerAction": "ACTIVATE",
"timerWeekDays": [
"MONDAY"
]
},
{
"departureTime": {
"hour": 18,
"minute": 59
},
"isWeeklyTimer": true,
"timerAction": "DEACTIVATE",
"timerWeekDays": [
"WEDNESDAY"
]
}
],
"combustionFuelLevel": {
"remainingFuelLiters": 30
},
"driverPreferences": {
"lscPrivacyMode": "OFF"
},
"isLeftSteering": true,
"isLscSupported": false,
"lastFetched": "2022-07-26T17:39:12.900Z",
"lastUpdatedAt": "2021-06-17T13:50:58Z",
"requiredServices": []
},
"vin": "WBA6G310X0D931620"
},
"doors_and_windows": {
"all_lids_closed": true,
"all_windows_closed": true,
"door_lock_state": "UNKNOWN",
"lids": [],
"open_lids": [],
"open_windows": [],
"windows": []
},
"drive_train": "COMBUSTION",
"drive_train_attributes": [
"remaining_range_total",
"mileage",
"remaining_fuel",
"remaining_range_fuel",
"remaining_fuel_percent"
],
"fuel_and_battery": {
"account_timezone": "CEST",
"charging_end_time": null,
"charging_start_time": null,
"charging_start_time_no_tz": null,
"charging_status": null,
"is_charger_connected": false,
"remaining_battery_percent": null,
"remaining_fuel": [
30,
"L"
],
"remaining_fuel_percent": null,
"remaining_range_electric": [
null,
null
],
"remaining_range_fuel": [
null,
null
],
"remaining_range_total": [
null,
null
]
},
"has_combustion_drivetrain": true,
"has_electric_drivetrain": false,
"has_range_extender_drivetrain": false,
"is_charging_plan_supported": false,
"is_lsc_enabled": false,
"is_vehicle_active": false,
"is_vehicle_tracking_enabled": true,
"lsc_type": "NOT_CAPABLE",
"mileage": [
0,
"km"
],
"name": "640d xDrive",
"timestamp": "2022-07-26T17:39:12+00:00",
"vehicle_location": {
"account_region": "row",
"heading": null,
"location": {
"latitude": null,
"longitude": null
},
"remote_service_position": null,
"vehicle_update_timestamp": "2022-07-26T17:39:12+00:00"
},
"vin": "WBA6G310X0D931620"
}
}
"vehicle_location": {
"account_region": "row",
"heading": null,
"location": {
"latitude": null,
"longitude": null
},
"account_region": "row",
Bildhauer wrote:Europe = rest of world?
Connected Drive Warning BMW Connected Drive Account: get_account error: Client error '400 Bad Request' for url 'https://cocoapi.bmwgroup.us/eadrax-vcs/v1/vehicles?apptimezone=1020.0&appDateTime=1660332649498&tireGuardMode=ENABLED'
For more information check: https://httpstatuses.com/400
hensed wrote:Hello! I finally upgraded to the 2022.x version of indigo, then updated the connected drive plugin (and ran the pip3 command). I'm getting '400' errors:
- Code: Select all
Connected Drive Warning BMW Connected Drive Account: get_account error: Client error '400 Bad Request' for url 'https://cocoapi.bmwgroup.us/eadrax-vcs/v1/vehicles?apptimezone=1020.0&appDateTime=1660332649498&tireGuardMode=ENABLED'
For more information check: https://httpstatuses.com/400
Sep 29, 2022 at 9:14:01 PM
Connected Drive Debug closedPrefsConfigUi, logLevel = 5, updateFrequency = 300.0
Connected Drive Debug BMW 540 Account : Updating 540i xDrive (WBAJE7C55KWD55588) --> Ryan's BMW 540ix (575567701)
Connected Drive Error Error in plugin execution runConcurrentThread:
File "plugin.py", line 166, in runConcurrentThread
File "plugin.py", line 220, in _do_update
File "plugin.py", line 28, in haversine
type: must be real number, not NoneType
Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Reloading plugin "Connected Drive 2022.1.1" using API v3.1
Stopping plugin "Connected Drive 2022.1.1" (pid 60216)
Connected Drive Debug stop_concurrent_thread called
Connected Drive Debug stop_concurrent_thread called
Connected Drive BMW 540 Account : Stopping cdAccount Device 372344672
Connected Drive Ryan's BMW 540ix: Stopping cdVehicle Device 575567701
Connected Drive Stopping Connected Drive
Stopped plugin "Connected Drive 2022.1.1"
Starting plugin "Connected Drive 2022.1.1" (pid 60515)
Connected Drive Debug logLevel = 5
Connected Drive Debug updateFrequency = 300.0
Started plugin "Connected Drive 2022.1.1"
Connected Drive Starting Connected Drive
Connected Drive BMW 540 Account : Starting cdAccount Device
Connected Drive Debug BMW 540 Account : VIN not found: *******WD55588
Connected Drive BMW 540 Account : 1 vehicles found.
Connected Drive Ryan's BMW 540ix: Starting cdVehicle Device
Connected Drive Debug BMW 540 Account : Updating 540i xDrive (**************55588) --> Ryan's BMW 540ix (575567701)
Connected Drive Error Error in plugin execution runConcurrentThread:
File "plugin.py", line 166, in runConcurrentThread
File "plugin.py", line 220, in _do_update
File "plugin.py", line 28, in haversine
type: must be real number, not NoneType
Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Users browsing this forum: No registered users and 2 guests