bimmerconnected
¶
A simple executable to use and test the library.
usage: bimmerconnected [-h]
{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 |
Sub-commands¶
status¶
Get the current status of the vehicle.
bimmerconnected status [-h] [-j] [-i]
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 |
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
fingerprint¶
Save a vehicle fingerprint.
bimmerconnected fingerprint [-h] [-i]
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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
lightflash¶
Flash the vehicle lights.
bimmerconnected lightflash [-h] [-i]
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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
horn¶
Trigger the vehicle horn
bimmerconnected horn [-h] [-i]
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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
vehiclefinder¶
Update the vehicle GPS location.
bimmerconnected vehiclefinder [-h] [-i]
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) |
Named Arguments¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
chargingsettings¶
Set vehicle charging settings.
bimmerconnected chargingsettings [-h] [-i] [--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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
--target-soc | Desired charging target SoC |
--ac-limit | Maximum AC limit |
chargingprofile¶
Set vehicle charging profile.
bimmerconnected chargingprofile [-h] [-i]
[--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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
--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] [-i]
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 |
Named Arguments¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
image¶
Download a vehicle image.
bimmerconnected image [-h] [-i]
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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
sendpoi¶
Send a point of interest to the vehicle.
bimmerconnected sendpoi [-h] [-i] [--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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
--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] [-i] [-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¶
-i, --imperial | (optional) Use imperial instead of metric units Default: False |
-n, --name | (optional, display only) Name of the POI |
-a, --address | Address (e.g. ‘Street 17, city, zip, country’) |