bimmerconnected

A simple executable to use and test the library.

usage: bimmerconnected [-h] [--debug]
                       {status,fingerprint,lightflash,horn,vehiclefinder,chargingsettings,chargingprofile,charge,image,sendpoi,sendpoi_from_address}
                       ...

Positional Arguments

cmd

Possible choices: status, fingerprint, lightflash, horn, vehiclefinder, chargingsettings, chargingprofile, charge, image, sendpoi, sendpoi_from_address

Named Arguments

--debug

Print debug logs.

Default: False

Sub-commands

status

Get the current status of the vehicle.

bimmerconnected status [-h] [-j] [-v [VIN]]
                       username password {north_america,china,rest_of_world}
                       [lat] [lng]

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

lat

(optional) Your current GPS latitude (as float)

lng

(optional) Your current GPS longitude (as float)

Named Arguments

-j, --json

Output as JSON only. Removes all other output.

Default: False

-v, --vin

Output data for specified VIN only.

fingerprint

Save a vehicle fingerprint.

bimmerconnected fingerprint [-h]
                            username password
                            {north_america,china,rest_of_world} [lat] [lng]

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

lat

(optional) Your current GPS latitude (as float)

lng

(optional) Your current GPS longitude (as float)

lightflash

Flash the vehicle lights.

bimmerconnected lightflash [-h]
                           username password
                           {north_america,china,rest_of_world} vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

horn

Trigger the vehicle horn

bimmerconnected horn [-h]
                     username password {north_america,china,rest_of_world} vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

vehiclefinder

Update the vehicle GPS location.

bimmerconnected vehiclefinder [-h]
                              username password
                              {north_america,china,rest_of_world} vin [lat]
                              [lng]

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

lat

(optional) Your current GPS latitude (as float)

lng

(optional) Your current GPS longitude (as float)

chargingsettings

Set vehicle charging settings.

bimmerconnected chargingsettings [-h] [--target-soc [TARGET_SOC]]
                                 [--ac-limit [AC_LIMIT]]
                                 username password
                                 {north_america,china,rest_of_world} vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

Named Arguments

--target-soc

Desired charging target SoC

--ac-limit

Maximum AC limit

chargingprofile

Set vehicle charging profile.

bimmerconnected chargingprofile [-h]
                                [--charging-mode [{IMMEDIATE_CHARGING,DELAYED_CHARGING}]]
                                [--precondition-climate [PRECONDITION_CLIMATE]]
                                username password
                                {north_america,china,rest_of_world} vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

Named Arguments

--charging-mode

Possible choices: IMMEDIATE_CHARGING, DELAYED_CHARGING

Desired charging mode

--precondition-climate

Precondition climate on charging windows

charge

Start/stop charging on enabled vehicles.

bimmerconnected charge [-h]
                       username password {north_america,china,rest_of_world}
                       vin {start,stop}

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

action

Possible choices: start, stop

image

Download a vehicle image.

bimmerconnected image [-h]
                      username password {north_america,china,rest_of_world}
                      vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

sendpoi

Send a point of interest to the vehicle.

bimmerconnected sendpoi [-h] [--name [NAME]] [--street [STREET]]
                        [--city [CITY]] [--postalcode [POSTALCODE]]
                        [--country [COUNTRY]]
                        username password {north_america,china,rest_of_world}
                        vin latitude longitude

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

latitude

Latitude of the POI

longitude

Longitude of the POI

Named Arguments

--name

Name of the POI

Default: “Sent with ♥ by bimmer_connected”

--street

(optional, display only) Street & House No. of the POI

--city

(optional, display only) City of the POI

--postalcode

(optional, display only) Postal code of the POI

--country

(optional, display only) Country of the POI

sendpoi_from_address

Send a point of interest parsed from a street address to the vehicle.

bimmerconnected sendpoi_from_address [-h] [-n [NAME]]
                                     [-a ADDRESS [ADDRESS ...]]
                                     username password
                                     {north_america,china,rest_of_world} vin

Positional Arguments

username

Connected Drive username

password

Connected Drive password

region

Possible choices: north_america, china, rest_of_world

Region of the Connected Drive account

vin

Vehicle Identification Number

Named Arguments

-n, --name

(optional, display only) Name of the POI

-a, --address

Address (e.g. ‘Street 17, city, zip, country’)