[miio] add support for chungmiplug 212a01 (#9795)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -309,6 +309,7 @@ Currently the miio binding supports more than 250 different models.
|
||||
| Mi Smart Plug WiFi | miio:basic | [chuangmi.plug.hmi205](#chuangmi-plug-hmi205) | Yes | |
|
||||
| Mi Smart Plug (WiFi) | miio:basic | [chuangmi.plug.hmi206](#chuangmi-plug-hmi206) | Yes | |
|
||||
| Mi Smart Wi-Fi Plug (Bluetooth Gateway) | miio:basic | [chuangmi.plug.hmi208](#chuangmi-plug-hmi208) | Yes | |
|
||||
| Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway) | miio:basic | [chuangmi.plug.212a01](#chuangmi-plug-212a01) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
|
||||
| CHINGMI Smart Power Strip v1 | miio:basic | [qmi.powerstrip.v1](#qmi-powerstrip-v1) | Yes | |
|
||||
| Mi Smart Power Strip | miio:basic | [zimi.powerstrip.v2](#zimi-powerstrip-v2) | Yes | |
|
||||
| Soocare Electric Toothbrush | miio:unsupported | soocare.toothbrush.x3 | No | |
|
||||
@@ -2258,6 +2259,24 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl
|
||||
| temperature | Number:Temperature | Temperature | |
|
||||
| led | Switch | Wifi LED | |
|
||||
|
||||
### Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway) (<a name="chuangmi-plug-212a01">chuangmi.plug.212a01</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
|------------------|---------|-------------------------------------|------------|
|
||||
| on | Switch | Power | |
|
||||
| temperature | Number:Temperature | Temperature | |
|
||||
| working-time | Number:Duration | Working Time | |
|
||||
| on1 | Switch | Indicator Light - Switch Status | |
|
||||
| power-consumption | Number:Energy | Daily Power Consumption | |
|
||||
| electric-current | Number:Current | Power Consumption - Electric Current | |
|
||||
| voltage | Number:ElectricPotential | Power Consumption - Voltage | |
|
||||
| electric-power | Number:Power | Current Power Consumption - Electric Power | |
|
||||
| on-duration | Number:Duration | Imilab Timer - On Duration | |
|
||||
| off-duration | Number:Duration | Imilab Timer - Off Duration | |
|
||||
| countdown | Number:Time | Imilab Timer - Countdown | |
|
||||
| task-switch | Switch | Imilab Timer - Task Switch | |
|
||||
| countdown-info | Switch | Imilab Timer - Countdown Info | |
|
||||
|
||||
### CHINGMI Smart Power Strip v1 (<a name="qmi-powerstrip-v1">qmi.powerstrip.v1</a>) Channels
|
||||
|
||||
| Channel | Type | Description | Comment |
|
||||
@@ -6293,6 +6312,27 @@ Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:
|
||||
Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"}
|
||||
```
|
||||
|
||||
### Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway) (chuangmi.plug.212a01) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (plug) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_plug "Mi Smart Power Plug 2 (Wi-Fi and Bluetooth Gateway)" <status>
|
||||
Switch on "Power" (G_plug) {channel="miio:basic:plug:on"}
|
||||
Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"}
|
||||
Number:Duration working-time "Working Time" (G_plug) {channel="miio:basic:plug:working-time"}
|
||||
Switch on1 "Indicator Light - Switch Status" (G_plug) {channel="miio:basic:plug:on1"}
|
||||
Number:Energy power-consumption "Daily Power Consumption" (G_plug) {channel="miio:basic:plug:power-consumption"}
|
||||
Number:Current electric-current "Power Consumption - Electric Current" (G_plug) {channel="miio:basic:plug:electric-current"}
|
||||
Number:ElectricPotential voltage "Power Consumption - Voltage" (G_plug) {channel="miio:basic:plug:voltage"}
|
||||
Number:Power electric-power "Current Power Consumption - Electric Power" (G_plug) {channel="miio:basic:plug:electric-power"}
|
||||
Number:Duration on-duration "Imilab Timer - On Duration" (G_plug) {channel="miio:basic:plug:on-duration"}
|
||||
Number:Duration off-duration "Imilab Timer - Off Duration" (G_plug) {channel="miio:basic:plug:off-duration"}
|
||||
Number:Time countdown "Imilab Timer - Countdown" (G_plug) {channel="miio:basic:plug:countdown"}
|
||||
Switch task-switch "Imilab Timer - Task Switch" (G_plug) {channel="miio:basic:plug:task-switch"}
|
||||
Switch countdown-info "Imilab Timer - Countdown Info" (G_plug) {channel="miio:basic:plug:countdown-info"}
|
||||
```
|
||||
|
||||
### CHINGMI Smart Power Strip v1 (qmi.powerstrip.v1) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (powerstrip) 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