Connected Drive  

Developer: FlyingDiver     Like this plugin? Show your appreciation!
Category: Miscellaneous
Github: Github Repo
Assistance: Get help!   
Plugin ID: com.flyingdiver.indigoplugin.bmw-cd
Latest release: v2023.2.1 released on Feb. 26, 2024
Release downloaded: 0 times
Requires: Indigo v2022.1.2 or higher
(Check the Releases tab below for older releases that may have different requirements)
  Download latest release

Indigo-ConnectedDrive

Plugin for the BMW Connected Drive portal

Requirement
Minimum Indigo Version 2022.1
Python Library (API) Unofficial
Requires Local Network No
Requires Internet Yes
Hardware Interface None

Installation Instructions

In Terminal.app enter:

pip3 install bimmer_connected==0.9.0 aiohttp httpx

Create a "Connected Drive Account" device with your Connected Drive login credentials.

Wait for the plugin to report number of vehicles found in Indigo Log.

Create "Connected Drive Vehicle" devices as needed.

Accessing additional vehicle data

Additional data (beyond the device states) can be accessed using a Python script, like this:

import json
import indigo

cd_plugin = indigo.server.getPlugin("com.flyingdiver.indigoplugin.bmw-cd")
if not cd_plugin.isEnabled():
    indigo.server.log(("Connected Drive Plugin not enabled")
    exit()

props = {
    'vin':"PUT YOUR VIN HERE" 
}
vehicle_json = cd_plugin.executeAction("fetchVehicleData", props=props, waitUntilDone=True)
vehicle_data = json.loads(vehicle_json)
indigo.server.log(f"Got data for {vehicle_data['vehicle']['data']['year']} {vehicle_data['vehicle']['data']['model']}")
Release details
Released on: Feb. 26, 2024
Requires: Indigo v2022.1.2+
Downloaded: 0 times 
Changes in this release

Fixed errors when server doesn't report location info.

Removed package install instructions from README.

Release details
Released on: Jan. 17, 2024
Requires: Indigo v2022.1.2+
Downloaded: 3 times 
Changes in this release

Updates for Indigo 2023.2

Release details
Released on: Dec. 23, 2023
Requires: Indigo v2022.1.2+
Downloaded: 0 times 
Changes in this release

Be sure to update the bimmer_connected library:

pip3 install bimmer_connected --upgrade

Release details
Released on: May 25, 2022
Requires: Indigo v2022.1.0+
Downloaded: 0 times 
Changes in this release

Updated to bimmer_connected 0.9.0 Added changed states to match API changes

Release details
Released on: April 19, 2022
Requires: Indigo v2022.1.0+
Downloaded: 3 times 
Changes in this release

Indigo 2022.1 plugin store release

Release details
Released on: Nov. 20, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Fixes issues #4 and #6.

Release details
Released on: Feb. 25, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Fixed bug with null value in JSON data.

Release details
Released on: Jan. 6, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 0 times 
Changes in this release

Now handles arrays in vehicle data properly.

Release details
Released on: Jan. 2, 2020
Requires: Indigo v7.0.2 thru v2022.2
Downloaded: 1 times 
Changes in this release

selectable status state

Now with correct version number