[miio] enable telnet for lumi gateway (#8639)
* [miio] enable telnet for lumi gateway * allow enable telnet and some other functions on gateway * use new fw as default for chugmi plug Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
@@ -140,9 +140,10 @@ or in case of unknown models include the model information e.g.:
|
||||
| Xiaomi Mijia Smart Tower Fan | miio:basic | [dmaker.fan.p9](#dmaker-fan-p9) | Yes | |
|
||||
| Xiaomi Mijia Smart Tower Fan | miio:basic | [dmaker.fan.p10](#dmaker-fan-p10) | Yes | |
|
||||
| Viomi Internet refrigerator iLive | miio:unsupported | viomi.fridge.v3 | No | |
|
||||
| Mi Smart Home Gateway v1 | miio:unsupported | lumi.gateway.v1 | No | |
|
||||
| Mi Smart Home Gateway v2 | miio:unsupported | lumi.gateway.v2 | No | |
|
||||
| Mi Smart Home Gateway v3 | miio:unsupported | lumi.gateway.v3 | No | |
|
||||
| Mi Smart Home Gateway v1 | miio:basic | [lumi.gateway.v1](#lumi-gateway-v1) | Yes | |
|
||||
| Mi Smart Home Gateway v2 | miio:basic | [lumi.gateway.v2](#lumi-gateway-v2) | Yes | |
|
||||
| Mi Smart Home Gateway v3 | miio:basic | [lumi.gateway.v3](#lumi-gateway-v3) | Yes | |
|
||||
| Xiaomi Mi Mijia Gateway V3 ZNDMWG03LM | miio:basic | [lumi.gateway.mgl03](#lumi-gateway-mgl03) | Yes | |
|
||||
| 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 | |
|
||||
@@ -1067,6 +1068,46 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
|
||||
| SpeedLevel | Number | Fan-Speed Level |
|
||||
| PhysicalControlsLocked | Switch | Physical Control Locked-Physical Control Locked |
|
||||
|
||||
### Mi Smart Home Gateway v1 (<a name="lumi-gateway-v1">lumi.gateway.v1</a>) Channels
|
||||
|
||||
| Channel | Type | Description |
|
||||
|------------------|---------|-------------------------------------|
|
||||
| telnetEnable | Switch | Enable Telnet |
|
||||
| doorbellVol | Number | Doorbell Volume |
|
||||
| gatewayVol | Number | Gateway Volume |
|
||||
| alarmingVol | Number | Alarming Volume |
|
||||
| doorbellPush | String | Doorbell Push |
|
||||
|
||||
### Mi Smart Home Gateway v2 (<a name="lumi-gateway-v2">lumi.gateway.v2</a>) Channels
|
||||
|
||||
| Channel | Type | Description |
|
||||
|------------------|---------|-------------------------------------|
|
||||
| telnetEnable | Switch | Enable Telnet |
|
||||
| doorbellVol | Number | Doorbell Volume |
|
||||
| gatewayVol | Number | Gateway Volume |
|
||||
| alarmingVol | Number | Alarming Volume |
|
||||
| doorbellPush | String | Doorbell Push |
|
||||
|
||||
### Mi Smart Home Gateway v3 (<a name="lumi-gateway-v3">lumi.gateway.v3</a>) Channels
|
||||
|
||||
| Channel | Type | Description |
|
||||
|------------------|---------|-------------------------------------|
|
||||
| telnetEnable | Switch | Enable Telnet |
|
||||
| doorbellVol | Number | Doorbell Volume |
|
||||
| gatewayVol | Number | Gateway Volume |
|
||||
| alarmingVol | Number | Alarming Volume |
|
||||
| doorbellPush | String | Doorbell Push |
|
||||
|
||||
### Xiaomi Mi Mijia Gateway V3 ZNDMWG03LM (<a name="lumi-gateway-mgl03">lumi.gateway.mgl03</a>) Channels
|
||||
|
||||
| Channel | Type | Description |
|
||||
|------------------|---------|-------------------------------------|
|
||||
| telnetEnable | Switch | Enable Telnet |
|
||||
| doorbellVol | Number | Doorbell Volume |
|
||||
| gatewayVol | Number | Gateway Volume |
|
||||
| alarmingVol | Number | Alarming Volume |
|
||||
| doorbellPush | String | Doorbell Push |
|
||||
|
||||
### Mi Humdifier (<a name="zhimi-humidifier-v1">zhimi.humidifier.v1</a>) Channels
|
||||
|
||||
| Channel | Type | Description |
|
||||
@@ -2806,6 +2847,58 @@ Number SpeedLevel "Fan-Speed Level" (G_fan) {channel="miio:basic:fan:SpeedLevel"
|
||||
Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" (G_fan) {channel="miio:basic:fan:PhysicalControlsLocked"}
|
||||
```
|
||||
|
||||
### Mi Smart Home Gateway v1 (lumi.gateway.v1) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_gateway "Mi Smart Home Gateway v1" <status>
|
||||
Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"}
|
||||
Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"}
|
||||
Number gatewayVol "Gateway Volume" (G_gateway) {channel="miio:basic:gateway:gatewayVol"}
|
||||
Number alarmingVol "Alarming Volume" (G_gateway) {channel="miio:basic:gateway:alarmingVol"}
|
||||
String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doorbellPush"}
|
||||
```
|
||||
|
||||
### Mi Smart Home Gateway v2 (lumi.gateway.v2) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_gateway "Mi Smart Home Gateway v2" <status>
|
||||
Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"}
|
||||
Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"}
|
||||
Number gatewayVol "Gateway Volume" (G_gateway) {channel="miio:basic:gateway:gatewayVol"}
|
||||
Number alarmingVol "Alarming Volume" (G_gateway) {channel="miio:basic:gateway:alarmingVol"}
|
||||
String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doorbellPush"}
|
||||
```
|
||||
|
||||
### Mi Smart Home Gateway v3 (lumi.gateway.v3) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_gateway "Mi Smart Home Gateway v3" <status>
|
||||
Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"}
|
||||
Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"}
|
||||
Number gatewayVol "Gateway Volume" (G_gateway) {channel="miio:basic:gateway:gatewayVol"}
|
||||
Number alarmingVol "Alarming Volume" (G_gateway) {channel="miio:basic:gateway:alarmingVol"}
|
||||
String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doorbellPush"}
|
||||
```
|
||||
|
||||
### Xiaomi Mi Mijia Gateway V3 ZNDMWG03LM (lumi.gateway.mgl03) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (gateway) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
|
||||
|
||||
```java
|
||||
Group G_gateway "Xiaomi Mi Mijia Gateway V3 ZNDMWG03LM" <status>
|
||||
Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"}
|
||||
Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"}
|
||||
Number gatewayVol "Gateway Volume" (G_gateway) {channel="miio:basic:gateway:gatewayVol"}
|
||||
Number alarmingVol "Alarming Volume" (G_gateway) {channel="miio:basic:gateway:alarmingVol"}
|
||||
String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doorbellPush"}
|
||||
```
|
||||
|
||||
### Mi Humdifier (zhimi.humidifier.v1) item file lines
|
||||
|
||||
note: Autogenerated example. Replace the id (humidifier) 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