Creating and maintaining Homebridge plugins consume a lot of time and effort, if you would like to share your appreciation, feel free to "Star" or donate.
Click here to review more of my plugins.
This dynamic platform plugin allows control of Mercedes Me capable cars. At the moment it is only possible to get information like vehicle status, lock status, fuel status etc. If in the future the possibility of e.g. locking or unlocking the car becomes possible, this will also be implemented.
Any system capable of running Homebridge can be used to run homebridge-mercedesme. The only need is Mercedes Me capable car.
After Homebridge has been installed:
sudo npm install -g homebridge-mercedesme@latest
In order to use this plugin, you must first log in with your Mercedes Me account on Mercedes Developer.After logging in go to Console and press on Add new app if you dont have already an existing app for this plugin.
Enter Application Name (e.g. Homebridge) Business Purposes (e.g. homebridge-mercedesme) and press Create
Now we need to add the API endpoints to our App.
Congratulation. Now you have added the Vehicle Status endpoint to your app. You need also to add Lock Status endpoint, Pay as your drive endpoint, Electric Vehicle Status endpoint and Fuel status endpoint to your app by following the above steps.
Requested endpoints:
Once you have added all the API endpoints to your application, visit Console again.You should see your Client ID, Client Secret and Redirect Url.
Add your Config UI X ip address with port as your Redirect Url (eg http://192.168.178.11:8080). If you have multiple ip addresses to your config ui x, please add them all as redirect uri !
Copy your Client ID and Client Secret and put it in your config.json (Config UI > Plugins > Homebridge Mercedesme Settings > Client ID/Client Secret
)
The Version 2 is completely new designed. It supports Config UI X Plugin UI Utils and is full integrated in your homebridge system via Config UI X. The custom config will guide you through the process! Generating or refreshing access token was never easier! Below you can see how easy it is to create, edit or delete a new car for the config.json using the custom user interface. To use the custom user interface you need at least homebridge-config-ui-x v4.34.0!
Please setup your config in Config UI X under Plugins > Homebridge Mercedes Me > Settings.
{
"bridge": {
...
},
"platforms": [
{
"platform": "MercedesPlatform",
"debug": false,
"cars": [
{
"name": "Mercedes A200",
"clientID": "1b851746-2x58-7y8r-6548-12ft58w159zu",
"clientSecret": "d896ct55-c85c-6363-9999-25iu6985mo10",
"vin": "WDD1234567N123456",
"model": "Mercedes A200",
"manufacturer": "Mercedes",
"maxRange": 800,
"polling": 60,
"tankBatteryType": "LIGHTBULB"
},
{
"name": "Mercedes CLA250",
"clientID": "1b851746-2x58-7y8r-6548-12ft58w159zu",
"clientSecret": "d896ct55-c85c-6363-9999-25iu6985mo10",
"vin": "WDD1234567N123456",
"model": "Mercedes B180",
"manufacturer": "Mercedes",
"maxRange": 600,
"polling": 120,
"electricVehicle": true,
"tankBatteryType": "HUMIDITY"
},
{
"name": "Mercedes B200",
"clientID": "1b851746-2x58-7y8r-6548-12ft58w159zu",
"clientSecret": "d896ct55-c85c-6363-9999-25iu6985mo10",
"vin": "WDD1234567N123456",
"model": "Mercedes B180",
"manufacturer": "Mercedes",
"maxRange": 600,
"polling": 120,
"hybridVehicle": true,
"tankBatteryType": "HUMIDITY"
}
]
}
]
}
See Example Config for more details.
platform
- required : Must be 'MercedesPlatform'cars.name
- required : Name of the Accessory (unique)cars.clientID
- required : Client ID obtained from https://developer.mercedes-benz.comcars.clientSecret
- required : Client Secret obtained from https://developer.mercedes-benz.comcars.vin
- required : Vehicle Identification Number (VIN)cars.manufacturer
- not required : Car Manufacturercars.model
- not required : Model of the car (Default: Mercedes)cars.maxRange
- not required : Maximum distance after full tank load (for calculating range in % for battery state if API doesnt send the percentage)cars.polling
- not required : Time in seconds for polling Mercedes API (Default: 60s)cars.electricVehicle
- not required : Enable if your car is a electric vehicle (Default: false)cars.hybridVehicle
- not required : Enable if your car is a hybrid vehicle (Default: false)cars.tankBatteryType
- not required : Choose between several accessory types (HUMIDITY | LIGHTBULB) to show the remaining tank load and/or electric vehicle battery value in percentThis plugin has been verified to work with the following apps on iOS 14:
If you have any issues with the plugin, you can enable the debug mode, which will provide some additional information. This might be useful for debugging issues. Open your config.json and set "debug": true
If you experiencing issues with your generated token, you can easily refresh it via Config UI X. Below you can see how to do it.
See the changelog for changes between versions of this package.
You can contribute to this homebridge plugin in following ways:
All product and company names are trademarks™ or registered® trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.
Homebridge 是一个轻量级 NodeJS 服务器,它模拟 iOS HomeKit API,提供从 HomeKit 到“智能家居”设备制造商提供的各种第三方 API 的基本桥接。通过 Homebridge 的桥接,可以让 Siri 控制完全不支持 HomeKit 的设备。 此外 Homebridge 支持插件。
homebridge-vsx homebridge-vsx is a plugin made for homebridge,which allows switching on and off your Pioneer AV receiver. All AV receivers (VSX and SC),which work with the iControl AV5 App are support
homebridge-sesame Control and monitor your Sesame smart lock with HomeKit integration. Prerequisites Installation of Homebridge iOS 11 or later Sesame lock with enabled cloud integration Sesame Wifi A
homebridge-panasonictv A homebridge plugin for turning on and off your Panasonic Viera TV. The plugin also has experimental support for changing the volume and channel. These characteristics are not r
Quick Start | Contribute A Wake on Lan plugin for Homebridge Turn your PCs, laptops, servers and more on and off through Siri Quick Start To install the plugin, head over to the machine with Homebridg
Docker Homebridge This Alpine/Ubuntu Linux based Docker image allows you to run Nfarina's Homebridge on your home network which emulates the iOS HomeKit API. This is a multi-arch image and will also r
This Plugin is no longer being maintained. The ST platform removed all of the greatness that made it fun to develop for and I will not rewrite my years of code to adapt. I have moved to Hubitat and al
Homebridge myQ myQ garage door and other myQ-enabled device support for Homebridge. homebridge-myq is a Homebridge plugin that makes myQ-enabled devices available to Apple's HomeKit smart home platfor