FilipDem / Domoticz-BMW-plugin

Domoticz plugin working with BMW Connected Drive
4 stars 2 forks source link

Donation

It took me quite some effort to get the plugin available. Small contributions are welcome...

Use your Mobile Banking App and scan the QR Code

The QR codes comply the EPC069-12 European Standard for SEPA Credit Transfers (SCT). The amount of the donation can possibly be modified in your Mobile Banking App. 5 EUR 10 EUR

Use PayPal

Domoticz-BMW-plugin

Domoticz plugin working with BMW Connected Drive. A big changes is introduced since version 2.0.0 of the plugin. BMW discontinued the BMW Connected Drive App and related services.

It is highly considered to follow the bimmer_connected evolutions on https://github.com/bimmerconnected/bimmer_connected as BMW is highly refactoring. You can also find more information about the supported cars (and functionality). Not all functionality is backported to Domoticz (yet). If there is an interesting functionality to add, let me know.

Currently it supports the keep track of the following information:

If there are requests to integrate other information/functions, please leave a message.

Today, the plugin does not support BMW Connected Drive cars in China and USA.

Remark that using remote services heavily is blocked by BMW. They give a dedicated message back in that case (it will show up in the Domoticz log also). So fast executing remote service one after the other won't be successful.

Installation (linux)

Preliminary install bimmer_connected by with sudo pip3 install bimmer_connected or alternatively sudo pip3 install bimmer_connected==[version] to install a specific version. Be sure that the python3 module threading and queue is installed (otherwise install them also as described below).

Follow this procedure to install the plugin.

Configuration

Enter your BMW Connected Drive username and password, together with your with your VIN number (Vehicle Identification Number). The number can be found in your official BMW Connected Drive APP-Information.

Technical configuration

A Bmw.json file is available to update the technical configuration. This file is optional and when the file is not available, default values are used.

{
"EnteringHomeDistance (m)": 1000,
"EnteringHomeDistance_FastPollingDistance (m)": 2000,
"EnteringHomeDistance_FastPollingDelay (min)": 2
}

Tips/Hints

Privacy

For the management of the "Home" function, the geolocation of the car is used. This means that the location coordinates of the car is known by the plugin. However for privacy reason, these coordinates are NOT stored in any matter in the plugin. Only the last coordinate is kept in volatile memory and systematically overwritten. This coordinates are also lost once Domoticz or the plugin is stopped, reset, removed, ...

Success!

Don't forget a small gift by using the donation button...