forked from aholstenson/miio
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request aholstenson#24 from ben423423n32j14e/master
Humidifier documentation for generic API
- Loading branch information
Showing
1 changed file
with
38 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# Humidifier | ||
|
||
* `device.type`: `humidifier` | ||
* **Models**: zhimi-humidifier-v1 | ||
* **Model identifiers**: `zhimi-humidifier-v1` | ||
|
||
### Properties and sensor values | ||
|
||
* `power` | ||
* `mode` | ||
* `temp_dec` | ||
* `humidity` | ||
* `led_b` | ||
* `buzzer` | ||
* `child_lock` | ||
* `limit_hum` | ||
* `trans_level` | ||
* `cola` | ||
|
||
Example: return device.call('get_prop', ["cola","humidity","temp_dec","power","mode","led_b","buzzer","child_lock","limit_hum","trans_level"]) | ||
|
||
### Power | ||
|
||
* power is specified as on or off string | ||
Example: return device.call('set_power', ["on"]) | ||
|
||
### Modes | ||
|
||
* `silent`, lowest speed | ||
* `medium`, medium speed | ||
* `high`, high speed | ||
|
||
Example: return device.call('set_mode', ["medium"]) | ||
|
||
### Settings | ||
|
||
* `buzzer` - turn the buzzer on or off. | ||
Example: return device.call('set_buzzer', ['on']) |