[miio] add support for lumi.curtain.hagl05 Xiaomi youpin Curtain Controller (Wi-Fi) (#9017)
* [miio] add support for lumi.curtain.hagl05 * [miio] improve channel description * [miio] improved mapping for curtain hagl05 * [miio] fix channelTypes Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -149,6 +149,7 @@ or in case of unknown models include the model information of a similar device t
|
||||
| Mi Humdifier | miio:basic | [zhimi.humidifier.v1](#zhimi-humidifier-v1) | Yes | |
|
||||
| Light Control (Wall Switch) | miio:unsupported | lumi.ctrl_neutral1.v1 | No | |
|
||||
| Light Control (Wall Switch) | miio:unsupported | lumi.ctrl_neutral2.v1 | No | |
|
||||
| Xiaomi youpin Curtain Controller (Wi-Fi) | miio:basic | [lumi.curtain.hagl05](#lumi-curtain-hagl05) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| Mr Bond M1 Pro Smart Clothes Dryer | miio:basic | [mrbond.airer.m1pro](#mrbond-airer-m1pro) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| Mr Bond M1 Smart Clothes Dryer | miio:basic | [mrbond.airer.m1s](#mrbond-airer-m1s) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| Mr Bond M1 Super Smart Clothes Dryer | miio:basic | [mrbond.airer.m1super](#mrbond-airer-m1super) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
@@ -1287,6 +1288,20 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
|
||||
| temperature | Number | Temperature | |
|
||||
| childlock | Switch | Child Lock | |
|
||||
|
||||
### Xiaomi youpin Curtain Controller (Wi-Fi) (<a name="lumi-curtain-hagl05">lumi.curtain.hagl05</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
|------------------|---------|-------------------------------------|------------|
|
||||
| fault | Number | Curtain - Device Fault | Value mapping [0="No faults"] |
|
||||
| current-position | Number | Curtain - Current Position | |
|
||||
| status | Number | Curtain - Status | Value mapping [0="Stopped",1="Opening",2="Closing"] |
|
||||
| target-position | Number | Curtain - Target Position | |
|
||||
| manual-enabled | Number | curtain_cfg - manual_enabled | Value mapping [0="Disable",1="Enable"] |
|
||||
| polarity | Number | curtain_cfg - polarity | Value mapping [0="Positive",1="Reverse"] |
|
||||
| pos-limit | Number | curtain_cfg - pos_limit | Value mapping [0="Unlimit",1="Limit"] |
|
||||
| en-night-tip-light | Switch | Set night tip light | Value mapping [0="Disable",1="Enable"] |
|
||||
| run-time | Number | curtain_cfg - run_time | |
|
||||
|
||||
### Mr Bond M1 Pro Smart Clothes Dryer (<a name="mrbond-airer-m1pro">mrbond.airer.m1pro</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
@@ -4262,6 +4277,23 @@ Number temperature "Temperature" (G_humidifier) {channel="miio:basic:humidifier:
|
||||
Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:childlock"}
|
||||
```
|
||||
|
||||
### Xiaomi youpin Curtain Controller (Wi-Fi) (lumi.curtain.hagl05) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (curtain) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_curtain "Xiaomi youpin Curtain Controller (Wi-Fi)" <status>
|
||||
Number fault "Curtain - Device Fault" (G_curtain) {channel="miio:basic:curtain:fault"}
|
||||
Number current-position "Curtain - Current Position" (G_curtain) {channel="miio:basic:curtain:current-position"}
|
||||
Number status "Curtain - Status" (G_curtain) {channel="miio:basic:curtain:status"}
|
||||
Number target-position "Curtain - Target Position" (G_curtain) {channel="miio:basic:curtain:target-position"}
|
||||
Number manual-enabled "curtain_cfg - manual_enabled" (G_curtain) {channel="miio:basic:curtain:manual-enabled"}
|
||||
Number polarity "curtain_cfg - polarity" (G_curtain) {channel="miio:basic:curtain:polarity"}
|
||||
Number pos-limit "curtain_cfg - pos_limit" (G_curtain) {channel="miio:basic:curtain:pos-limit"}
|
||||
Switch en-night-tip-light "Set night tip light" (G_curtain) {channel="miio:basic:curtain:en-night-tip-light"}
|
||||
Number run-time "curtain_cfg - run_time" (G_curtain) {channel="miio:basic:curtain:run-time"}
|
||||
```
|
||||
|
||||
### Mr Bond M1 Pro Smart Clothes Dryer (mrbond.airer.m1pro) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (airer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
Reference in New Issue
Block a user