ReneNulschDE / mbapipy

MercedesME platform as a Custom Component for Home Assistant.
MIT License
24 stars 11 forks source link
car integration lock mercedesme sensors

mbapipy

MercedesME platform as a Custom Component for Home Assistant.

IMPORTANT:

Configuration:

mercedesmeapi:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD

Optional configuration values

mercedesmeapi:
  username: YOUR_USERNAME
  password: YOUR_PASSWORD
  pin: XXXX                           # required to open the lock or to start the engine, please use the Mercedes web or app to set-up the pin

  country_code: DE                    # two digts country code
  accept_lang: en_DE                  # four digits country code
  save_car_details: true              # save a json to the HA config directory with the features and states, please use this for debug only 
  cars:                               # Optional block to overwrite car specific options
    - vin: FINXXXXXXXXXXXXX1          # required finorvin
      tire_warning: tirewarninglamp   # optional attributname for tire_warning binary sensor. some cars use tireWarningRollup or tirewarninglamp
      name: Some Car                  # Optional name of the car to overwrite the default naming. Use "" to remove the name
    - vin: FINXXXXXXXXXXXXX2
      tire_warning: tireWarningRollup

Available components:


Logging:
Set the logging to debug with the following settings in case of problems.

logger: default: warn logs: custom_components.mercedesmeapi: debug custom_components.mercedesmeapi.sensor: info custom_components.mercedesmeapi.apicontroller: debug custom_components.mercedesmeapi.OAuth: debug



Notes:
- Tested countries: CA, DE, DK, ES, FI, NL, PL, UK, US
- For Canada please use Country Code US currently
- Cars out of North America and Europe can't be used at the same time