Connected Drive Plugin for Indigo 2022.1

Posted on
Wed May 11, 2022 5:42 am
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Connected Drive Plugin for Indigo 2022.1


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

Posted on
Thu May 12, 2022 1:08 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

Hi, thanks for the update! I just upgraded to 2022.1 and ran plugin. I got this error:

Code: Select all
   Connected Drive Error           Error in plugin execution runConcurrentThread:

  File "plugin.py", line 183, in runConcurrentThread
  File "plugin.py", line 268, in _do_update
type: 'doorLockState'

   Connected Drive Error           plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)


Any ideas?

Posted on
Thu May 12, 2022 2:12 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

Never mind, I sorted it! I think it was because I had the earlier version of the plugin so the State Key wasn't selected in the virtual device Edit Settings.

Posted on
Thu May 12, 2022 3:51 pm
Turribeach offline
Posts: 429
Joined: Feb 06, 2015
Location: London, UK

Re: Connected Drive Plugin for Indigo 2022.1

Well spoke too soon. I see no errors in the logs now and the car is getting updated, but only when I restart the plugin. I set the refresh to 5mins and even though I see the events in the log file the device doesn't seem to be updated. The "Last Update" in the device doesn't change... Any ideas?

Posted on
Thu May 12, 2022 9:33 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

The underlying library might be throttling the updates. Open an issue on GitHub and I’ll investigate when I get back.


Sent from my iPhone using Tapatalk

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

Posted on
Tue May 24, 2022 1:25 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

Looking for Beta testers. I have a pre-release version based on the latest (0.9.0) of the bimmer_connected library.

I really need Electric and Hybrid users to run the new plugin and provide me the output of the "Write Vehicle Data to Log" plugin menu command.

When upgrading this plugin, you'll need to update the library by running this command in Terminal:

Code: Select all
pip3 install bimmer_connected==0.9.0


If you want to revert to the existing plugin store version, do this command:

Code: Select all
pip3 install bimmer_connected==0.8.12


There are breaking changes between the two library versions, so this dance is necessary.

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

Posted on
Wed May 25, 2022 12:47 pm
ryanbuckner offline
Posts: 1080
Joined: Oct 08, 2011
Location: Northern Virginia

Re: Connected Drive Plugin for Indigo 2022.1

Upgraded yesterday. All appears to be working. I did like knowing specifically if my sunroof was open - but not a big deal.

Code: Select all
                {
                    "is_closed": true,
                    "name": "moonroof",
                    "state": "CLOSED"
                }

Posted on
Wed May 25, 2022 1:07 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

ryanbuckner wrote:
Upgraded yesterday. All appears to be working. I did like knowing specifically if my sunroof was open - but not a big deal.

Code: Select all
                {
                    "is_closed": true,
                    "name": "moonroof",
                    "state": "CLOSED"
                }


The all_lids_closed state should reflect the moonroof, as well as all other doors, etc. The next release will have another state which shows which lids or windows are open.

What's your drivechain?

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

Posted on
Wed May 25, 2022 2:06 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

2022.1.0 is out with additional states. This version uses a newer version of the bimmer_connected library, so some existing states may have changed.

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

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

Re: Connected Drive Plugin for Indigo 2022.1

Hello,

trying your plugin for the first time I'm getting this (after seating up the connected drive account):

Code: Select all
SOMS BMW-Account: get_account error: Client error '403 Forbidden' for url 'https://cocoapi.bmwgroup.com/eadrax-ucs/v1/presentation/oauth/config'
For more information check: https://httpstatuses.com/403
   Connected Drive                 SOMS BMW-Account: 0 vehicles found.


What do I need to do?

Bildhauer

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

Re: Connected Drive Plugin for Indigo 2022.1

I think it broke again, I am getting 400:

Code: Select all
   Connected Drive Warning         BMW Connected Drive Account: get_account error: Client error '400 Bad Request' for url 'https://cocoapi.bmwgroup.com/eadrax-vcs/v1/vehicles?apptimezone=60.0&appDateTime=1657822205333&tireGuardMode=ENABLED'
For more information check: https://httpstatuses.com/400

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

Re: Connected Drive Plugin for Indigo 2022.1

Last successful check was at 14 Jul 2022 at 3:14:32 pm (UK Time), first failure at 14 Jul 2022 at 3:19:44 pm. Probably something BMW changed at their side. This is not a public API and we are merely reverse engineering their API so anything can happen.

Posted on
Thu Jul 14, 2022 12:48 pm
FlyingDiver offline
User avatar
Posts: 7213
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Connected Drive Plugin for Indigo 2022.1

I think there's an updated version of the library available. I'll try to post an update with it soon.

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

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

Re: Connected Drive Plugin for Indigo 2022.1

Hi, I just upgraded to bimmer-connected-0.10.0 and still got the error.

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

Re: Connected Drive Plugin for Indigo 2022.1

After upgradingg to 0.10.0 I see:

Code: Select all
Reloading plugin "Connected Drive 2022.1.0" using API v3.0
   Stopping plugin "Connected Drive 2022.1.0" (pid 67242)
   Connected Drive                 SOMS BMW-Account: Stopping cdAccount Device 184719493
   Connected Drive                 Stopping Connected Drive
   Stopped plugin "Connected Drive 2022.1.0"
   Starting plugin "Connected Drive 2022.1.0" (pid 71917)
   Started plugin "Connected Drive 2022.1.0"
   Connected Drive                 Starting Connected Drive
   Connected Drive                 SOMS BMW-Account: Starting cdAccount Device
   Connected Drive                 SOMS BMW-Account: 1 vehicles found.


So that seems to work (for me).

Who is online

Users browsing this forum: No registered users and 1 guest