在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:seydx/homebridge-mercedesme开源软件地址:https://github.com/seydx/homebridge-mercedesme开源编程语言:JavaScript 89.3%开源软件介绍:homebridge-mercedesmeCreating 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. InfoThis 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. Installation instructionsAfter Homebridge has been installed:
First steps (obtain Client ID and Client Secret)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. ImportantAdd 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 ( First startThe 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! ConfigurationPlease setup your config in Config UI X under Example config.json:
See Example Config for more details. Settings
Supported clientsThis plugin has been verified to work with the following apps on iOS 14:
TODO
TroubleshootingIf 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 Token IssuesIf you experiencing issues with your generated token, you can easily refresh it via Config UI X. Below you can see how to do it. ChangelogSee the changelog for changes between versions of this package. ContributingYou can contribute to this homebridge plugin in following ways:
DisclaimerAll 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. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论