1.14.1 • Published 27 days ago

homebridge-levoit-humidifiers v1.14.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
27 days ago

Homebridge Levoit Humidifiers

verified-by-homebridge Discord downloads-via-npm

This is a Homebridge plugin to control Levoit Humidifiers from Apple HomeKit.

Supported VersionsAuto ModeCool ModeSleep ModeNight LightDisplay ToggleHumidity SensorWarm Mode
OasisMist 1000S
OasisMist 450S
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 LV600 / Oasis.
      • For LV600s and Oasis, the Humidifier slider will be set to 0% when Sleep Mode is on.
    • For LV600s and Oasis, 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 / Oasis) and sets the Cool Mist Level to the desired level.
      • Note: LV600s / Oasis supports changing mist levels while in Auto mode.
    • When set to Level 0, turns the device off.
    • Levels 1-9 on Classic300s, Classic200s, LV600s, and Oasis
    • Levels 1-2 on Dual200s
  3. Warm Mist Level

    • Sets Warm Mist Level to the desired level.
    • Levels 0-3 on LV600s / Oasis 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 / Oasis.
    • On LV600s / Oasis, Sleep Mode Target Humidity is set by VeSync at 50–60% and cannot be changed.
    • The LV600s / Oasis 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
      },
      "options": {
        "showOffWhenDisconnected": false
      }
    }
  ]
}

Note to Seasonal Humidifier Users:

By default, if you disconnect a humidifier from WiFi, it will begin showing as "Not Responding" in HomeKit. Restarting Homebridge will remove the cached device from HomeKit. Once you've re-connected the humidifier, restart Homebridge again for it to display back in HomeKit.

If you prefer the disconnected device to be visible in HomeKit at all times, set showOffWhenDisconnected to true in the config. The humidifiers will remain in HomeKit in an Off state. Note: This will cause benign errors in the Homebridge logs that the device could not be contacted.

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
1.14.1

28 days ago

1.14.0

28 days ago

1.14.0-3

28 days ago

1.14.0-dev4

28 days ago

1.14.0-dev5

28 days ago

1.14.2-beta1

27 days ago

1.14.0-dev2

2 months ago

1.14.0-dev1

2 months ago

1.12.4

3 months ago

2.0.0-dev1

3 months ago

1.13.0-dev2

4 months ago

1.13.0-dev1

4 months ago

1.13.0-dev4

4 months ago

1.13.0-dev3

4 months ago

1.13.0-dev6

4 months ago

1.13.0-dev5

4 months ago

1.12.3

4 months ago

1.12.2

4 months ago

1.12.1

4 months ago

1.12.0-beta5

4 months ago

1.12.0-beta3

4 months ago

1.12.0-beta4

4 months ago

1.12.0-beta1

4 months ago

1.12.0-beta2

4 months ago

1.12.0

4 months ago

1.9.2-beta7

5 months ago

1.10.0-beta2

5 months ago

1.10.1

5 months ago

1.10.0

5 months ago

1.11.0

4 months ago

1.9.2-beta5

5 months ago

1.9.2-beta6

5 months ago

1.9.2-beta3

5 months ago

1.9.2-beta4

5 months ago

1.9.2-beta2

5 months ago

1.9.2-beta1

5 months ago

1.9.1-debug1

1 year ago

1.9.1-debug2

1 year ago

1.9.1-debug0

1 year ago

1.8.9-beta.13

1 year ago

1.8.9-beta.12

1 year ago

1.8.9-beta.14

1 year ago

1.8.9-beta.11

1 year ago

1.8.9-beta.10

1 year ago

1.9.0

1 year ago

1.8.9-beta.9

1 year ago

1.8.9-beta.7

1 year ago

1.8.9-beta.8

1 year ago

1.8.8-beta-1

1 year ago

1.8.9-beta.6

1 year ago

1.8.9-beta5

1 year ago

1.8.9-beta4

1 year ago

1.8.9-beta3

1 year ago

1.8.9-beta2

1 year ago

1.8.9-beta1

1 year ago

1.8.9

1 year ago

1.8.8

1 year ago

1.8.7

1 year ago

1.8.2

1 year ago

1.8.1

1 year ago

1.8.0

1 year ago

1.8.4-debug

1 year ago

1.7.5-beta1

1 year ago

1.7.9

1 year ago

1.7.8

1 year ago

1.7.7

1 year ago

1.7.6

1 year ago

1.7.5

2 years ago

1.7.4

2 years ago

1.8.4-debug2

1 year ago

1.8.4-debug5

1 year ago

1.8.4-debug3

1 year ago

1.8.4-debug4

1 year ago

1.7.9-beta1

1 year ago

1.8.6

1 year ago

1.8.5

1 year ago

1.8.4

1 year ago

1.8.3

1 year ago

1.7.3

2 years ago

1.7.1-beta5

2 years ago

1.7.1-beta4

2 years ago

1.7.1-beta3

2 years ago

1.7.1-beta2

2 years ago

1.7.2

2 years ago

1.7.1

2 years ago

1.6.2

2 years ago

1.6.1

2 years ago

1.7.1-beta1

2 years ago

1.7.0

2 years ago

1.7.0-beta2

2 years ago

1.7.0-beta1

2 years ago

1.6.2-beta2

2 years ago

1.6.2-beta1

2 years ago

1.6.0

2 years ago

1.6.0-beta4

2 years ago

1.6.0-beta5

2 years ago

1.6.0-beta6

2 years ago

1.6.0-beta7

2 years ago

1.3.0-beta2

2 years ago

1.3.0-beta1

2 years ago

1.2.7

2 years ago

1.3.0-beta4

2 years ago

1.2.6

2 years ago

1.3.0-beta3

2 years ago

1.2.5

2 years ago

1.5.1

2 years ago

1.2.4

2 years ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.1

2 years ago

1.3.0

2 years ago

1.3.1-beta3

2 years ago

1.3.1-beta2

2 years ago

1.3.0-beta9

2 years ago

1.3.1-beta1

2 years ago

1.3.0-beta6

2 years ago

1.3.0-beta5

2 years ago

1.3.0-beta8

2 years ago

1.3.0-beta7

2 years ago

1.6.0-beta2

2 years ago

1.6.0-beta3

2 years ago

1.5.0-beta8

2 years ago

1.5.0-beta9

2 years ago

1.5.0-beta3

2 years ago

1.5.0-beta4

2 years ago

1.5.0-beta5

2 years ago

1.5.0-beta6

2 years ago

1.5.0-beta1

2 years ago

1.5.0-beta2

2 years ago

1.5.0-beta11

2 years ago

1.6.0-beta1

2 years ago

1.5.0-beta10

2 years ago

1.2.3

2 years ago

1.2.2

2 years ago

1.2.1

2 years ago

1.2.0

2 years ago

1.1.4

2 years ago

1.1.3

2 years ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago