homebridge-levoit-humidifiers 1.9.2-beta5 → 1.9.2-beta6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +6 -9
- package/dist/VeSyncAccessory.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ This is a Homebridge plugin to control Levoit Humidifiers from Apple HomeKit.
|
|
|
16
16
|
| Classic 200S | ✅ | ✅ | ❌ | ❌ | ✅ | ✅ | ❌ | ❌
|
|
17
17
|
| Dual 200S | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ❌ | ❌
|
|
18
18
|
|
|
19
|
-
### Features
|
|
19
|
+
### Features (if supported by model)
|
|
20
20
|
|
|
21
21
|
1. Humidifier / Auto Mode
|
|
22
22
|
- Sets humidifier to Auto / Humidity and sets the Target Humidity to the desired level.
|
|
@@ -26,16 +26,12 @@ This is a Homebridge plugin to control Levoit Humidifiers from Apple HomeKit.
|
|
|
26
26
|
- Selecting values outside the Auto range will set the Target Humidity to the lowest or highest number in the
|
|
27
27
|
range.
|
|
28
28
|
|
|
29
|
-
2.
|
|
30
|
-
- Sets humidifier to Manual mode
|
|
31
|
-
- Note: LV600s / Oasis supports changing mist levels while in Auto mode.
|
|
29
|
+
2. Mist Level
|
|
30
|
+
- Sets humidifier to Manual mode unless model supports changing mist levels in Auto / Humidity mode, and sets Mist level.
|
|
32
31
|
- When set to Level 0, turns the device off.
|
|
33
|
-
- Levels 1-9 on Classic300s, Classic200s, LV600s, and Oasis
|
|
34
|
-
- Levels 1-2 on Dual200s
|
|
35
32
|
|
|
36
33
|
3. Warm Mist Level
|
|
37
34
|
- Sets Warm Mist Level to the desired level.
|
|
38
|
-
- Levels 0-3 on LV600s / Oasis only.
|
|
39
35
|
|
|
40
36
|
4. Sleep Mode
|
|
41
37
|
- This switches the device between Sleep Mode (On) and Auto Mode (Off)
|
|
@@ -45,7 +41,6 @@ This is a Homebridge plugin to control Levoit Humidifiers from Apple HomeKit.
|
|
|
45
41
|
Mist slider.
|
|
46
42
|
|
|
47
43
|
5. Night Light
|
|
48
|
-
- Supported on Classic300s
|
|
49
44
|
- 4 brightness levels
|
|
50
45
|
|
|
51
46
|
6. Display Toggle
|
|
@@ -100,7 +95,9 @@ Via config.json:
|
|
|
100
95
|
"sleep_mode": false,
|
|
101
96
|
"mist": false,
|
|
102
97
|
"warm_mist": false,
|
|
103
|
-
"night_light": false
|
|
98
|
+
"night_light": false,
|
|
99
|
+
"auto_pro": false,
|
|
100
|
+
"humidity_sensor": true
|
|
104
101
|
},
|
|
105
102
|
"options": {
|
|
106
103
|
"showOffWhenDisconnected": false
|
package/dist/VeSyncAccessory.js
CHANGED
|
@@ -33,10 +33,10 @@ class VeSyncAccessory {
|
|
|
33
33
|
}
|
|
34
34
|
get getMistValues() {
|
|
35
35
|
/*
|
|
36
|
-
Determines the number of mist level values to slide through in the
|
|
36
|
+
Determines the number of mist level values to slide through in the Mist Level slider.
|
|
37
37
|
Returns an array that contains the range of values between 1 and (mistLevels + 1).
|
|
38
38
|
We add 1 to mistLevels to account for 0 as a potential level.
|
|
39
|
-
Example: The Classic300s has 9
|
|
39
|
+
Example: The Classic300s has 9 mist levels, so this function returns [0,1,2,3,4,5,6,7,8,9].
|
|
40
40
|
*/
|
|
41
41
|
const arr = [...Array(this.device.deviceType.mistLevels + 1).keys()];
|
|
42
42
|
return arr;
|
package/package.json
CHANGED