在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:RaresAil/homebridge-levoit-air-purifier开源软件地址:https://github.com/RaresAil/homebridge-levoit-air-purifier开源编程语言:TypeScript 100.0%开源软件介绍:Homebridge Levoit Air PurifierThis is a Homebridge plugin to control Levoit Air Purifiers with via the VeSync Platform.
The versions lower then 200 are not supported (e.g. 131S) because they require API v1 and this plugin uses v2 If you have a newer version that is not in this table, then open a issue and i will try to add support for it This plugin uses similar API calls as homebridge-levoitcore-client but with differences on API implementation and extra features. Any device from VeSync that is not listed in the supported versions are automatically skipped when discovering devices. Features
The read data is cached for 5 seconds to not trigger the rate limiter for the API. Each request is delayed by 500ms to not trigger the rate limiter if a huge number of requests are sent. The timers are not included because you can accomplish similar results by using Home App's Automatization or the Shortcuts app Configuration
This plugin requires your VeSync credentials as it communicates with the VeSync devices via VeSync's own API. Your credentials are only stored in the Homebridge config and not sent to any server except VeSync's. You can also do this directly via the homebridge config by adding your credentials to the config file under platforms. Replace the values of {
"platforms": [
{
"name": "Levoit Air Purifiers",
"email": "email",
"password": "password",
"platform": "LevoitAirPurifiers"
}
]
} Enabling Debug ModeIn the config file, add {
"platforms": [
{
"name": "Levoit Air Purifiers",
"email": "email",
"password": "password",
"platform": "LevoitAirPurifiers",
"enableDebugMode": true
}
]
} Local DevelopmentTo setup the local project clone the files and inside the root directory of the project run:
After that to start the local server use
|
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论