Page 2 of 4
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 1:51 pm
by Bildhauer
But I cannot add a vehicle:
Error in plugin execution GetUiDynamicList:
File "plugin.py", line 275, in get_vehicle_list
Best regards
Bildhauer!
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 1:52 pm
by FlyingDiver
Bildhauer wrote:But I cannot a a vehicle:
- Code: Select all
Error in plugin execution GetUiDynamicList:
File "plugin.py", line 275, in get_vehicle_list
Need debug log.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 1:59 pm
by Turribeach
My bad, I upgraded the wrong install of Python. Seems to get further now:
- Code: Select all
Connected Drive Starting Connected Drive
Connected Drive BMW Connected Drive Account: Starting cdAccount Device
Connected Drive Debug BMW Connected Drive Account: VIN not found: VIN_NUMBER
Connected Drive BMW Connected Drive Account: 1 vehicles found.
Connected Drive BMW X1: Starting cdVehicle Device
Trigger Var Update Temp Inside Changed
Connected Drive Debug BMW Connected Drive Account: Updating X1 sDrive20i (VIN_NUMBER) --> BMW X1 (1004901346)
Connected Drive Error Error in plugin execution runConcurrentThread:
File "plugin.py", line 149, in runConcurrentThread
File "plugin.py", line 210, in _do_update
type: 'model'
Connected Drive Error plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 2:08 pm
by FlyingDiver
It's possible the 0.10.0 changes broke something in the plugin. I will investigate.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 2:18 pm
by Turribeach
0.9.3
What’s Changed
Add bmw-unit-preferences (#449) @rikroe
Breaking changes
bimmerconnected.vehicle.models has been moved to bimmerconnected.models
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 2:26 pm
by FlyingDiver
Turribeach wrote:0.9.3
What’s Changed
Add bmw-unit-preferences (#449) @rikroe
Breaking changes
bimmerconnected.vehicle.models has been moved to bimmerconnected.models
I see that, but that's not actually the missing "model" field. That's the library data objects models. I can't seem to find the model field anywhere anymore.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 2:42 pm
by Turribeach
Just did a fingerprint and it's on the vehicles_bmw_0.json not on the state_bmw_0.json:
- Code: Select all
[
{
"appVehicleType": "CONNECTED",
"attributes": {
"a4aType": "BLUETOOTH",
"bodyType": "F48",
"brand": "BMW",
"color": 4283783516,
"countryOfOrigin": "GB",
"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": "ENTRY_EVO",
"hmiVersion": "ID5",
"lastFetched": "2022-07-14T20:40:12.839Z",
"model": "X1 sDrive20i",
"softwareVersionCurrent": {
"iStep": 545,
"puStep": {
"month": 11,
"year": 20
},
"seriesCluster": "F056"
},
"softwareVersionExFactory": {
"iStep": 531,
"puStep": {
"month": 11,
"year": 18
},
"seriesCluster": "F056"
},
"telematicsUnit": "ATM1",
"year": 2019
},
"mappingInfo": {
"isAssociated": false,
"isLmmEnabled": false,
"isPrimaryUser": true,
"mappingStatus": "CONFIRMED"
},
"vin": "some_vin"
}
]
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 2:45 pm
by FlyingDiver
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 3:49 pm
by Turribeach
Nice one! I was going to say that Year got moved too but you just fixed it too.
Many thanks, all working fine now again.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Thu Jul 14, 2022 3:56 pm
by FlyingDiver
The API is kinda wonky, IMO. I can get the model from the data dump, but the API actually reports the model value as the name property. And there is no year property in the API, have to grab it from the raw data as well.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Fri Jul 15, 2022 12:11 pm
by Bildhauer
Here the log you asked for:
- Code: Select all
15. Jul 2022 at 20:09:11
Connected Drive Debug closedPrefsConfigUi, logLevel = 5, updateFrequency = 1800.0
Connected Drive Debug SOMS BMW-Account: VIN not found: WBA6G310X0D931620
15. Jul 2022 at 20:09:51
Connected Drive Debug get_vehicle_state_list: typeId = cdVehicle, targetId = 1444498340, valuesDict = UiValuesDict : (dict)
Connected Drive Debug get_vehicle_list: typeId = cdVehicle, targetId = 1444498340, valuesDict = UiValuesDict : (dict)
Connected Drive Error Error in plugin execution GetUiDynamicList:
File "plugin.py", line 275, in get_vehicle_list
type: ('year',)
Connected Drive Debug get_vehicle_state_list: typeId = cdVehicle, targetId = 1444498340, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : (string)
state_key : door_lock_state (string)
Connected Drive Debug get_vehicle_list: typeId = cdVehicle, targetId = 1444498340, valuesDict = UiValuesDict : (dict)
SupportsOnState : false (bool)
SupportsSensorValue : true (bool)
SupportsStatusRequest : true (bool)
address : (string)
state_key : door_lock_state (string)
Connected Drive Error Error in plugin execution GetUiDynamicList:
File "plugin.py", line 275, in get_vehicle_list
type: ('year',)
Connected Drive new device: Starting cdVehicle Device
Connected Drive Debug SOMS BMW-Account: VIN not found: WBA6G310X0D931620
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Fri Jul 15, 2022 12:15 pm
by FlyingDiver
Bildhauer wrote:Here the log you asked for:
Is that with the latest plugin linked above?
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Fri Jul 15, 2022 1:32 pm
by Bildhauer
I Installed Release 2022.1.1. and 010.0
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Fri Jul 15, 2022 1:34 pm
by FlyingDiver
Bildhauer wrote:I Installed Release 2022.1.1. and 010.0
It's showing a VIN not found error. Delete that device, restart the plugin, then try creating it again.
Re: Connected Drive Plugin for Indigo 2022.1
Posted:
Sat Jul 16, 2022 11:22 am
by Bildhauer
Where should I delete the vehicle? On the BMW webpage?
Th device not found is the one of the BMW's webpage and the VN is correct.