diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 5c6a77e066543..077064bd470f7 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -467,6 +467,7 @@ Currently the miio binding supports more than 260 different models. | Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.ca1](#zhimi-humidifier-ca1) | Yes | | | Smartmi Evaporative Humidifer 2 | miio:basic | [zhimi.humidifier.ca4](#zhimi-humidifier-ca4) | Yes | | | Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.cb1](#zhimi-humidifier-cb1) | Yes | | +| Smartmi Evaporative Humidifier | miio:basic | [zhimi.humidifier.cb2](#zhimi-humidifier-cb2) | Yes | | | Smartmi Humidifier | miio:basic | [zhimi.humidifier.v1](#zhimi-humidifier-v1) | Yes | | | Mi AI Alarm | miio:unsupported | zimi.clock.myk01 | No | | | Mi Smart Power Strip | miio:basic | [zimi.powerstrip.v2](#zimi-powerstrip-v2) | Yes | | @@ -4353,7 +4354,24 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | power | Switch | Power | | | humidifierMode | String | Humidifier Mode | | | humidity | Number:Dimensionless | Humidity | | -| setHumidity | Number | Humidity Set | | +| setHumidity | Number:Dimensionless | Humidity Set | | +| bright | Dimmer | LED Brightness | | +| buzzer | Switch | Buzzer Status | | +| depth | Number | Depth | | +| dry | Switch | Dry | | +| usedhours | Number:Time | Run Time | | +| motorspeed | Number | Motor Speed | | +| temperature | Number:Temperature | Temperature | | +| childlock | Switch | Child Lock | | + +### Smartmi Evaporative Humidifier (zhimi.humidifier.cb2) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| humidifierMode | String | Humidifier Mode | | +| humidity | Number:Dimensionless | Humidity | | +| setHumidity | Number:Dimensionless | Humidity Set | | | bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | depth | Number | Depth | | @@ -4464,7 +4482,7 @@ Additionally depending on the capabilities of your robot vacuum other channels m note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Mi Multifunction Air Monitor" Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery"} Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} @@ -4478,7 +4496,7 @@ Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Qingping Air Monitor" Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery"} Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} @@ -4492,7 +4510,7 @@ Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic 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)" Switch on "Power" (G_plug) {channel="miio:basic:plug:on"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4513,7 +4531,7 @@ Switch countdown_info "Imilab Timer - Countdown Info" (G_plug) {channel="miio:ba 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 Plug WiFi" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4524,7 +4542,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} 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 Plug (WiFi)" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4536,7 +4554,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} 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 Wi-Fi Plug (Bluetooth Gateway)" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4548,7 +4566,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} 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 Plug Mini" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4559,7 +4577,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} 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 Plug (Wi-Fi) Basic" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug:temperature"} @@ -4570,7 +4588,7 @@ Switch led "Indicator light" (G_plug) {channel="miio:basic:plug:led"} 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" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4581,7 +4599,7 @@ Number:Temperature temperature "Temperature" (G_plug) {channel="miio:basic:plug: 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 v2" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4591,7 +4609,7 @@ Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} 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 "MIJIA Smart Plug Enhanced" Switch power "Power" (G_plug) {channel="miio:basic:plug:power"} Switch usb "USB" (G_plug) {channel="miio:basic:plug:usb"} @@ -4603,7 +4621,7 @@ Switch led "Wifi LED" (G_plug) {channel="miio:basic:plug:led"} 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 "Gosund Smart Plug" String FirmwareRevision "Device Information-CurrentFirmware Version" (G_plug) {channel="miio:basic:plug:FirmwareRevision"} String Manufacturer "Device Information-Device Manufacturer" (G_plug) {channel="miio:basic:plug:Manufacturer"} @@ -4616,7 +4634,7 @@ Switch On "Switch-Switch Status" (G_plug) {channel="miio:basic:plug:On"} note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airfresh "Mi Fresh Air Ventilator A1-150" Switch power "Power" (G_airfresh) {channel="miio:basic:airfresh:power"} String airFreshMode "Mode" (G_airfresh) {channel="miio:basic:airfresh:airFreshMode"} @@ -4639,7 +4657,7 @@ String airFreshResetFilterA1 "Reset Filter" (G_airfresh) {channel="miio:basic:ai note: Autogenerated example. Replace the id (airfresh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airfresh "Mi Fresh Air Ventilator" Switch power "Power" (G_airfresh) {channel="miio:basic:airfresh:power"} String airFreshMode "Mode" (G_airfresh) {channel="miio:basic:airfresh:airFreshMode"} @@ -4666,7 +4684,7 @@ String airFreshResetFilter "Reset Filter" (G_airfresh) {channel="miio:basic:airf note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 2 Lite" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4686,7 +4704,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 1X" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch roll "Rotation" (G_fan) {channel="miio:basic:fan:roll"} @@ -4703,7 +4721,7 @@ Number speed "Speed" (G_fan) {channel="miio:basic:fan:speed"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 1C" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4723,7 +4741,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Tower Fan" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4746,7 +4764,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Standing Fan 2" String Manufacturer "Device Information-Device Manufacturer" (G_fan) {channel="miio:basic:fan:Manufacturer"} String Model "Device Information-Device Model" (G_fan) {channel="miio:basic:fan:Model"} @@ -4769,7 +4787,7 @@ Switch PhysicalControlsLocked "Physical Control Locked-Physical Control Locked" note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum Mop 1C STYTJ01ZHM" String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number BatteryLevel "Battery-Battery Level" (G_vacuum) {channel="miio:basic:vacuum:BatteryLevel"} @@ -4808,7 +4826,7 @@ String TimeZone "Time - Time Zone" (G_vacuum) {channel="miio:basic:vacuum:TimeZo note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Dreame Robot Vacuum-Mop F9" Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} Number fault "Robot Cleaner - Device Fault" (G_vacuum) {channel="miio:basic:vacuum:fault"} @@ -4848,7 +4866,7 @@ Number save_map_status "Vslam Extend - Save Map Status" (G_vacuum) {channel="mii note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Dreame Robot Vacuum D9 " String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} @@ -4893,7 +4911,7 @@ Number total_clean_area "Clean Logs - Total Clean Area" (G_vacuum) {channel="mii note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO ARIES For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4904,7 +4922,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO ARIES For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4915,7 +4933,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO Fan Light" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4930,7 +4948,7 @@ Number mode "Fan - Mode" (G_light) {channel="miio:basic:light:mode"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO Fan Light(2020)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4951,7 +4969,7 @@ Switch flabellum "Presets - Flabellum" (G_light) {channel="miio:basic:light:flab note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PEGASUS For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4962,7 +4980,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PEGASUS For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4973,7 +4991,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PISCES For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4984,7 +5002,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO PISCES For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -4995,7 +5013,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO TAURUS For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5006,7 +5024,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO TAURUS For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5017,7 +5035,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO VIRGO For Bedroom" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5028,7 +5046,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO VIRGO For Living Room" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5039,7 +5057,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO Ceiling Light" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5050,7 +5068,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO LIANGCHEN(BLE Mesh)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5061,7 +5079,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO SAG Downlight (BLE Mesh)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5072,7 +5090,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO Bulb (BLE Mesh)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5083,7 +5101,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO YONG Downlight (BLE Mesh)" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5094,7 +5112,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "huayi.light.wy204" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5105,7 +5123,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO Heating Lamp" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5120,7 +5138,7 @@ Switch screenshow "Other - Screenshow" (G_light) {channel="miio:basic:light:scre note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "HUIZUO ZIWEI Ceiling Lamp" Switch on "Light - Power" (G_light) {channel="miio:basic:light:on"} Dimmer brightness "Light - Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5131,7 +5149,7 @@ Number:Temperature color_temperature "Light - Color Temperature" (G_light) {chan 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 "Xiaomiyoupin Curtain Controller (Wi-Fi)" 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"} @@ -5148,7 +5166,7 @@ Number run_time "curtain_cfg - Run-time" (G_curtain) {channel="miio:basic:curtai 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 Air Purifier virtual" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5161,7 +5179,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo 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 Hub v1" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5174,7 +5192,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo 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 GatewayHub v2" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5187,7 +5205,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo 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 mart Home Gateway Hub v3" Switch telnetEnable "Enable Telnet" (G_gateway) {channel="miio:basic:gateway:telnetEnable"} Number doorbellVol "Doorbell Volume" (G_gateway) {channel="miio:basic:gateway:doorbellVol"} @@ -5200,7 +5218,7 @@ String doorbellPush "Doorbell Push" (G_gateway) {channel="miio:basic:gateway:doo note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop Essential" String vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number status "Robot Cleaner - Status" (G_vacuum) {channel="miio:basic:vacuum:status"} @@ -5232,7 +5250,7 @@ Number mop_status "Other Status - Mop Status" (G_vacuum) {channel="miio:basic:va note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5250,7 +5268,7 @@ Number:Time no_water_time "No Water Flag - No Water Time" (G_pet_waterer) {chann note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5269,7 +5287,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "Mijia Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5288,7 +5306,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe note: Autogenerated example. Replace the id (pet_waterer) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_pet_waterer "XIAOWAN Smart Pet Water Dispenser" Number fault "Pet Drinking Fountain - Device Fault" (G_pet_waterer) {channel="miio:basic:pet_waterer:fault"} Switch on "Power" (G_pet_waterer) {channel="miio:basic:pet_waterer:on"} @@ -5307,7 +5325,7 @@ Switch pump_block_flag "No Water Flag - Pump Block Flag" (G_pet_waterer) {channe 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. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5322,7 +5340,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} 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. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5337,7 +5355,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} 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. -```java +``` Group G_airer "MR.BOND" Switch dry "Dry" (G_airer) {channel="miio:basic:airer:dry"} Switch led "LED Status" (G_airer) {channel="miio:basic:airer:led"} @@ -5352,7 +5370,7 @@ Number distime "Disinfect Time" (G_airer) {channel="miio:basic:airer:distime"} note: Autogenerated example. Replace the id (derh) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_derh "WIDETECH WDH318EFW1 Internet Dehumidifier" Switch power "Power" (G_derh) {channel="miio:basic:derh:power"} String mode "Mode" (G_derh) {channel="miio:basic:derh:mode"} @@ -5374,7 +5392,7 @@ String alarm "Alarm" (G_derh) {channel="miio:basic:derh:alarm"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Zhirui Ceiling Lamp Bedroom 40W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5393,7 +5411,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Zhirui Ceiling Lamp Bedroom 28W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5412,7 +5430,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiRui E27 bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5427,7 +5445,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiRui E14 candle lamp Frosted version" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5441,7 +5459,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiRui E14 candle lamp crystal version" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5455,7 +5473,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mijia Philips Color Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5471,7 +5489,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5487,7 +5505,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips connected ceiling" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5501,7 +5519,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5517,7 +5535,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "ZhiRui dimmable downlight" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5535,7 +5553,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiRui downlight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5550,7 +5568,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Wi-Fi bulb E27 White" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5565,7 +5583,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi Ceiling lamp FL 40W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5584,7 +5602,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi Ceiling lamp FL 28W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5603,7 +5621,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi Ceiling lamp FL 80W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5622,7 +5640,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Zhirui Ceiling Lamp Living room 80W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5641,7 +5659,7 @@ Switch mb "MiBand" (G_light) {channel="miio:basic:light:mb"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Nordic 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5659,7 +5677,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Nordic 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5677,7 +5695,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Nordic 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5695,7 +5713,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips Smart Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5706,7 +5724,7 @@ Number scene "Scene" (G_light) {channel="miio:basic:light:scene"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiRui bedside lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5722,7 +5740,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Black 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5740,7 +5758,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light " Zhirui Ceiling Lamp Black 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5758,7 +5776,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Black 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5776,7 +5794,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mijia Philips Study Desk Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5789,7 +5807,7 @@ Number dv "DV" (G_light) {channel="miio:basic:light:dv"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Starry 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5807,7 +5825,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Starry 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5825,7 +5843,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Starry 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5843,7 +5861,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips EyeCare connected desk lamp gen2." Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5858,7 +5876,7 @@ Switch bl "Night Light" (G_light) {channel="miio:basic:light:bl"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mijia Philips Desk Lamp 2S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5873,7 +5891,7 @@ Switch bl "Night Light" (G_light) {channel="miio:basic:light:bl"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips connected lights" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5888,7 +5906,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Gorgeous 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5906,7 +5924,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Gorgeous 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5924,7 +5942,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Zhirui Ceiling Lamp Gorgeous 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} @@ -5942,7 +5960,7 @@ String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:Miband note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi ceiling lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5956,7 +5974,7 @@ Switch toggle "Toggle" (G_light) {channel="miio:basic:light:toggle"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi desk lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5971,7 +5989,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Philips ZhiYi strip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -5986,7 +6004,7 @@ Switch delayoff "Delay Off" (G_light) {channel="miio:basic:light:delayoff"} 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. -```java +``` Group G_powerstrip "CHINGMI Smart Power Strip v1" Switch power "Power" (G_powerstrip) {channel="miio:basic:powerstrip:power"} Number powerUsage "Power Consumption" (G_powerstrip) {channel="miio:basic:powerstrip:powerUsage"} @@ -6003,7 +6021,7 @@ Number lp_threshold "Low Power Threshold" (G_powerstrip) {channel="miio:basic:po note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX OneKey Switch (WIFI)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch1name"} @@ -6013,7 +6031,7 @@ String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX Twokey switch(wifi)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} @@ -6025,7 +6043,7 @@ String switch2name "Switch Name 2" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "PTX ThreeKey Switch (WIFI)" Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} @@ -6039,7 +6057,7 @@ String switch3name "Switch Name 3" (G_switch) {channel="miio:basic:switch:switch note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_coffee "SCISHARE Smart Capsule Coffee Machine" Switch power "Power" (G_coffee) {channel="miio:basic:coffee:power"} String Status "status" (G_coffee) {channel="miio:basic:coffee:Status"} @@ -6052,7 +6070,7 @@ Number boil "Boil water" (G_coffee) {channel="miio:basic:coffee:boil"} note: Autogenerated example. Replace the id (coffee) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_coffee "Xiaomi Scishare smart capsule coffee machine" Switch power "Power" (G_coffee) {channel="miio:basic:coffee:power"} String Status "status" (G_coffee) {channel="miio:basic:coffee:Status"} @@ -6065,7 +6083,7 @@ Number boil "Boil water" (G_coffee) {channel="miio:basic:coffee:boil"} note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Viomi Cleaning Robot V-RVCLM21B" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6088,7 +6106,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop P" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6111,7 +6129,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (vacuum) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_vacuum "Mi Robot Vacuum-Mop P" Number vacuumaction "Vacuum Action" (G_vacuum) {channel="miio:basic:vacuum:vacuumaction"} Number state "State" (G_vacuum) {channel="miio:basic:vacuum:state"} @@ -6134,7 +6152,7 @@ Number has_newmap "has_newmap" (G_vacuum) {channel="miio:basic:vacuum:has_newmap note: Autogenerated example. Replace the id (waterheater) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterheater "VIOMI Internet electric water heater 1A (60L)" Number washStatus "Wash Status" (G_waterheater) {channel="miio:basic:waterheater:washStatus"} Number velocity "Velocity" (G_waterheater) {channel="miio:basic:waterheater:velocity"} @@ -6152,7 +6170,7 @@ Number appointEnd "Appoint End" (G_waterheater) {channel="miio:basic:waterheater note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Inverter Air Conditioner (1.5HP)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6172,7 +6190,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Inverter Air Conditioner (1.5HP, China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6192,7 +6210,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Vertical Air Conditioner (2HP)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6212,7 +6230,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner C1 (2HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6232,7 +6250,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C1 (1.5HP / Conventional / China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6252,7 +6270,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C1 (1HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6272,7 +6290,7 @@ Switch on1 "Indicator Light - Switch Status" (G_aircondition) {channel="miio:bas note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6299,7 +6317,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1.5HP / Inverter / China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6326,7 +6344,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6353,7 +6371,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner A (1.5HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6380,7 +6398,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner A (2HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6407,7 +6425,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Vertical Air Conditioner A (3HP / Inverter / China Energy Label Level <1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6434,7 +6452,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner(1.5HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6461,7 +6479,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner(2HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6488,7 +6506,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner (2HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6515,7 +6533,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Vertical Air Conditioner (3HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6542,7 +6560,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6569,7 +6587,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner C (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6596,7 +6614,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner(1HP/Inverter/New China Energy Label Level 3)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6623,7 +6641,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner X (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6650,7 +6668,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Air Conditioner X (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6677,7 +6695,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Air Conditioner (1HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6704,7 +6722,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Air Conditioner (1.5HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6731,7 +6749,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Gentle Breeze Vertical Air Conditioner (3HP / Inverter / New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6758,7 +6776,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner (1HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6785,7 +6803,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (aircondition) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_aircondition "Mi Smart Ultra Electricity Saving Air Conditioner (1.5HP/Inverter/New China Energy Label Level 1)" Switch on "Power" (G_aircondition) {channel="miio:basic:aircondition:on"} Number mode "Air Conditioner - Mode" (G_aircondition) {channel="miio:basic:aircondition:mode"} @@ -6812,7 +6830,7 @@ String timer "Enhance - Timer" (G_aircondition) {channel="miio:basic:airconditio note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean Smart Toilet Seat" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6825,7 +6843,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean smart toilet pure" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6838,7 +6856,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Uclean smart toilet relax" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6851,7 +6869,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (toilet) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_toilet "Whale Spout Smart Toilet Zero" Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} @@ -6864,7 +6882,7 @@ Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_le note: Autogenerated example. Replace the id (bhf_light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_bhf_light "Yeelight Smart Bath Heater Pro" Switch power "Power" (G_bhf_light) {channel="miio:basic:bhf_light:power"} String bh_mode "Bath Heater mode" (G_bhf_light) {channel="miio:basic:bhf_light:bh_mode"} @@ -6878,7 +6896,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio note: Autogenerated example. Replace the id (bhf_light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_bhf_light "Yeelight Smart Bath Heater" Switch power "Power" (G_bhf_light) {channel="miio:basic:bhf_light:power"} String bh_mode "Bath Heater mode" (G_bhf_light) {channel="miio:basic:bhf_light:bh_mode"} @@ -6892,7 +6910,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Bedside Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6907,7 +6925,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Bedside Lamp 2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6922,7 +6940,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Bedside Lamp II" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6937,7 +6955,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6953,7 +6971,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light SE" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6969,7 +6987,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -6985,7 +7003,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7006,7 +7024,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling4) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling4 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling4) {channel="miio:basic:ceiling4:power"} Dimmer brightness "Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:brightness"} @@ -7022,7 +7040,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling4) {channel="miio: note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7038,7 +7056,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight HaoShi LED Ceiling Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7054,7 +7072,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Haoshi Ceiling Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7070,7 +7088,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "LED Ceiling Light Crystal Plus" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7086,7 +7104,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight HaoShi LED Ceiling Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7102,7 +7120,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Crystal Pendant Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7123,7 +7141,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling10) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling10 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling10) {channel="miio:basic:ceiling10:power"} Dimmer brightness "Brightness" (G_ceiling10) {channel="miio:basic:ceiling10:brightness"} @@ -7139,7 +7157,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling10) {channel="miio note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light 320 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7155,7 +7173,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight stylized Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7171,7 +7189,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7187,7 +7205,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light Mini" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7203,7 +7221,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light 480 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7219,7 +7237,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Xingyu Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7235,7 +7253,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight ShaoHua Celing Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7251,7 +7269,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7267,7 +7285,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7283,7 +7301,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling19) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling19 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling19) {channel="miio:basic:ceiling19:power"} Dimmer brightness "Brightness" (G_ceiling19) {channel="miio:basic:ceiling19:brightness"} @@ -7299,7 +7317,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling19) {channel="miio note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7315,7 +7333,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (ceiling20) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_ceiling20 "Yeelight LED Ceiling Ambi Lamp" Switch power "Power" (G_ceiling20) {channel="miio:basic:ceiling20:power"} Dimmer brightness "Brightness" (G_ceiling20) {channel="miio:basic:ceiling20:brightness"} @@ -7331,7 +7349,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_ceiling20) {channel="miio note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Smart LED Living Room Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7347,7 +7365,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Smart LED Ceiling Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7363,7 +7381,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Smart LED Ceiling Light (350mm)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7379,7 +7397,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Color Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7394,7 +7412,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Bulb (Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7409,7 +7427,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi LED Smart Bulb (White and Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7424,7 +7442,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Bulb 1S(Color)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7439,7 +7457,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Bulb (Tunable)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7453,7 +7471,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi LED Desk Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7467,7 +7485,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi Smart LED Desk Lamp Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7481,7 +7499,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7495,7 +7513,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Mi LED Desk Lamp 1S" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7509,7 +7527,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Smart Desk Lamp Prime" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7523,7 +7541,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7537,7 +7555,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Light Sensor Desk Lamp V1" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7551,7 +7569,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7565,7 +7583,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7579,7 +7597,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight White Bulb v2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7593,7 +7611,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight LED Filament Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7607,7 +7625,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Whiteglow Panel Light" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7623,7 +7641,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Lightstrip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7638,7 +7656,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Lightstrip Plus" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7653,7 +7671,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yeelight Willow LED Lightstrip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7667,7 +7685,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Light Group (Mi & Yeelight)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7681,7 +7699,7 @@ String name "Name" (G_light) {channel="miio:basic:light:name"} note: Autogenerated example. Replace the id (switch) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_switch "Yeelight Smart Dual Control Module" Switch on "First Switch - Switch Status" (G_switch) {channel="miio:basic:switch:on"} Number mode "First Switch Default - Mode" (G_switch) {channel="miio:basic:switch:mode"} @@ -7698,7 +7716,7 @@ String rc_list "Extension - Rc List" (G_switch) {channel="miio:basic:switch:rc-l note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yilai Ceiling Light Aiyue 480" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7714,7 +7732,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yilai Ceiling Lamp Hefeng 430" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7730,7 +7748,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_light "Yilai Ceiling Lamp Hefeng Pro" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} @@ -7746,7 +7764,7 @@ Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:bas note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx2" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7780,7 +7798,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier (Under Counter)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7814,7 +7832,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx4" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7848,7 +7866,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 1A/400G Pro" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7882,7 +7900,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier (Under Counter)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7916,7 +7934,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 500G/500G Pro" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -7950,7 +7968,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier 600G" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number rinse "Rinse" (G_waterpuri) {channel="miio:basic:waterpuri:rinse"} @@ -7982,7 +8000,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier D1" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8016,7 +8034,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier lx10" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8050,7 +8068,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier C1 (Triple Setting)" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8084,7 +8102,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpuri) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpuri "Mi Water Purifier S1" Number run_status "Run Status" (G_waterpuri) {channel="miio:basic:waterpuri:run_status"} Number:Temperature temperature "Temperature" (G_waterpuri) {channel="miio:basic:waterpuri:temperature"} @@ -8118,7 +8136,7 @@ Number lightMode "Light Mode" (G_waterpuri) {channel="miio:basic:waterpuri:light note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v1" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8152,7 +8170,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v2" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8186,7 +8204,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier (Under sink) v3" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8220,7 +8238,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (waterpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_waterpurifier "Mi Water Purifier v4" Number run_status "Run Status" (G_waterpurifier) {channel="miio:basic:waterpurifier:run_status"} Number:Temperature temperature "Temperature" (G_waterpurifier) {channel="miio:basic:waterpurifier:temperature"} @@ -8254,7 +8272,7 @@ Number lightMode "Light Mode" (G_waterpurifier) {channel="miio:basic:waterpurifi note: Autogenerated example. Replace the id (airmonitor) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airmonitor "Mi PM2.5 Air Quality Monitor" Switch power "Power" (G_airmonitor) {channel="miio:basic:airmonitor:power"} Number aqi "Air Quality Index" (G_airmonitor) {channel="miio:basic:airmonitor:aqi"} @@ -8270,7 +8288,7 @@ Number night_end "Night End Time" (G_airmonitor) {channel="miio:basic:airmonitor note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2 (mini)" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8294,7 +8312,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8318,7 +8336,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8342,7 +8360,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8366,7 +8384,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3" Number fault "Air Purifier - Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"} @@ -8424,7 +8442,7 @@ Number manual_level "Others - Manual Level" (G_airpurifier) {channel="miio:basic note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8448,7 +8466,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3/3H" Number fault "Air Purifier - Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} Switch on "Air Purifier - Switch Status" (G_airpurifier) {channel="miio:basic:airpurifier:on"} @@ -8507,7 +8525,7 @@ Number country_code "Others - National Code" (G_airpurifier) {channel="miio:basi note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 3C" Switch on "Power" (G_airpurifier) {channel="miio:basic:airpurifier:on"} String fault "Air Purifier - Device Fault" (G_airpurifier) {channel="miio:basic:airpurifier:fault"} @@ -8528,7 +8546,7 @@ Number:Time aqi_updata_heartbeat "Custom Service - Aqi Updata Heartbeat" (G_airp note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8552,7 +8570,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier 2H" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8576,7 +8594,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Super" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8600,7 +8618,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier MAX / MAX Pro" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8624,7 +8642,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v1" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8648,7 +8666,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8672,7 +8690,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v3" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8696,7 +8714,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier v5" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8720,7 +8738,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Pro v6" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8744,7 +8762,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (airpurifier) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_airpurifier "Mi Air Purifier Pro v7" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} @@ -8768,7 +8786,7 @@ Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:c note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Standing Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8789,7 +8807,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Mi Smart Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8814,7 +8832,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi DC Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8839,7 +8857,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi DC Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8864,7 +8882,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Inverter Pedestal Fan" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8885,7 +8903,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Standing Fan 2" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8905,7 +8923,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} note: Autogenerated example. Replace the id (fan) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered. -```java +``` Group G_fan "Smartmi Standing Fan 2S" Switch power "Power" (G_fan) {channel="miio:basic:fan:power"} Switch angleEnable "Rotation" (G_fan) {channel="miio:basic:fan:angleEnable"} @@ -8925,7 +8943,7 @@ String move "Move Direction" (G_fan) {channel="miio:basic:fan:move"} 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 "Smartmi Radiant Heater Smart Version" Switch power "Power" (G_heater) {channel="miio:basic:heater:power"} Number:Temperature target_temperature "Target Temperature" (G_heater) {channel="miio:basic:heater:target_temperature"} @@ -8942,7 +8960,7 @@ Number:Time usedhours "Run Time" (G_heater) {channel="miio:basic:heater:usedhour 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 "Smartmi Smart Convector Heater 1S" Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"} Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} @@ -8960,7 +8978,7 @@ Number:Time use_time "Private-Service - Use Time" (G_heater) {channel="miio:basi 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 "Smartmi Smart Convector Heater 1S" Number fault "Heater - Device Fault" (G_heater) {channel="miio:basic:heater:fault"} Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} @@ -8979,7 +8997,7 @@ Number country_code "Private-Service - Country-Code" (G_heater) {channel="miio:b 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. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9001,7 +9019,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi 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. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifer 2" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} Number mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9027,12 +9045,32 @@ Number countryCode "Country Code" (G_humidifier) {channel="miio:basic:humidifier 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. -```java +``` Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} -Number setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} +Number:Dimensionless setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} +Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} +Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} +Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} +Number:Time usedhours "Run Time" (G_humidifier) {channel="miio:basic:humidifier:usedhours"} +Number motorspeed "Motor Speed" (G_humidifier) {channel="miio:basic:humidifier:motorspeed"} +Number:Temperature temperature "Temperature" (G_humidifier) {channel="miio:basic:humidifier:temperature"} +Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:childlock"} +``` + +### Smartmi Evaporative Humidifier (zhimi.humidifier.cb2) 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. + +``` +Group G_humidifier "Smartmi Evaporative Humidifier" +Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} +String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} +Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} @@ -9047,7 +9085,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi 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. -```java +``` Group G_humidifier "Smartmi Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} @@ -9069,7 +9107,7 @@ Switch childlock "Child Lock" (G_humidifier) {channel="miio:basic:humidifier:chi 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. -```java +``` Group G_powerstrip "Mi Smart Power Strip" Switch power "Power" (G_powerstrip) {channel="miio:basic:powerstrip:power"} Number powerUsage "Power Consumption" (G_powerstrip) {channel="miio:basic:powerstrip:powerUsage"} diff --git a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java index 4aeb72555a319..f256307d2a3dd 100644 --- a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java +++ b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/MiIoDevices.java @@ -351,6 +351,7 @@ public enum MiIoDevices { ZHIMI_HUMIDIFIER_CA1("zhimi.humidifier.ca1", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_CA4("zhimi.humidifier.ca4", "Smartmi Evaporative Humidifer 2", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_CB1("zhimi.humidifier.cb1", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), + ZHIMI_HUMIDIFIER_CB2("zhimi.humidifier.cb2", "Smartmi Evaporative Humidifier", THING_TYPE_BASIC), ZHIMI_HUMIDIFIER_V1("zhimi.humidifier.v1", "Smartmi Humidifier", THING_TYPE_BASIC), ZIMI_CLOCK_MYK01("zimi.clock.myk01", "Mi AI Alarm", THING_TYPE_UNSUPPORTED), ZIMI_POWERSTRIP_V2("zimi.powerstrip.v2", "Mi Smart Power Strip", THING_TYPE_BASIC), diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json index f24a7a31dcdde..c52e3ed9a122c 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.cb1.json @@ -1,14 +1,14 @@ { "deviceMapping": { "id": [ - "zhimi.humidifier.cb1" + "zhimi.humidifier.cb1", + "zhimi.humidifier.cb2" ], "channels": [ { "property": "power", "friendlyName": "Power", "channel": "power", - "channelType": "power", "type": "Switch", "refresh": true, "actions": [ @@ -59,8 +59,15 @@ "property": "limit_hum", "friendlyName": "Humidity Set", "channel": "setHumidity", - "channelType": "setHumidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", + "stateDescription": { + "minimum": 10, + "maximum": 100, + "step": 1, + "pattern": "%.1f %unit%", + "readOnly": false + }, "refresh": true, "ChannelGroup": "Status", "actions": [ @@ -88,7 +95,6 @@ "property": "buzzer", "friendlyName": "Buzzer Status", "channel": "buzzer", - "channelType": "buzzer", "type": "Switch", "refresh": true, "ChannelGroup": "actions", @@ -103,8 +109,11 @@ "property": "depth", "friendlyName": "Depth", "channel": "depth", - "channelType": "depth", "type": "Number", + "stateDescription": { + "pattern": "%.1f %unit%", + "readOnly": true + }, "refresh": true, "ChannelGroup": "Status", "actions": [] @@ -113,7 +122,6 @@ "property": "dry", "friendlyName": "Dry", "channel": "dry", - "channelType": "dry", "type": "Switch", "refresh": true, "ChannelGroup": "Status", @@ -128,9 +136,12 @@ "property": "use_time", "friendlyName": "Run Time", "channel": "usedhours", - "channelType": "usedhours", "type": "Number:Time", "unit": "hours", + "stateDescription": { + "pattern": "%.1f %unit%", + "readOnly": true + }, "refresh": true, "transformation": "SecondsToHours", "ChannelGroup": "Status", @@ -141,8 +152,11 @@ "property": "speed", "friendlyName": "Motor Speed", "channel": "motorspeed", - "channelType": "motorspeed", "type": "Number", + "stateDescription": { + "pattern": "%.0f rpm", + "readOnly": true + }, "refresh": true, "ChannelGroup": "Status", "actions": [] @@ -170,7 +184,6 @@ "property": "child_lock", "friendlyName": "Child Lock", "channel": "childlock", - "channelType": "childlock", "type": "Switch", "refresh": true, "ChannelGroup": "Status", @@ -179,6 +192,10 @@ "command": "set_child_lock", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] } ] diff --git a/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java b/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java index 8506ece83c1ec..0d20357c18f25 100644 --- a/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java +++ b/bundles/org.openhab.binding.miio/src/test/java/org/openhab/binding/miio/internal/ReadmeHelper.java @@ -196,7 +196,7 @@ private StringWriter itemFileExamples() { String gr = "G_" + id; sw.write("note: Autogenerated example. Replace the id (" + id + ") in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.\n"); - sw.write("\n```java\n"); + sw.write("\n```\n"); sw.write("Group " + gr + " \"" + device.getDescription() + "\" \n"); for (MiIoBasicChannel ch : dev.getDevice().getChannels()) {