A Homebridge platform plugin made for Levoit Air Purifiers which supports the following models: Core 200S/300S/400S/400S Pro
APACHE-2.0 License
This is a Homebridge plugin to control Levoit Air Purifiers/Humidifiers with via the VeSync Platform.
Supported Versions | Tested |
---|---|
Core 600S | ✅ |
Core 400S Pro | ✅ |
Core 400S | ✅ |
Core 300S | ✅ |
Core 200S | ✅ |
Other versions | ❌ |
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
Any device from VeSync that is not listed in the supported versions are automatically skipped when discovering devices.
The version 2.x adds support for humidifiers as an experimental feature which by default is disabled, the devices and features are limited for this devices for now
Supported Versions | Tested |
---|---|
Dual 200S | ✅ |
Other versions | ❌ |
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
For the experimental features to be activated you need to add them in the config file of the platform, e.g.
{
"name": "Levoit Air Purifiers",
"experimentalFeatures": ["DeviceDisplay", "Humidifiers"]
}
DeviceDisplay
)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
Humidifiers
)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 username
and password
by your credentials.
{
"platforms": [
{
"name": "Levoit Air Purifiers",
"email": "email",
"password": "password",
"platform": "LevoitAirPurifiers",
"experimentalFeatures": []
}
]
}
In the config file, add enableDebugMode: true
{
"platforms": [
{
"name": "Levoit Air Purifiers",
"email": "email",
"password": "password",
"platform": "LevoitAirPurifiers",
"enableDebugMode": true
}
]
}
To setup the local project clone the files and inside the root directory of the project run:
yarn install
After that to start the local server use
yarn watch