• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

pschroeder89/homebridge-levoit-humidifiers: Levoit Humidifiers Plugin for Apple ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

pschroeder89/homebridge-levoit-humidifiers

开源软件地址:

https://github.com/pschroeder89/homebridge-levoit-humidifiers

开源编程语言:

TypeScript 100.0%

开源软件介绍:

Homebridge Levoit Humidifiers

verified-by-homebridge

This is a Homebridge plugin to control Levoit Humidifiers via the VeSync Platform.

Supported Versions Auto Mode Cool Mode Sleep Mode Night Light Display Toggle Humidity Sensor Warm Mode
LV600S
Classic 300S
Classic 200S
Dual 200S

This plugin was forked from RaresAil's Levoit Air Purifiers repo and adds logic for the Levoit Humidifers.

Features

  1. Humidifier / Auto Mode

    • Sets humidifier to Auto / Humidity and sets the Target Humidity to the desired level.
    • Can also change Target Humidity in Sleep Mode, except on LV600s.
      • For LV600s, the Humidifier slider will be set to 0% when Sleep Mode is on.
    • For LV600s, the Auto humidity range is 40-80%. All other models are 30-80%.
      • Selecting values outside the Auto range will set the Target Humidity to the lowest or highest number in the range.
  2. Cool Mist Level

    • Sets humidifier to Manual mode (except on LV600s) and sets the Cool Mist Level to the desired level.
      • Note: LV600s supports changing mist levels while in Auto mode.
    • When set to Level 0, turns the device off.
    • Levels 1-9 on Classic300s, Classic200s, and LV600S
    • Levels 1-2 on Dual200s
  3. Warm Mist Level

    • Sets Warm Mist Level to the desired level.
    • Levels 0-3 on LV600s only.
  4. Sleep Mode

    • This switches the device between Sleep Mode (On) and Auto Mode (Off)
    • Sleep Mode Target Humidity is controlled by the Target Humidity slider, except on LV600s.
    • On LV600s, Sleep Mode Target Humidity is set by VeSync at 50–60% and cannot be changed.
    • The LV600s turns off Warm Mist by default to keep the humidifier quiet. It can be turned back on with the Warm Mist slider.
  5. Night Light

    • Supported on Classic300s
    • 4 brightness levels
  6. Display Toggle

    • Toggles the display on/off
  7. Humidity Sensor

    • Sensor that displays current Humidity %

Details

Configuration

  • Via the Homebridge UI, enter the Homebridge VeSync Client plugin settings.
  • Enter your VeSync app credentials.
  • Select which controls you want exposed. Humidifier (Auto Mode) and the Humidity Sensor can not be hidden.
  • Setup the platform plugin as a child bridge for better performance
  • Save and restart Homebridge.

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 with your credentials.

You can turn off optional controls via the accessories section of the config or through the plugin UI settings. The Humidifier (Auto mode) slider and the Humidity sensor cannot be turned off and will always be exposed.

Via UI:

Via config.json:

{
  "platforms": [
    {
      "name": "Levoit Humidifiers",
      "email": "email",
      "password": "password",
      "platform": "LevoitHumidifiers",
      "accessories": {
         "display": false, 
         "sleep_mode": false, 
         "cool_mist": false, 
         "warm_mist": false,
         "night_light": false
      }
    }
  ]
}

Enabling Debug Mode

In the config file, add enableDebugMode: true

{
  "platforms": [
    {
      "name": "Levoit Humidifiers",
      "email": "email",
      "password": "password",
      "platform": "LevoitHumidifiers",
      "enableDebugMode": true
    }
  ]
}

Local Development

To setup the local project, clone this repo and run the following from the root directory:

yarn install

To run locally, make sure to install Homebridge locally, and then run:

yarn watch



鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap