diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 0536d02c25d..3f7f28607c5 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -225,6 +225,9 @@ or in case of unknown models include the model information e.g.: | Mi Internet Speaker | miio:unsupported | xiaomi.wifispeaker.v1 | No | | | Yeelight Lamp | miio:basic | [yeelink.light.bslamp1](#yeelink-light-bslamp1) | Yes | | | Yeelight Lamp | miio:basic | [yeelink.light.bslamp2](#yeelink-light-bslamp2) | Yes | | +| Yeelight Lamp | miio:basic | [yeelink.light.bslamp3](#yeelink-light-bslamp3) | Yes | | +| Yeelight BadHeater | miio:basic | [yeelink.bhf_light.v1](#yeelink-bhf_light-v1) | Yes | | +| Yeelight BadHeater | miio:basic | [yeelink.bhf_light.v2](#yeelink-bhf_light-v2) | Yes | | | Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling1](#yeelink-light-ceiling1) | Yes | | | Yeelight LED Ceiling Lamp v2 | miio:basic | [yeelink.light.ceiling2](#yeelink-light-ceiling2) | Yes | | | Yeelight LED Ceiling Lamp v3 | miio:basic | [yeelink.light.ceiling3](#yeelink-light-ceiling3) | Yes | | @@ -239,20 +242,45 @@ or in case of unknown models include the model information e.g.: | Yeelight LED Ceiling Lamp v11 | miio:basic | [yeelink.light.ceiling11](#yeelink-light-ceiling11) | Yes | | | Yeelight LED Ceiling Lamp v12 | miio:basic | [yeelink.light.ceiling12](#yeelink-light-ceiling12) | Yes | | | Yeelight LED Ceiling Lamp v13 | miio:basic | [yeelink.light.ceiling13](#yeelink-light-ceiling13) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling14](#yeelink-light-ceiling14) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling15](#yeelink-light-ceiling15) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling16](#yeelink-light-ceiling16) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling17](#yeelink-light-ceiling17) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling18](#yeelink-light-ceiling18) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling19](#yeelink-light-ceiling19) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling20](#yeelink-light-ceiling20) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling21](#yeelink-light-ceiling21) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling22](#yeelink-light-ceiling22) | Yes | | +| Yeelight LED Ceiling Lamp | miio:basic | [yeelink.light.ceiling23](#yeelink-light-ceiling23) | Yes | | +| Yeelight LED Ceiling Ambi Lamp | miio:basic | [yeelink.light.ceiling4.ambi](#yeelink-light-ceiling4-ambi) | Yes | | +| Yeelight LED Ceiling Ambi Lamp | miio:basic | [yeelink.light.ceiling10.ambi](#yeelink-light-ceiling10-ambi) | Yes | | +| Yeelight LED Ceiling Ambi Lamp | miio:basic | [yeelink.light.ceiling19.ambi](#yeelink-light-ceiling19-ambi) | Yes | | +| Yeelight LED Ceiling Ambi Lamp | miio:basic | [yeelink.light.ceiling20.ambi](#yeelink-light-ceiling20-ambi) | Yes | | | Yeelight ct2 | miio:basic | [yeelink.light.ct2](#yeelink-light-ct2) | Yes | | | Yeelight White Bulb | miio:basic | [yeelink.light.mono1](#yeelink-light-mono1) | Yes | | | Yeelight White Bulb v2 | miio:basic | [yeelink.light.mono2](#yeelink-light-mono2) | Yes | | +| Yeelight White | miio:basic | [yeelink.light.mono5](#yeelink-light-mono5) | Yes | | | Yeelight Wifi Speaker | miio:unsupported | yeelink.wifispeaker.v1 | No | | | Yeelight | miio:basic | [yeelink.light.lamp1](#yeelink-light-lamp1) | Yes | | | Yeelight | miio:basic | [yeelink.light.lamp2](#yeelink-light-lamp2) | Yes | | | Yeelight | miio:basic | [yeelink.light.lamp3](#yeelink-light-lamp3) | Yes | | +| Yeelight | miio:basic | [yeelink.light.lamp4](#yeelink-light-lamp4) | Yes | | +| Yeelight | miio:basic | [yeelink.light.lamp5](#yeelink-light-lamp5) | Yes | | +| Yeelight | miio:basic | [yeelink.light.lamp6](#yeelink-light-lamp6) | Yes | | +| Yeelight | miio:basic | [yeelink.light.lamp7](#yeelink-light-lamp7) | Yes | | +| Yeelight | miio:basic | [yeelink.light.lamp8](#yeelink-light-lamp8) | Yes | | +| Yeelight Panel | miio:basic | [yeelink.light.panel1](#yeelink-light-panel1) | Yes | | | Yeelight Strip | miio:basic | [yeelink.light.strip1](#yeelink-light-strip1) | Yes | | | Yeelight Strip | miio:basic | [yeelink.light.strip2](#yeelink-light-strip2) | Yes | | +| Yeelight Strip | miio:basic | [yeelink.light.strip4](#yeelink-light-strip4) | Yes | | | Yeelight | miio:basic | [yeelink.light.virtual](#yeelink-light-virtual) | Yes | | | Yeelight Color Bulb | miio:basic | [yeelink.light.color1](#yeelink-light-color1) | Yes | | | Yeelight Color Bulb YLDP06YL 10W | miio:basic | [yeelink.light.color2](#yeelink-light-color2) | Yes | | | Yeelight Color Bulb YLDP02YL 9W | miio:basic | [yeelink.light.color3](#yeelink-light-color3) | Yes | | | Yeelight Bulb YLDP13YL (8,5W) | miio:basic | [yeelink.light.color4](#yeelink-light-color4) | Yes | | +| Yeelight yilai ceiling | miio:basic | [yilai.light.ceiling1](#yilai-light-ceiling1) | Yes | | +| Yeelight yilai ceiling | miio:basic | [yilai.light.ceiling2](#yilai-light-ceiling2) | Yes | | +| Yeelight yilai ceiling | miio:basic | [yilai.light.ceiling3](#yilai-light-ceiling3) | Yes | | # Advanced: Unsupported devices @@ -1309,7 +1337,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| power | Switch | Power | | +| power | Switch | Power | If this channel does not respond to on/off replace the model with chuangmi.plug.v3old in the config or upgrade firmware | | usb | Switch | USB | | | temperature | Number | Temperature | | | led | Switch | Wifi LED | | @@ -1846,6 +1874,41 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | rgbColor | Color | RGB Color | | | name | String | Name | | +### Yeelight Lamp (yeelink.light.bslamp3) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | String | Color Mode | | +| toggle | Switch | toggle | | +| rgbColor | Color | RGB Color | | +| name | String | Name | | + +### Yeelight BadHeater (yeelink.bhf_light.v1) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| bh_mode | String | Bath Heater mode | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| temperature | Number | Temperature | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight BadHeater (yeelink.bhf_light.v2) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| bh_mode | String | Bath Heater mode | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| temperature | Number | Temperature | | +| nightlightBrightness | Number | Nightlight Brightness | | + ### Yeelight LED Ceiling Lamp (yeelink.light.ceiling1) Channels | Channel | Type | Description | Comment | @@ -1909,16 +1972,11 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | brightness | Dimmer | Brightness | | -| ambientBrightness | Number | Ambient Brightness | | | delayoff | Number | Shutdown Timer | | | colorTemperature | Number | Color Temperature | | | colorMode | Number | Color Mode | | | name | String | Name | | -| ambientPower | Switch | Ambient Power | | -| ambientColor | Color | Ambient Color | | -| ambientColorTemperature | Number | Ambient Color Temperature | | | customScene | String | Set Scene | | -| ambientColorMode | Number | Ambient Color Mode | | | nightlightBrightness | Number | Nightlight Brightness | | ### Yeelight LED Ceiling Lamp v5 (yeelink.light.ceiling5) Channels @@ -2043,6 +2101,188 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | customScene | String | Set Scene | | | nightlightBrightness | Number | Nightlight Brightness | | +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling14) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling15) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling16) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling17) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling18) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling19) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling20) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling21) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling22) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling23) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling4.ambi) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling10.ambi) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling19.ambi) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling20.ambi) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + ### Yeelight ct2 (yeelink.light.ct2) Channels | Channel | Type | Description | Comment | @@ -2076,6 +2316,17 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | colorMode | Number | Color Mode | | | name | String | Name | | +### Yeelight White (yeelink.light.mono5) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + ### Yeelight (yeelink.light.lamp1) Channels | Channel | Type | Description | Comment | @@ -2109,6 +2360,74 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | colorMode | Number | Color Mode | | | name | String | Name | | +### Yeelight (yeelink.light.lamp4) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + +### Yeelight (yeelink.light.lamp5) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + +### Yeelight (yeelink.light.lamp6) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + +### Yeelight (yeelink.light.lamp7) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + +### Yeelight (yeelink.light.lamp8) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + +### Yeelight Panel (yeelink.light.panel1) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + ### Yeelight Strip (yeelink.light.strip1) Channels | Channel | Type | Description | Comment | @@ -2135,6 +2454,17 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | rgbColor | Color | RGB Color | | | name | String | Name | | +### Yeelight Strip (yeelink.light.strip4) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | + ### Yeelight (yeelink.light.virtual) Channels | Channel | Type | Description | Comment | @@ -2198,6 +2528,45 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | rgbColor | Color | RGB Color | | | name | String | Name | | +### Yeelight yilai ceiling (yilai.light.ceiling1) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight yilai ceiling (yilai.light.ceiling2) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + +### Yeelight yilai ceiling (yilai.light.ceiling3) Channels + +| Channel | Type | Description | Comment | +|------------------|---------|-------------------------------------|------------| +| power | Switch | Power | | +| brightness | Dimmer | Brightness | | +| delayoff | Number | Shutdown Timer | | +| colorTemperature | Number | Color Temperature | | +| colorMode | Number | Color Mode | | +| name | String | Name | | +| customScene | String | Set Scene | | +| nightlightBrightness | Number | Nightlight Brightness | | + @@ -4078,6 +4447,50 @@ Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` +### Yeelight Lamp (yeelink.light.bslamp3) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +String colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +Switch toggle "toggle" (G_light) {channel="miio:basic:light:toggle"} +Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight BadHeater (yeelink.bhf_light.v1) item file lines + +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 BadHeater" +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"} +Dimmer brightness "Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:brightness"} +Number delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} +Number temperature "Temperature" (G_bhf_light) {channel="miio:basic:bhf_light:temperature"} +Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:nightlightBrightness"} +``` + +### Yeelight BadHeater (yeelink.bhf_light.v2) item file lines + +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 BadHeater" +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"} +Dimmer brightness "Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:brightness"} +Number delayoff "Shutdown Timer" (G_bhf_light) {channel="miio:basic:bhf_light:delayoff"} +Number temperature "Temperature" (G_bhf_light) {channel="miio:basic:bhf_light:temperature"} +Number nightlightBrightness "Nightlight Brightness" (G_bhf_light) {channel="miio:basic:bhf_light:nightlightBrightness"} +``` + ### Yeelight LED Ceiling Lamp (yeelink.light.ceiling1) item file lines 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. @@ -4155,16 +4568,11 @@ note: Autogenerated example. Replace the id (ceiling4) in the channel with your Group G_ceiling4 "Yeelight LED Ceiling Lamp v4" Switch power "Power" (G_ceiling4) {channel="miio:basic:ceiling4:power"} Dimmer brightness "Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:brightness"} -Number ambientBrightness "Ambient Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:ambientBrightness"} Number delayoff "Shutdown Timer" (G_ceiling4) {channel="miio:basic:ceiling4:delayoff"} Number colorTemperature "Color Temperature" (G_ceiling4) {channel="miio:basic:ceiling4:colorTemperature"} Number colorMode "Color Mode" (G_ceiling4) {channel="miio:basic:ceiling4:colorMode"} String name "Name" (G_ceiling4) {channel="miio:basic:ceiling4:name"} -Switch ambientPower "Ambient Power" (G_ceiling4) {channel="miio:basic:ceiling4:ambientPower"} -Color ambientColor "Ambient Color" (G_ceiling4) {channel="miio:basic:ceiling4:ambientColor"} -Number ambientColorTemperature "Ambient Color Temperature" (G_ceiling4) {channel="miio:basic:ceiling4:ambientColorTemperature"} String customScene "Set Scene" (G_ceiling4) {channel="miio:basic:ceiling4:customScene"} -Number ambientColorMode "Ambient Color Mode" (G_ceiling4) {channel="miio:basic:ceiling4:ambientColorMode"} Number nightlightBrightness "Nightlight Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:nightlightBrightness"} ``` @@ -4317,6 +4725,230 @@ String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene" Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} ``` +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling14) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling15) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling16) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling17) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling18) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling19) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling20) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling21) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling22) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Lamp (yeelink.light.ceiling23) item file lines + +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 Lamp" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling4.ambi) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_ceiling4) {channel="miio:basic:ceiling4:delayoff"} +Number colorTemperature "Color Temperature" (G_ceiling4) {channel="miio:basic:ceiling4:colorTemperature"} +Number colorMode "Color Mode" (G_ceiling4) {channel="miio:basic:ceiling4:colorMode"} +String name "Name" (G_ceiling4) {channel="miio:basic:ceiling4:name"} +String customScene "Set Scene" (G_ceiling4) {channel="miio:basic:ceiling4:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling10.ambi) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_ceiling10) {channel="miio:basic:ceiling10:delayoff"} +Number colorTemperature "Color Temperature" (G_ceiling10) {channel="miio:basic:ceiling10:colorTemperature"} +Number colorMode "Color Mode" (G_ceiling10) {channel="miio:basic:ceiling10:colorMode"} +String name "Name" (G_ceiling10) {channel="miio:basic:ceiling10:name"} +String customScene "Set Scene" (G_ceiling10) {channel="miio:basic:ceiling10:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_ceiling10) {channel="miio:basic:ceiling10:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling19.ambi) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_ceiling19) {channel="miio:basic:ceiling19:delayoff"} +Number colorTemperature "Color Temperature" (G_ceiling19) {channel="miio:basic:ceiling19:colorTemperature"} +Number colorMode "Color Mode" (G_ceiling19) {channel="miio:basic:ceiling19:colorMode"} +String name "Name" (G_ceiling19) {channel="miio:basic:ceiling19:name"} +String customScene "Set Scene" (G_ceiling19) {channel="miio:basic:ceiling19:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_ceiling19) {channel="miio:basic:ceiling19:nightlightBrightness"} +``` + +### Yeelight LED Ceiling Ambi Lamp (yeelink.light.ceiling20.ambi) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_ceiling20) {channel="miio:basic:ceiling20:delayoff"} +Number colorTemperature "Color Temperature" (G_ceiling20) {channel="miio:basic:ceiling20:colorTemperature"} +Number colorMode "Color Mode" (G_ceiling20) {channel="miio:basic:ceiling20:colorMode"} +String name "Name" (G_ceiling20) {channel="miio:basic:ceiling20:name"} +String customScene "Set Scene" (G_ceiling20) {channel="miio:basic:ceiling20:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_ceiling20) {channel="miio:basic:ceiling20:nightlightBrightness"} +``` + ### Yeelight ct2 (yeelink.light.ct2) item file lines 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. @@ -4359,6 +4991,20 @@ Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` +### Yeelight White (yeelink.light.mono5) item file lines + +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" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + ### Yeelight (yeelink.light.lamp1) item file lines 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. @@ -4401,6 +5047,92 @@ Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` +### Yeelight (yeelink.light.lamp4) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight (yeelink.light.lamp5) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight (yeelink.light.lamp6) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight (yeelink.light.lamp7) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight (yeelink.light.lamp8) item file lines + +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"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + +### Yeelight Panel (yeelink.light.panel1) item file lines + +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 Panel" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + ### Yeelight Strip (yeelink.light.strip1) item file lines 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. @@ -4433,6 +5165,20 @@ Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` +### Yeelight Strip (yeelink.light.strip4) item file lines + +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 Strip" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +``` + ### Yeelight (yeelink.light.virtual) item file lines 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. @@ -4511,4 +5257,52 @@ Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` +### Yeelight yilai ceiling (yilai.light.ceiling1) item file lines + +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 yilai ceiling" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight yilai ceiling (yilai.light.ceiling2) item file lines + +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 yilai ceiling" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + +### Yeelight yilai ceiling (yilai.light.ceiling3) item file lines + +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 yilai ceiling" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Number delayoff "Shutdown Timer" (G_light) {channel="miio:basic:light:delayoff"} +Number colorTemperature "Color Temperature" (G_light) {channel="miio:basic:light:colorTemperature"} +Number colorMode "Color Mode" (G_light) {channel="miio:basic:light:colorMode"} +String name "Name" (G_light) {channel="miio:basic:light:name"} +String customScene "Set Scene" (G_light) {channel="miio:basic:light:customScene"} +Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} +``` + 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 0270c6c1c2b..7efd295dd51 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 @@ -167,6 +167,9 @@ public enum MiIoDevices { WIFISPEAKER("xiaomi.wifispeaker.v1", "Mi Internet Speaker", THING_TYPE_UNSUPPORTED), YEELIGHT_BSLAMP("yeelink.light.bslamp1", "Yeelight Lamp", THING_TYPE_BASIC), YEELIGHT_BSLAMP2("yeelink.light.bslamp2", "Yeelight Lamp", THING_TYPE_BASIC), + YEELIGHT_BSLAMP3("yeelink.light.bslamp3", "Yeelight Lamp", THING_TYPE_BASIC), + YEELIGHT_BHFLIGHT1("yeelink.bhf_light.v1", "Yeelight BadHeater", THING_TYPE_BASIC), + YEELIGHT_BHFLIGHT2("yeelink.bhf_light.v2", "Yeelight BadHeater", THING_TYPE_BASIC), YEELIGHT_CEIL1("yeelink.light.ceiling1", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), YEELIGHT_CEIL2("yeelink.light.ceiling2", "Yeelight LED Ceiling Lamp v2", THING_TYPE_BASIC), YEELIGHT_CEIL3("yeelink.light.ceiling3", "Yeelight LED Ceiling Lamp v3", THING_TYPE_BASIC), @@ -181,20 +184,45 @@ public enum MiIoDevices { YEELIGHT_CEIL11("yeelink.light.ceiling11", "Yeelight LED Ceiling Lamp v11", THING_TYPE_BASIC), YEELIGHT_CEIL12("yeelink.light.ceiling12", "Yeelight LED Ceiling Lamp v12", THING_TYPE_BASIC), YEELIGHT_CEIL13("yeelink.light.ceiling13", "Yeelight LED Ceiling Lamp v13", THING_TYPE_BASIC), + YEELIGHT_CEIL14("yeelink.light.ceiling14", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL15("yeelink.light.ceiling15", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL16("yeelink.light.ceiling16", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL17("yeelink.light.ceiling17", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL18("yeelink.light.ceiling18", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL19("yeelink.light.ceiling19", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL20("yeelink.light.ceiling20", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL21("yeelink.light.ceiling21", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL22("yeelink.light.ceiling22", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL23("yeelink.light.ceiling23", "Yeelight LED Ceiling Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL4_A("yeelink.light.ceiling4.ambi", "Yeelight LED Ceiling Ambi Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL10_A("yeelink.light.ceiling10.ambi", "Yeelight LED Ceiling Ambi Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL19_A("yeelink.light.ceiling19.ambi", "Yeelight LED Ceiling Ambi Lamp", THING_TYPE_BASIC), + YEELIGHT_CEIL20_A("yeelink.light.ceiling20.ambi", "Yeelight LED Ceiling Ambi Lamp", THING_TYPE_BASIC), YEELIGHT_CT2("yeelink.light.ct2", "Yeelight ct2", THING_TYPE_BASIC), YEELIGHT_DOLPHIN("yeelink.light.mono1", "Yeelight White Bulb", THING_TYPE_BASIC), YEELIGHT_DOLPHIN2("yeelink.light.mono2", "Yeelight White Bulb v2", THING_TYPE_BASIC), + YEELIGHT_FLUTE("yeelink.light.mono5", "Yeelight White", THING_TYPE_BASIC), YEELIGHT_DONUT("yeelink.wifispeaker.v1", "Yeelight Wifi Speaker", THING_TYPE_UNSUPPORTED), YEELIGHT_MANGO("yeelink.light.lamp1", "Yeelight", THING_TYPE_BASIC), YEELIGHT_MANGO2("yeelink.light.lamp2", "Yeelight", THING_TYPE_BASIC), YEELIGHT_MANGO3("yeelink.light.lamp3", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_MANGO4("yeelink.light.lamp4", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_MANGO5("yeelink.light.lamp5", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_MANGO6("yeelink.light.lamp6", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_MANGO7("yeelink.light.lamp7", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_MANGO8("yeelink.light.lamp8", "Yeelight", THING_TYPE_BASIC), + YEELIGHT_PANEL1("yeelink.light.panel1", "Yeelight Panel", THING_TYPE_BASIC), YEELIGHT_STRIP("yeelink.light.strip1", "Yeelight Strip", THING_TYPE_BASIC), YEELIGHT_STRIP2("yeelink.light.strip2", "Yeelight Strip", THING_TYPE_BASIC), + YEELIGHT_STRIP4("yeelink.light.strip4", "Yeelight Strip", THING_TYPE_BASIC), YEELIGHT_VIRT("yeelink.light.virtual", "Yeelight", THING_TYPE_BASIC), YEELIGHT_C1("yeelink.light.color1", "Yeelight Color Bulb", THING_TYPE_BASIC), YEELIGHT_C2("yeelink.light.color2", "Yeelight Color Bulb YLDP06YL 10W", THING_TYPE_BASIC), YEELIGHT_C3("yeelink.light.color3", "Yeelight Color Bulb YLDP02YL 9W", THING_TYPE_BASIC), YEELIGHT_C4("yeelink.light.color4", "Yeelight Bulb YLDP13YL (8,5W)", THING_TYPE_BASIC), + YL_CEILING1("yilai.light.ceiling1", "Yeelight yilai ceiling", THING_TYPE_BASIC), + YL_CEILING2("yilai.light.ceiling2", "Yeelight yilai ceiling", THING_TYPE_BASIC), + YL_CEILING3("yilai.light.ceiling3", "Yeelight yilai ceiling", THING_TYPE_BASIC), UNKNOWN("unknown", "Unknown Mi IO Device", THING_TYPE_UNSUPPORTED); public static MiIoDevices getType(String modelString) { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3fw.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3fw.json index 295825b1473..b6dcffe29c7 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3fw.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3fw.json @@ -12,6 +12,7 @@ "type": "Switch", "refresh": true, "ChannelGroup": "", + "readmeComment": "If this channel does not respond to on/off replace the model with chuangmi.plug.v3old in the config or upgrade firmware", "actions": [ { "command": "set_power", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json new file mode 100644 index 00000000000..54a86843758 --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.bhf1.json @@ -0,0 +1,98 @@ +{ + "deviceMapping": { + "id": [ + "yeelink.bhf_light.v1", + "yeelink.bhf_light.v2" + ], + "channels": [ + { + "property": "power", + "friendlyName": "Power", + "channel": "power", + "type": "Switch", + "refresh": true, + "ChannelGroup": "", + "actions": [ + { + "command": "set_power", + "parameterType": "ONOFF" + } + ] + }, + { + "property": "bh_mode", + "friendlyName": "Bath Heater mode", + "channel": "bh_mode", + "type": "String", + "refresh": true, + "ChannelGroup": "", + "actions": [ + { + "command": "set_bh_mode", + "parameterType": "STRING" + } + ] + }, + { + "property": "bright", + "friendlyName": "Brightness", + "channel": "brightness", + "type": "Dimmer", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_bright", + "parameterType": "NUMBER", + "condition": { + "name": "BrightnessExisting" + } + }, + { + "command": "set_power", + "parameterType": "ONOFF", + "condition": { + "name": "BrightnessOnOff" + } + } + ] + }, + { + "property": "delayoff", + "friendlyName": "Shutdown Timer", + "channel": "delayoff", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "cron_add", + "parameterType": "NUMBER", + "parameters": [ + 0, + "$value$" + ] + } + ] + }, + { + "property": "temperature", + "friendlyName": "Temperature", + "channel": "temperature", + "type": "Number", + "refresh": true, + "ChannelGroup": "", + "actions": [] + }, + { + "property": "nl_br", + "friendlyName": "Nightlight Brightness", + "channel": "nightlightBrightness", + "type": "Number", + "refresh": true, + "ChannelGroup": "", + "actions": [] + } + ] + } +} diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json index 3998ff34ed7..79c4523fe4d 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling.json @@ -10,7 +10,24 @@ "yeelink.light.ceiling9", "yeelink.light.ceiling11", "yeelink.light.ceiling12", - "yeelink.light.ceiling13" + "yeelink.light.ceiling13", + "yeelink.light.ceiling14", + "yeelink.light.ceiling15", + "yeelink.light.ceiling16", + "yeelink.light.ceiling17", + "yeelink.light.ceiling18", + "yeelink.light.ceiling19", + "yeelink.light.ceiling20", + "yeelink.light.ceiling21", + "yeelink.light.ceiling22", + "yeelink.light.ceiling23", + "yeelink.light.ceiling4.ambi", + "yeelink.light.ceiling10.ambi", + "yeelink.light.ceiling19.ambi", + "yeelink.light.ceiling20.ambi", + "yilai.light.ceiling1", + "yilai.light.ceiling2", + "yilai.light.ceiling3" ], "channels": [ { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json index 1428911f334..9ab9149d24e 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json @@ -1,7 +1,8 @@ { "deviceMapping": { "id": [ - "yeelink.light.ceiling2" + "yeelink.light.ceiling2", + "yeelink.light.panel1" ], "channels": [ { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json index cb8e63dc994..589510c51f5 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json @@ -8,7 +8,8 @@ "yeelink.light.strip1", "yeelink.light.strip2", "yeelink.light.bslamp1", - "yeelink.light.bslamp2" + "yeelink.light.bslamp2", + "yeelink.light.bslamp3" ], "maxProperties": 7, "channels": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json index c9e65997f52..cc7cb909cb0 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.lamp1.json @@ -4,9 +4,17 @@ "yeelink.light.lamp1", "yeelink.light.lamp2", "yeelink.light.lamp3", + "yeelink.light.lamp4", + "yeelink.light.lamp5", + "yeelink.light.lamp6", + "yeelink.light.lamp7", + "yeelink.light.lamp8", + "yeelink.light.strip4", "yeelink.light.ct2", "yeelink.light.mono1", "yeelink.light.mono2", + "yeelink.light.mono5", + "yeelink.light.panel1", "yeelink.light.virtual" ], "channels": [