Skip to content

Commit

Permalink
Merge pull request aholstenson#24 from ben423423n32j14e/master
Browse files Browse the repository at this point in the history
Humidifier documentation for generic API
  • Loading branch information
aholstenson authored May 10, 2017
2 parents 6d6cdd3 + 047ea02 commit 5e0907b
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions docs/devices/humidifier.md
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'])

0 comments on commit 5e0907b

Please sign in to comment.