New Plugin - BMW Connected Drive

Posted on
Thu Jan 28, 2021 1:29 pm
ryanbuckner offline
Posts: 419
Joined: Oct 08, 2011

Re: New Plugin - BMW Connected Drive

Just wanted to say how much I love this plugin

Posted on
Thu Jan 28, 2021 1:45 pm
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

Thanks!

What do you use it for? What features?

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

Posted on
Fri Jan 29, 2021 4:50 pm
ryanbuckner offline
Posts: 419
Joined: Oct 08, 2011

Re: New Plugin - BMW Connected Drive

1) I have some triggers than monitor if I've left the windows open at night or if they are open and there is rain n the forecast
2) maps my car on a static google maps page and puts it on a control page
3) I have control page icons that show if the car doors are locked or unlocked
4) Text reminders when I need to get gas in the morning

OI had buttons on my control page that triggered the locks, horn, ventilation, and lights but it was based on the old API that required you to sniff your token. I see the code is still in the plugin but hasn't been enabled yet so I'll wait for you to have time to enable. I plan to start with things like:

1) Lock the car at night and unlock in the morning, even tho it's in a garage
2) Start the ventilation on days that the garage is warmer than 60 degrees

Posted on
Fri Apr 02, 2021 7:04 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

I was delighted to see this plugin, but now have no idea what to do with it. I figured there had to be an account device and a car device, so I successfully created both of those. I'm now at a loss as to how to get the info from the car. :(

Chop (not a coder)

Posted on
Fri Apr 02, 2021 7:41 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

Update: Here's what shows in the event log when I reload the plugin. Now that I think about it, I'm guessing I'm not getting info because I'm no longer subscribed to whatever it is BMW calls their "connected" service. I still have a working registration, but when the included-with-the-purchase service expired, I did not renew, and I'm guessing that's behind my lack of info.
Attachments
2021-04-02_20-33-15.png
2021-04-02_20-33-15.png (169.83 KiB) Viewed 359 times

Posted on
Fri Apr 02, 2021 7:52 pm
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

That's probably true. It's a cloud API, same as the mobile app. If the mobile app doesn't show current data, then the plugin won't either.

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

Posted on
Sat Apr 03, 2021 8:17 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

That was it. I resubscribed and now have all manner of data incoming. :D

Posted on
Sat Apr 10, 2021 10:41 am
ryanbuckner offline
Posts: 419
Joined: Oct 08, 2011

Re: New Plugin - BMW Connected Drive

ChopOMatic wrote:
That was it. I resubscribed and now have all manner of data incoming. :D


Awesome. Let us know what you are doing or plan to use it for. When @FlyDriver gets around to adding lock and ventilation controls it will be super fun to play with.

Posted on
Sat Apr 10, 2021 10:55 am
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

I've worked on that some, and the API calls seem to be going through, but I don't see anything happen in the vehicle or the mobile app. :(

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

Posted on
Sat Apr 10, 2021 11:46 am
ryanbuckner offline
Posts: 419
Joined: Oct 08, 2011

Re: New Plugin - BMW Connected Drive

FlyingDiver wrote:
I've worked on that some, and the API calls seem to be going through, but I don't see anything happen in the vehicle or the mobile app. :(


I'll be happy to try a beta version on my car if that helps

Posted on
Sat Apr 10, 2021 11:56 am
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

All the changes for the new library are in a different branch for now, so look for the latest commits: https://github.com/FlyingDiver/Indigo-B ... -connected

This is one of the new plugin models that use Python 3, so installing it not a simple drop in replacement.

Requirements for version 1.0.0 and later:

macOS 10.15.7 or later (for Python 3)
Install and Run Xcode.app (upgrades Python to 3.8.X)

Confirm Python version:

Code: Select all
% /usr/bin/python3 --version
Python 3.8.2

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

Posted on
Sat Apr 10, 2021 12:06 pm
ryanbuckner offline
Posts: 419
Joined: Oct 08, 2011

Re: New Plugin - BMW Connected Drive

What will the impact be on the existing 2.7 scripts that run on the Indigo service?

Posted on
Sat Apr 10, 2021 12:09 pm
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

No impact. Python3 gets installed alongside Python2. My system is running a mix of old (Python2) and new (Python3) plugins and I've never seen any interactions.

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

Posted on
Sat Apr 10, 2021 12:48 pm
FlyingDiver offline
User avatar
Posts: 5159
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: New Plugin - BMW Connected Drive

In any case, the issue might be that my car doesn't get ConnectedDrive updates when in the garage. It never seems to have an update time after I last parked it.

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

Posted on
Sat Apr 10, 2021 3:51 pm
ChopOMatic offline
Posts: 110
Joined: Sep 12, 2014

Re: New Plugin - BMW Connected Drive

My plugin was working until I upgraded the plugin to the version you linked a couple posts above. Now it gives me this:

Traceback (most recent call last):
File "plugin.py", line 9, in <module>
ImportError: No module named bmwcdapi

FYI, "working" means I was getting a bunch of data in about my car. I had not found any way in Indigo to do anything other than passively read the incoming states.

I'm running Python 3.8.2.

Page 6 of 10 1 ... 3, 4, 5, 6, 7, 8, 9, 10

Who is online

Users browsing this forum: No registered users and 1 guest