[miio] Add support zhimi.heater.zb1 & zhimi.heater.za2 (#9055)
* [miio] Add support zhimi.heater.zb1 & zhimi.heater.za2 * [miio] capitalize channel labels Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -84,7 +84,7 @@ or in case of unknown models include the model information of a similar device t
|
||||
|
||||
# Mi IO Devices
|
||||
|
||||
Currently the miio binding supports more than 200 different models.
|
||||
Currently the miio binding supports more than 210 different models.
|
||||
|
||||
| Device | ThingType | Device Model | Supported | Remark |
|
||||
|------------------------------|------------------|------------------------|-----------|------------|
|
||||
@@ -325,6 +325,8 @@ Currently the miio binding supports more than 200 different models.
|
||||
| Yeelight yilai ceiling | miio:basic | [yilai.light.ceiling2](#yilai-light-ceiling2) | Yes | |
|
||||
| Yeelight yilai ceiling | miio:basic | [yilai.light.ceiling3](#yilai-light-ceiling3) | Yes | |
|
||||
| Zhimi Heater | miio:basic | [zhimi.heater.za1](#zhimi-heater-za1) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| Zhimi Heater | miio:basic | [zhimi.heater.za2](#zhimi-heater-za2) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| Zhimi Heater | miio:basic | [zhimi.heater.zb1](#zhimi-heater-zb1) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
|
||||
|
||||
# Advanced: Unsupported devices
|
||||
@@ -3220,6 +3222,37 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
|
||||
| temperature | Number:Temperature | Temperature | |
|
||||
| usedhours | Number | Run Time | |
|
||||
|
||||
### Zhimi Heater (<a name="zhimi-heater-za2">zhimi.heater.za2</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
|------------------|---------|-------------------------------------|------------|
|
||||
| fault | Number | Heater - Device Fault | |
|
||||
| on | Switch | Heater - Power | |
|
||||
| target-temperature | Number:Temperature | Heater - Target Temperature | |
|
||||
| alarm | Switch | Alarm - Alarm | |
|
||||
| countdown-time | Number:Time | Countdown - Countdown Time | |
|
||||
| relative-humidity | Number | Environment - Relative Humidity | |
|
||||
| temperature | Number:Temperature | Environment - Temperature | |
|
||||
| brightness | Dimmer | Indicator Light - Brightness | |
|
||||
| physical-controls-locked | Switch | Physical Control Locked - Physical Controls Locked | |
|
||||
| use-time | Number:Time | Private-Service - Use Time | |
|
||||
|
||||
### Zhimi Heater (<a name="zhimi-heater-zb1">zhimi.heater.zb1</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
|------------------|---------|-------------------------------------|------------|
|
||||
| fault | Number | Heater - Device Fault | |
|
||||
| on | Switch | Heater - Power | |
|
||||
| target-temperature | Number:Temperature | Heater - Target Temperature | |
|
||||
| alarm | Switch | Alarm - Alarm | |
|
||||
| countdown-time | Number:Time | Countdown - Countdown Time | |
|
||||
| relative-humidity | Number | Environment - Relative Humidity | |
|
||||
| temperature | Number:Temperature | Environment - Temperature | |
|
||||
| brightness | Dimmer | Indicator Light - Brightness | |
|
||||
| physical-controls-locked | Switch | Physical Control Locked - Physical Controls Locked | |
|
||||
| use-time | Number:Time | Private-Service - Use Time | |
|
||||
| country-code | Number | Private-Service - Country-Code | Value mapping [0="Unknown",1="US",82="KR",44="EU",81="JP",7="RU",86="CN",852="HK",886="TW",33="FR"] |
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -6623,6 +6656,43 @@ Number:Temperature temperature "Temperature" (G_heater) {channel="miio:basic:hea
|
||||
Number usedhours "Run Time" (G_heater) {channel="miio:basic:heater:usedhours"}
|
||||
```
|
||||
|
||||
### Zhimi Heater (zhimi.heater.za2) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (heater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_heater "Zhimi Heater" <status>
|
||||
Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"}
|
||||
Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"}
|
||||
Number:Temperature target-temperature "Heater - Target Temperature" (G_heater) {channel="miio:basic:heater:target-temperature"}
|
||||
Switch alarm "Alarm - Alarm" (G_heater) {channel="miio:basic:heater:alarm"}
|
||||
Number:Time countdown-time "Countdown - Countdown Time" (G_heater) {channel="miio:basic:heater:countdown-time"}
|
||||
Number relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"}
|
||||
Number:Temperature temperature "Environment - Temperature" (G_heater) {channel="miio:basic:heater:temperature"}
|
||||
Dimmer brightness "Indicator Light - Brightness" (G_heater) {channel="miio:basic:heater:brightness"}
|
||||
Switch physical-controls-locked "Physical Control Locked - Physical Controls Locked" (G_heater) {channel="miio:basic:heater:physical-controls-locked"}
|
||||
Number:Time use-time "Private-Service - Use Time" (G_heater) {channel="miio:basic:heater:use-time"}
|
||||
```
|
||||
|
||||
### Zhimi Heater (zhimi.heater.zb1) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (heater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_heater "Zhimi Heater" <status>
|
||||
Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"}
|
||||
Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"}
|
||||
Number:Temperature target-temperature "Heater - Target Temperature" (G_heater) {channel="miio:basic:heater:target-temperature"}
|
||||
Switch alarm "Alarm - Alarm" (G_heater) {channel="miio:basic:heater:alarm"}
|
||||
Number:Time countdown-time "Countdown - Countdown Time" (G_heater) {channel="miio:basic:heater:countdown-time"}
|
||||
Number relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"}
|
||||
Number:Temperature temperature "Environment - Temperature" (G_heater) {channel="miio:basic:heater:temperature"}
|
||||
Dimmer brightness "Indicator Light - Brightness" (G_heater) {channel="miio:basic:heater:brightness"}
|
||||
Switch physical-controls-locked "Physical Control Locked - Physical Controls Locked" (G_heater) {channel="miio:basic:heater:physical-controls-locked"}
|
||||
Number:Time use-time "Private-Service - Use Time" (G_heater) {channel="miio:basic:heater:use-time"}
|
||||
Number country-code "Private-Service - Country-Code" (G_heater) {channel="miio:basic:heater:country-code"}
|
||||
```
|
||||
|
||||
|
||||
|
||||
### <a name="Country-Servers">Country Servers</a>
|
||||
|
||||
Reference in New Issue
Block a user