Connected Drive Plugin for Indigo 2022.1

Posted on
Thu Jul 14, 2022 1:51 pm
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Connected Drive Plugin for Indigo 2022.1

But I cannot add a vehicle:

Error in plugin execution GetUiDynamicList:

File "plugin.py", line 275, in get_vehicle_list


Best regards

Bildhauer!

Posted on
Thu Jul 14, 2022 1:52 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Jul 14, 2022 1:59 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

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)

Posted on
Thu Jul 14, 2022 2:08 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

It's possible the 0.10.0 changes broke something in the plugin. I will investigate.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Jul 14, 2022 2:18 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

0.9.3
What’s Changed
Add bmw-unit-preferences (#449) @rikroe
Breaking changes
bimmerconnected.vehicle.models has been moved to bimmerconnected.models

Posted on
Thu Jul 14, 2022 2:26 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Jul 14, 2022 2:42 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

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"
  }
]

Posted on
Thu Jul 14, 2022 2:45 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1


joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Thu Jul 14, 2022 3:49 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

Nice one! I was going to say that Year got moved too but you just fixed it too. :mrgreen:

Many thanks, all working fine now again.

Posted on
Thu Jul 14, 2022 3:56 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Jul 15, 2022 12:11 pm
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Connected Drive Plugin for Indigo 2022.1

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

Posted on
Fri Jul 15, 2022 12:15 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

Bildhauer wrote:
Here the log you asked for:


Is that with the latest plugin linked above?

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Fri Jul 15, 2022 1:32 pm
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Connected Drive Plugin for Indigo 2022.1

I Installed Release 2022.1.1. and 010.0

Posted on
Fri Jul 15, 2022 1:34 pm
FlyingDiver offline
User avatar
Posts: 7220
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

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.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sat Jul 16, 2022 11:22 am
Bildhauer offline
Posts: 160
Joined: Sep 30, 2019
Location: 22113 Oststeinbek (near Hamburg), Germany

Re: Connected Drive Plugin for Indigo 2022.1

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.

Who is online

Users browsing this forum: No registered users and 3 guests

cron