diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index ddd3058f9a290..6332da95a8f55 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -108,6 +108,9 @@ The following things types are available: | roborock.vacuum.c1 | miio:unsupported | roborock.vacuum.c1 | No | | | Rockrobo Xiaowa Sweeper v2 | miio:unsupported | roborock.sweeper.e2v2 | No | | | Rockrobo Xiaowa Sweeper v3 | miio:unsupported | roborock.sweeper.e2v3 | No | | +| Mijia 1 Gang Wall Smart Switch (WIFI) - PTX switch | miio:basic | [090615.switch.xswitch01](#090615-switch-xswitch01) | Yes | | +| Mijia 2 Gang Wall Smart Switch (WIFI) - PTX switch | miio:basic | [090615.switch.xswitch02](#090615-switch-xswitch02) | Yes | | +| Mijia 3 Gang Wall Smart Switch (WIFI) - PTX switch | miio:basic | [090615.switch.xswitch03](#090615-switch-xswitch03) | Yes | | | Mi Water Purifier v2 | miio:basic | [yunmi.waterpuri.v2](#yunmi-waterpuri-v2) | Yes | | | Mi Water Purifier lx2 | miio:basic | [yunmi.waterpuri.lx2](#yunmi-waterpuri-lx2) | Yes | | | Mi Water Purifier lx3 | miio:basic | [yunmi.waterpuri.lx3](#yunmi-waterpuri-lx3) | Yes | | @@ -128,7 +131,11 @@ The following things types are available: | Yeelight LED Ceiling Lamp v6 | miio:basic | [yeelink.light.ceiling6](#yeelink-light-ceiling6) | Yes | | | Yeelight LED Ceiling Lamp v7 | miio:basic | [yeelink.light.ceiling7](#yeelink-light-ceiling7) | Yes | | | Yeelight LED Ceiling Lamp v8 | miio:basic | [yeelink.light.ceiling8](#yeelink-light-ceiling8) | Yes | | +| Yeelight LED Ceiling Lamp v9 | miio:basic | [yeelink.light.ceiling9](#yeelink-light-ceiling9) | Yes | | | Yeelight LED Meteorite lamp | miio:basic | [yeelink.light.ceiling10](#yeelink-light-ceiling10) | Yes | | +| 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 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 | | @@ -141,7 +148,8 @@ The following things types are available: | 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 | miio:basic | [yeelink.light.color3](#yeelink-light-color3) | 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 | | # Advanced: Unsupported devices @@ -307,7 +315,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | Channel | Type | Description | |------------------|---------|-------------------------------------| | power | Switch | Power | -| mode | String | Mode | +| humidifierMode | String | Humidifier Mode | | humidity | Number | Humidity | | setHumidity | Number | Humidity Set | | bright | Number | LED Brightness | @@ -433,16 +441,16 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | humidity | Number | Humidity | | aqi | Number | Air Quality Index | | averageaqi | Number | Average Air Quality Index | +| volume | Number | Volume | | led | Switch | LED Status | -| bright | Number | LED Brightness | +| illuminance | Number | Illuminance | | filtermaxlife | Number | Filter Max Life | | filterhours | Number | Filter Hours used | -| usedhours | Number | Run Time | | motorspeed | Number | Motor Speed | +| motorspeed2 | Number | Motor Speed 2 | | filterlife | Number | Filter Life | | favoritelevel | Number | Favorite Level | | temperature | Number | Temperature | -| purifyvolume | Number | Purivied Volume | | childlock | Switch | Child Lock | ### Mi Air Purifier 2 (mini) (zhimi.airpurifier.m1) Channels @@ -1014,6 +1022,33 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | current | Number | Current | | temperature | Number | Temperature | +### Mijia 1 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch01) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| switch1state | Number | Switch 1 | +| switch1name | String | Switch Name 1 | + +### Mijia 2 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch02) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| switch1state | Number | Switch 1 | +| switch2state | Number | Switch 2 | +| switch1name | String | Switch Name 1 | +| switch2name | String | Switch Name 2 | + +### Mijia 3 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch03) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| switch1state | Number | Switch 1 | +| switch2state | Number | Switch 2 | +| switch3state | Number | Switch 3 | +| switch1name | String | Switch Name 1 | +| switch2name | String | Switch Name 2 | +| switch3name | String | Switch Name 3 | + ### Mi Water Purifier v2 (yunmi.waterpuri.v2) Channels | Channel | Type | Description | @@ -1062,7 +1097,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1075,7 +1110,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1088,7 +1123,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1101,7 +1136,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1114,7 +1149,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1128,7 +1163,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | brightness | Number | Brightness | | ambientBrightness | Number | Ambient Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1146,7 +1181,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | brightness | Number | Brightness | | ambientBrightness | Number | Ambient Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1163,7 +1198,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1176,7 +1211,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1189,7 +1224,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1202,7 +1237,20 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| 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 v9 (yeelink.light.ceiling9) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| power | Switch | Power | +| brightness | Number | Brightness | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1216,7 +1264,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | power | Switch | Power | | brightness | Number | Brightness | | ambientBrightness | Number | Ambient Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1227,13 +1275,52 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena | ambientColorMode | Number | Ambient Color Mode | | nightlightBrightness | Number | Nightlight Brightness | +### Yeelight LED Ceiling Lamp v11 (yeelink.light.ceiling11) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| power | Switch | Power | +| brightness | Number | 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 v12 (yeelink.light.ceiling12) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| power | Switch | Power | +| brightness | Number | 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 v13 (yeelink.light.ceiling13) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| power | Switch | Power | +| brightness | Number | 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 | |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1244,7 +1331,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1255,7 +1342,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1266,7 +1353,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1277,7 +1364,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1288,7 +1375,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1299,7 +1386,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1312,7 +1399,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1325,7 +1412,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | Number | Shutdowm Timer | +| delayoff | Number | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | Number | Color Mode | | name | String | Name | @@ -1336,7 +1423,7 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1349,20 +1436,33 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | | rgbColor | Color | RGB Color | | name | String | Name | -### Yeelight Color Bulb (yeelink.light.color3) Channels +### Yeelight Color Bulb YLDP02YL 9W (yeelink.light.color3) Channels | Channel | Type | Description | |------------------|---------|-------------------------------------| | power | Switch | Power | | brightness | Number | Brightness | -| delayoff | String | Shutdowm Timer | +| delayoff | String | Shutdown Timer | +| colorTemperature | Number | Color Temperature | +| colorMode | String | Color Mode | +| toggle | Switch | toggle | +| rgbColor | Color | RGB Color | +| name | String | Name | + +### Yeelight Bulb YLDP13YL (8,5W) (yeelink.light.color4) Channels + +| Channel | Type | Description | +|------------------|---------|-------------------------------------| +| power | Switch | Power | +| brightness | Number | Brightness | +| delayoff | String | Shutdown Timer | | colorTemperature | Number | Color Temperature | | colorMode | String | Color Mode | | toggle | Switch | toggle | @@ -1501,9 +1601,9 @@ 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 "Mi Air Humidifier" +Group G_humidifier "Mi Air Humidifier 2" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} -String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} +String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} Number humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} Number setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} Number bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} @@ -1647,16 +1747,16 @@ String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} Number aqi "Air Quality Index" (G_airpurifier) {channel="miio:basic:airpurifier:aqi"} Number averageaqi "Average Air Quality Index" (G_airpurifier) {channel="miio:basic:airpurifier:averageaqi"} +Number volume "Volume" (G_airpurifier) {channel="miio:basic:airpurifier:volume"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} -Number bright "LED Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:bright"} +Number illuminance "Illuminance" (G_airpurifier) {channel="miio:basic:airpurifier:illuminance"} Number filtermaxlife "Filter Max Life" (G_airpurifier) {channel="miio:basic:airpurifier:filtermaxlife"} Number filterhours "Filter Hours used" (G_airpurifier) {channel="miio:basic:airpurifier:filterhours"} -Number usedhours "Run Time" (G_airpurifier) {channel="miio:basic:airpurifier:usedhours"} Number motorspeed "Motor Speed" (G_airpurifier) {channel="miio:basic:airpurifier:motorspeed"} +Number motorspeed2 "Motor Speed 2" (G_airpurifier) {channel="miio:basic:airpurifier:motorspeed2"} Number filterlife "Filter Life" (G_airpurifier) {channel="miio:basic:airpurifier:filterlife"} Number favoritelevel "Favorite Level" (G_airpurifier) {channel="miio:basic:airpurifier:favoritelevel"} Number temperature "Temperature" (G_airpurifier) {channel="miio:basic:airpurifier:temperature"} -Number purifyvolume "Purivied Volume" (G_airpurifier) {channel="miio:basic:airpurifier:purifyvolume"} Switch childlock "Child Lock" (G_airpurifier) {channel="miio:basic:airpurifier:childlock"} ``` @@ -2340,6 +2440,42 @@ Number current "Current" (G_powerstrip) {channel="miio:basic:powerstrip:current" Number temperature "Temperature" (G_powerstrip) {channel="miio:basic:powerstrip:temperature"} ``` +### Mijia 1 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch01) item file lines + +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 " Mijia 1 Gang Wall Smart Switch (WIFI) - PTX switch" +Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} +String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch1name"} +``` + +### Mijia 2 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch02) item file lines + +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 " Mijia 2 Gang Wall Smart Switch (WIFI) - PTX switch" +Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} +Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} +String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch1name"} +String switch2name "Switch Name 2" (G_switch) {channel="miio:basic:switch:switch2name"} +``` + +### Mijia 3 Gang Wall Smart Switch (WIFI) - PTX switch (090615.switch.xswitch03) item file lines + +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 " Mijia 3 Gang Wall Smart Switch (WIFI) - PTX switch" +Number switch1state "Switch 1" (G_switch) {channel="miio:basic:switch:switch1state"} +Number switch2state "Switch 2" (G_switch) {channel="miio:basic:switch:switch2state"} +Number switch3state "Switch 3" (G_switch) {channel="miio:basic:switch:switch3state"} +String switch1name "Switch Name 1" (G_switch) {channel="miio:basic:switch:switch1name"} +String switch2name "Switch Name 2" (G_switch) {channel="miio:basic:switch:switch2name"} +String switch3name "Switch Name 3" (G_switch) {channel="miio:basic:switch:switch3name"} +``` + ### Mi Water Purifier v2 (yunmi.waterpuri.v2) item file lines 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. @@ -2411,7 +2547,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2427,7 +2563,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2443,7 +2579,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2459,7 +2595,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2475,7 +2611,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v3" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2492,7 +2628,7 @@ Group G_light "Yeelight LED Ceiling Lamp v4 (JIAOYUE 650 RGB)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number ambientBrightness "Ambient Brightness" (G_light) {channel="miio:basic:light:ambientBrightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2513,7 +2649,7 @@ Group G_ceiling4 "Yeelight LED Ceiling Lamp v4" Switch power "Power" (G_ceiling4) {channel="miio:basic:ceiling4:power"} Number brightness "Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:brightness"} Number ambientBrightness "Ambient Brightness" (G_ceiling4) {channel="miio:basic:ceiling4:ambientBrightness"} -Number delayoff "Shutdowm Timer" (G_ceiling4) {channel="miio:basic:ceiling4:delayoff"} +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"} @@ -2533,7 +2669,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v5" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2549,7 +2685,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v6" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2565,7 +2701,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v7" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2581,7 +2717,23 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight LED Ceiling Lamp v8" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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 v9 (yeelink.light.ceiling9) 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 v9" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Number 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"} @@ -2598,7 +2750,7 @@ Group G_light "Yeelight LED Meteorite lamp" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number ambientBrightness "Ambient Brightness" (G_light) {channel="miio:basic:light:ambientBrightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2610,6 +2762,54 @@ Number ambientColorMode "Ambient Color Mode" (G_light) {channel="miio:basic:ligh Number nightlightBrightness "Nightlight Brightness" (G_light) {channel="miio:basic:light:nightlightBrightness"} ``` +### Yeelight LED Ceiling Lamp v11 (yeelink.light.ceiling11) 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 v11" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Number 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 v12 (yeelink.light.ceiling12) 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 v12" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Number 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 v13 (yeelink.light.ceiling13) 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 v13" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Number 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 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. @@ -2618,7 +2818,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight ct2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2632,7 +2832,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight White Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2646,7 +2846,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight White Bulb v2" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2660,7 +2860,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2674,7 +2874,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2688,7 +2888,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2702,7 +2902,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Strip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2718,7 +2918,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Strip" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2734,7 +2934,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -Number delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +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"} @@ -2748,7 +2948,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Color Bulb" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2764,7 +2964,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Yeelight Color Bulb YLDP06YL 10W" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} @@ -2772,15 +2972,31 @@ Color rgbColor "RGB Color" (G_light) {channel="miio:basic:light:rgbColor"} String name "Name" (G_light) {channel="miio:basic:light:name"} ``` -### Yeelight Color Bulb (yeelink.light.color3) item file lines +### Yeelight Color Bulb YLDP02YL 9W (yeelink.light.color3) 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 Color Bulb" +Group G_light "Yeelight Color Bulb YLDP02YL 9W" +Switch power "Power" (G_light) {channel="miio:basic:light:power"} +Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +String 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 Bulb YLDP13YL (8,5W) (yeelink.light.color4) 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 Bulb YLDP13YL (8,5W)" Switch power "Power" (G_light) {channel="miio:basic:light:power"} Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} -String delayoff "Shutdowm Timer" (G_light) {channel="miio:basic:light:delayoff"} +String 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"} 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 59d2799511e66..4e01440ea7a9e 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 @@ -113,6 +113,9 @@ public enum MiIoDevices { ROBOROCK_VACUUM_C1("roborock.vacuum.c1", "roborock.vacuum.c1", THING_TYPE_UNSUPPORTED), SWEEPER2("roborock.sweeper.e2v2", "Rockrobo Xiaowa Sweeper v2", THING_TYPE_UNSUPPORTED), SWEEPER3("roborock.sweeper.e2v3", "Rockrobo Xiaowa Sweeper v3", THING_TYPE_UNSUPPORTED), + SWITCH01("090615.switch.xswitch01", " Mijia 1 Gang Wall Smart Switch (WIFI) - PTX switch", THING_TYPE_BASIC), + SWITCH02("090615.switch.xswitch02", " Mijia 2 Gang Wall Smart Switch (WIFI) - PTX switch", THING_TYPE_BASIC), + SWITCH03("090615.switch.xswitch03", " Mijia 3 Gang Wall Smart Switch (WIFI) - PTX switch", THING_TYPE_BASIC), WATER_PURIFIER2("yunmi.waterpuri.v2", "Mi Water Purifier v2", THING_TYPE_BASIC), WATER_PURIFIERLX2("yunmi.waterpuri.lx2", "Mi Water Purifier lx2", THING_TYPE_BASIC), WATER_PURIFIERLX3("yunmi.waterpuri.lx3", "Mi Water Purifier lx3", THING_TYPE_BASIC), @@ -133,7 +136,11 @@ public enum MiIoDevices { YEELIGHT_CEIL6("yeelink.light.ceiling6", "Yeelight LED Ceiling Lamp v6", THING_TYPE_BASIC), YEELIGHT_CEIL7("yeelink.light.ceiling7", "Yeelight LED Ceiling Lamp v7", THING_TYPE_BASIC), YEELIGHT_CEIL8("yeelink.light.ceiling8", "Yeelight LED Ceiling Lamp v8", THING_TYPE_BASIC), + YEELIGHT_CEIL9("yeelink.light.ceiling9", "Yeelight LED Ceiling Lamp v9", THING_TYPE_BASIC), YEELIGHT_CEIL10("yeelink.light.ceiling10", "Yeelight LED Meteorite lamp", THING_TYPE_BASIC), + 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_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), @@ -146,7 +153,8 @@ public enum MiIoDevices { 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_WONDER("yeelink.light.color3", "Yeelight Color Bulb", 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), 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/090615.switch.xswitch01.json b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch01.json new file mode 100644 index 0000000000000..1dca485db1aef --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch01.json @@ -0,0 +1,39 @@ +{ + "deviceMapping": { + "id": [ + "090615.switch.xswitch01" + ], + "propertyMethod": "get_prop", + "maxProperties": 1, + "channels": [ + { + "property": "switch1", + "friendlyName": "Switch 1", + "channel": "switch1state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch1", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switchname1", + "friendlyName": "Switch Name 1", + "channel": "switch1name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname1", + "parameterType": "STRING" + } + ] + } + ] + } +} diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch02.json b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch02.json new file mode 100644 index 0000000000000..86384ad68ea9d --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch02.json @@ -0,0 +1,67 @@ +{ + "deviceMapping": { + "id": [ + "090615.switch.xswitch02" + ], + "propertyMethod": "get_prop", + "maxProperties": 1, + "channels": [ + { + "property": "switch1", + "friendlyName": "Switch 1", + "channel": "switch1state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch1", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switch2", + "friendlyName": "Switch 2", + "channel": "switch2state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch2", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switchname1", + "friendlyName": "Switch Name 1", + "channel": "switch1name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname1", + "parameterType": "STRING" + } + ] + }, + { + "property": "switchname2", + "friendlyName": "Switch Name 2", + "channel": "switch2name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname2", + "parameterType": "STRING" + } + ] + } + ] + } +} diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch03.json b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch03.json new file mode 100644 index 0000000000000..e24e64db7f29c --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/090615.switch.xswitch03.json @@ -0,0 +1,95 @@ +{ + "deviceMapping": { + "id": [ + "090615.switch.xswitch03" + ], + "propertyMethod": "get_prop", + "maxProperties": 1, + "channels": [ + { + "property": "switch1", + "friendlyName": "Switch 1", + "channel": "switch1state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch1", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switch2", + "friendlyName": "Switch 2", + "channel": "switch2state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch2", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switch3", + "friendlyName": "Switch 3", + "channel": "switch3state", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwitch3", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "switchname1", + "friendlyName": "Switch Name 1", + "channel": "switch1name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname1", + "parameterType": "STRING" + } + ] + }, + { + "property": "switchname2", + "friendlyName": "Switch Name 2", + "channel": "switch2name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname2", + "parameterType": "STRING" + } + ] + }, + { + "property": "switchname3", + "friendlyName": "Switch Name 3", + "channel": "switch3name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "SetSwtichname3", + "parameterType": "STRING" + } + ] + } + ] + } +} 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 new file mode 100644 index 0000000000000..60c67f399f02f --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3fw.json @@ -0,0 +1,60 @@ +{ + "deviceMapping": { + "id": [ + "chuangmi.plug.v3fw" + ], + "channels": [ + { + "property": "power", + "friendlyName": "Power", + "channel": "power", + "type": "Switch", + "refresh": true, + "ChannelGroup": "", + "actions": [ + { + "command": "set_power", + "parameterType": "ONOFF" + } + ] + }, + { + "property": "usb_on", + "friendlyName": "USB", + "channel": "usb", + "type": "Switch", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_usb_*", + "parameterType": "ONOFFPARA" + } + ] + }, + { + "property": "temperature", + "friendlyName": "Temperature", + "channel": "temperature", + "type": "Number", + "refresh": true, + "ChannelGroup": "", + "actions": [] + }, + { + "property": "wifi_led", + "friendlyName": "Wifi LED", + "channel": "led", + "type": "Switch", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_wifi_led", + "parameterType": "ONOFF" + } + ] + } + ] + } +} 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 91fd49c22161d..114c609013e88 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 @@ -1,119 +1,123 @@ { - "deviceMapping": { - "id": [ - "yeelink.light.ceiling1", - "yeelink.light.ceiling3", - "yeelink.light.ceiling5", - "yeelink.light.ceiling6", - "yeelink.light.ceiling7", - "yeelink.light.ceiling8" - ], - "channels": [ - { - "property": "power", - "friendlyName": "Power", - "channel": "power", - "type": "Switch", - "refresh": true, - "ChannelGroup": "", - "actions": [ - { - "command": "set_power", - "parameterType": "ONOFF" - } - ] - }, - { - "property": "bright", - "friendlyName": "Brightness", - "channel": "brightness", - "type": "Number", - "refresh": true, - "ChannelGroup": "actions", - "actions": [ - { - "command": "set_bright", - "parameterType": "NUMBER" - } - ] - }, - { - "property": "delayoff", - "friendlyName": "Shutdowm Timer", - "channel": "delayoff", - "type": "Number", - "refresh": true, - "ChannelGroup": "actions", - "actions": [ - { - "command": "cron_add", - "parameterType": "NUMBER", - "preCommandParameter1": "0" - } - ] - }, - { - "property": "ct", - "friendlyName": "Color Temperature", - "channel": "colorTemperature", - "type": "Number", - "refresh": true, - "ChannelGroup": "actions", - "actions": [ - { - "command": "set_ct_abx", - "parameterType": "NUMBER", - "parameter1": "\"smooth\"", - "parameter2": "500" - } - ] - }, - { - "property": "color_mode", - "friendlyName": "Color Mode", - "channel": "colorMode", - "type": "Number", - "refresh": true, - "ChannelGroup": "", - "actions": [] - }, - { - "property": "name", - "friendlyName": "Name", - "channel": "name", - "type": "String", - "refresh": true, - "ChannelGroup": "actions", - "actions": [ - { - "command": "set_name", - "parameterType": "STRING" - } - ] - }, - { - "property": "", - "friendlyName": "Set Scene", - "channel": "customScene", - "type": "String", - "refresh": false, - "ChannelGroup": "actions", - "actions": [ - { - "command": "set_scene", - "parameterType": "CUSTOMSTRING" - } - ] - }, - { - "property": "nl_br", - "friendlyName": "Nightlight Brightness", - "channel": "nightlightBrightness", - "type": "Number", - "refresh": true, - "ChannelGroup": "", - "actions": [] - } - ] - } + "deviceMapping": { + "id": [ + "yeelink.light.ceiling1", + "yeelink.light.ceiling3", + "yeelink.light.ceiling5", + "yeelink.light.ceiling6", + "yeelink.light.ceiling7", + "yeelink.light.ceiling8", + "yeelink.light.ceiling9", + "yeelink.light.ceiling11", + "yeelink.light.ceiling12", + "yeelink.light.ceiling13" + ], + "channels": [ + { + "property": "power", + "friendlyName": "Power", + "channel": "power", + "type": "Switch", + "refresh": true, + "ChannelGroup": "", + "actions": [ + { + "command": "set_power", + "parameterType": "ONOFF" + } + ] + }, + { + "property": "bright", + "friendlyName": "Brightness", + "channel": "brightness", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_bright", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "delayoff", + "friendlyName": "Shutdown Timer", + "channel": "delayoff", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "cron_add", + "parameterType": "NUMBER", + "preCommandParameter1": "0" + } + ] + }, + { + "property": "ct", + "friendlyName": "Color Temperature", + "channel": "colorTemperature", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_ct_abx", + "parameterType": "NUMBER", + "parameter1": "\"smooth\"", + "parameter2": "500" + } + ] + }, + { + "property": "color_mode", + "friendlyName": "Color Mode", + "channel": "colorMode", + "type": "Number", + "refresh": true, + "ChannelGroup": "", + "actions": [] + }, + { + "property": "name", + "friendlyName": "Name", + "channel": "name", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_name", + "parameterType": "STRING" + } + ] + }, + { + "property": "", + "friendlyName": "Set Scene", + "channel": "customScene", + "type": "String", + "refresh": false, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_scene", + "parameterType": "CUSTOMSTRING" + } + ] + }, + { + "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.ceiling2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling2.json index def9388e670c4..0f1a9b9c5ed1b 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 @@ -34,7 +34,7 @@ }, { "property": "delayoff", - "friendlyName": "Shutdowm Timer", + "friendlyName": "Shutdown Timer", "channel": "delayoff", "type": "Number", "refresh": true, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json index 98f323ffdb35e..73df1b7a794e4 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json @@ -50,7 +50,7 @@ }, { "property": "delayoff", - "friendlyName": "Shutdowm Timer", + "friendlyName": "Shutdown Timer", "channel": "delayoff", "type": "Number", "refresh": true, 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 787f2a5d4af14..fd88b124042d3 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 @@ -4,6 +4,7 @@ "yeelink.light.color1", "yeelink.light.color2", "yeelink.light.color3", + "yeelink.light.color4", "yeelink.light.strip1", "yeelink.light.strip2", "yeelink.light.bslamp1", @@ -40,7 +41,7 @@ }, { "property": "delayoff", - "friendlyName": "Shutdowm Timer", + "friendlyName": "Shutdown Timer", "channel": "delayoff", "type": "String", "refresh": true, 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 0a17ebf24a846..b64b4fda9c506 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 @@ -40,7 +40,7 @@ }, { "property": "delayoff", - "friendlyName": "Shutdowm Timer", + "friendlyName": "Shutdown Timer", "channel": "delayoff", "type": "Number", "refresh": true, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json index 5e6d3c89f964f..def82bf358652 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v6.json @@ -2,7 +2,6 @@ "deviceMapping": { "id": [ "zhimi.airpurifier.v6", - "zhimi.airpurifier.v7", "zhimi.airpurifier.ma2" ], "channels": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json new file mode 100644 index 0000000000000..69e672f4cd54d --- /dev/null +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v7.json @@ -0,0 +1,180 @@ +{ + "deviceMapping": { + "id": [ + "zhimi.airpurifier.v7" + ], + "channels": [ + { + "property": "power", + "friendlyName": "Power", + "channel": "power", + "type": "Switch", + "refresh": true, + "channelGroup": "actions", + "actions": [ + { + "command": "set_power", + "parameterType": "ONOFF" + } + ] + }, + { + "property": "mode", + "friendlyName": "Mode", + "channel": "mode", + "type": "String", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_mode", + "parameterType": "STRING" + } + ] + }, + { + "property": "humidity", + "friendlyName": "Humidity", + "channel": "humidity", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "aqi", + "friendlyName": "Air Quality Index", + "channel": "aqi", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "average_aqi", + "friendlyName": "Average Air Quality Index", + "channel": "averageaqi", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "volume", + "friendlyName": "Volume", + "channel": "volume", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "led", + "friendlyName": "LED Status", + "channel": "led", + "type": "Switch", + "refresh": true, + "ChannelGroup": "actions", + "actions": [ + { + "command": "set_led", + "parameterType": "ONOFF" + } + ] + }, + { + "property": "bright", + "friendlyName": "Illuminance", + "channel": "illuminance", + "type": "Number", + "refresh": true, + "ChannelGroup": "actions", + "actions": [] + }, + { + "property": "f1_hour", + "friendlyName": "Filter Max Life", + "channel": "filtermaxlife", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "f1_hour_used", + "friendlyName": "Filter Hours used", + "channel": "filterhours", + "type": "Number", + "refresh": true, + "transformation": "SecondsToHours", + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "motor1_speed", + "friendlyName": "Motor Speed", + "channel": "motorspeed", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "motor2_speed", + "friendlyName": "Motor Speed 2", + "channel": "motorspeed2", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "filter1_life", + "friendlyName": "Filter Life", + "channel": "filterlife", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "favorite_level", + "friendlyName": "Favorite Level", + "channel": "favoritelevel", + "type": "Number", + "refresh": true, + "ChannelGroup": "Status", + "actions": [ + { + "command": "set_level_favorite", + "parameterType": "NUMBER" + } + ] + }, + { + "property": "temp_dec", + "friendlyName": "Temperature", + "channel": "temperature", + "type": "Number", + "refresh": true, + "transformation": "/10", + "ChannelGroup": "Status", + "actions": [] + }, + { + "property": "child_lock", + "friendlyName": "Child Lock", + "channel": "childlock", + "type": "Switch", + "refresh": true, + "ChannelGroup": "Status", + "actions": [ + { + "command": "set_child_lock", + "parameterType": "ONOFF" + } + ] + } + ] + } +} 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 62c9cc0b17090..6170dd7f48332 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 @@ -20,7 +20,7 @@ }, { "property": "mode", - "friendlyName": "Mode", + "friendlyName": "Humidifier Mode", "channel": "humidifierMode", "type": "String", "refresh": true,