diff --git a/bundles/org.openhab.binding.miio/README.base.md b/bundles/org.openhab.binding.miio/README.base.md index baf7fff1f65e2..ef961445789a3 100644 --- a/bundles/org.openhab.binding.miio/README.base.md +++ b/bundles/org.openhab.binding.miio/README.base.md @@ -85,10 +85,6 @@ or in case of unknown models include the model information of a similar device t `Thing miio:vacuum:s50 "vacuum" @ "livingroom" [ host="192.168.15.20", token="xxxxxxx", deviceId=“0470DDAA”, model="roborock.vacuum.s4", communication="cloud"]` -# Mi IO Devices - -!!!devices - # Advanced: Unsupported devices Newer devices may not yet be supported. @@ -118,7 +114,7 @@ After validation, please share the logfile and json files on the openHAB forum o Things using the basic handler (miio:basic things) are driven by json 'database' files. This instructs the binding which channels to create, which properties and actions are associated with the channels etc. -The conf/misc/miio (e.g. in Linux `/opt/openhab2/conf/misc/miio/`) is scanned for database files and will be used for your devices. +The conf/misc/miio (e.g. in Linux `/opt/openhab/conf/misc/miio/`) is scanned for database files and will be used for your devices. During the start of the binding the exact path used in your system will be printed in the debug log. Watch for a line containing `Started miio basic devices local databases watch service. Watching for database files at path: …` If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files. @@ -168,6 +164,9 @@ This won't work, the Roborock app is using a different communication method. Reset your vacuum and connect it to the Xiaomi MiHome app. This will change the communication method and the Mi IO binding can communicate with the vacuum. +# Mi IO Devices + +!!!devices # Channels diff --git a/bundles/org.openhab.binding.miio/README.md b/bundles/org.openhab.binding.miio/README.md index 9f87413415a6b..648b7049ac059 100644 --- a/bundles/org.openhab.binding.miio/README.md +++ b/bundles/org.openhab.binding.miio/README.md @@ -85,6 +85,85 @@ or in case of unknown models include the model information of a similar device t `Thing miio:vacuum:s50 "vacuum" @ "livingroom" [ host="192.168.15.20", token="xxxxxxx", deviceId=“0470DDAA”, model="roborock.vacuum.s4", communication="cloud"]` +# Advanced: Unsupported devices + +Newer devices may not yet be supported. +However, many devices share large similarities with existing devices. +The binding allows to try/test if your new device is working with database files of older devices as well. + +There are 2 ways to get unsupported devices working, by overriding the model with the model of a supported item or by test all known properties to see which are supported by your device. + +## Substitute model for unsupported devices + +Replace the model with the model which is already supported. +For this, first remove your unsupported thing. Manually add a miio:basic thing. +Besides the regular configuration (like ip address, token) the modelId needs to be provided. +Normally the modelId is populated with the model of your device, however in this case, use the modelId of a similar device. +Look at the openHAB forum, or the openHAB GitHub repository for the modelId of similar devices. + +## Supported property test for unsupported devices + +The unsupported device has a test channel with switch. When switching on, all known properties are tested, this may take few minutes. +A test report will be shown in the log and is saved in the `userdata/miio` folder with a filename `test-[your model]-[timestamp].txt`. +If supported properties are found, an experimental database file is saved to the conf/misc/miio folder (see below chapter). +The thing will go offline and will come back online as basic device, supporting the found channels. +The database file may need to be modified to display the right channel names. +After validation, please share the logfile and json files on the openHAB forum or the openHAB GitHub to build future support for this model. + +## Advanced: adding local database files to support new devices + +Things using the basic handler (miio:basic things) are driven by json 'database' files. +This instructs the binding which channels to create, which properties and actions are associated with the channels etc. +The conf/misc/miio (e.g. in Linux `/opt/openhab/conf/misc/miio/`) is scanned for database files and will be used for your devices. +During the start of the binding the exact path used in your system will be printed in the debug log. +Watch for a line containing `Started miio basic devices local databases watch service. Watching for database files at path: …` +If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files. +Note that local database files take preference over build-in ones, hence if a json file is local and in the database the local file will be used. +For format, please check the current database files in openHAB GitHub. + +# FAQ.. what to do in case of problems + +If your device is not getting online: + +_Are you using text config?_ +Make sure you define all the fields as per above example. +Or, better, try to get it going first without text config. + +_The token is wrong_ +The most common cause of non responding devices is a wrong token. +When you reset, or change wifi or update firmware, and possibly other cases as well, the token may change. You'll need to get a refreshed token. + +_My token is coming from the cloud... how can it be wrong?_ +Is not very likely but still can happen._ +This can happen e.g. if your device is defined on multiple country servers. +The binding may pull the token from the wrong country server. +First try to get the token from all country servers by leave the county setting empty. +If that does not solve it, you define only the country that the device is on in the binding config page (where the cloud userid/pwd is entered) this should pull the right token. + +_You have the same device added multiple times._ +The communication each time send a sequential number. +If the device is twice defined, the numbers received by the device are no longer sequential and it will stop responding for some time. + +_The connection is not too good, so you have timeouts etc._ +Position your device closer to wifi / check in the mihome app if the wifi strength is good enough. +Alternatively as described above, double check for multiple connections for single device. + +_Your device is on a different subnet?_ +This is in most cases not working. +Firmware of the device don't accept commands coming from other subnets. +Set the communication in the thing configuration to 'cloud'. + +_Cloud connectivity is not working_ +The most common problem is a wrong userId/password. Try to fix your userId/password. +If it still fails, you're bit out of luck. You may try to restart OpenHAB (not just the binding) to clean the cookies. +As the cloud logon process is still little understood, your only luck might be to enable trace logging and see if you can translate the Chinese error code that it returns. + +_My Roborock vacuum is not found or not reacting_ +Did you link the vacuum with the Roborock app? +This won't work, the Roborock app is using a different communication method. +Reset your vacuum and connect it to the Xiaomi MiHome app. +This will change the communication method and the Mi IO binding can communicate with the vacuum. + # Mi IO Devices Currently the miio binding supports more than 250 different models. @@ -378,86 +457,6 @@ Currently the miio binding supports more than 250 different models. | Smartmi Smart Convector Heater 1S | miio:basic | [zhimi.heater.zb1](#zhimi-heater-zb1) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses | -# Advanced: Unsupported devices - -Newer devices may not yet be supported. -However, many devices share large similarities with existing devices. -The binding allows to try/test if your new device is working with database files of older devices as well. - -There are 2 ways to get unsupported devices working, by overriding the model with the model of a supported item or by test all known properties to see which are supported by your device. - -## Substitute model for unsupported devices - -Replace the model with the model which is already supported. -For this, first remove your unsupported thing. Manually add a miio:basic thing. -Besides the regular configuration (like ip address, token) the modelId needs to be provided. -Normally the modelId is populated with the model of your device, however in this case, use the modelId of a similar device. -Look at the openHAB forum, or the openHAB GitHub repository for the modelId of similar devices. - -## Supported property test for unsupported devices - -The unsupported device has a test channel with switch. When switching on, all known properties are tested, this may take few minutes. -A test report will be shown in the log and is saved in the `userdata/miio` folder with a filename `test-[your model]-[timestamp].txt`. -If supported properties are found, an experimental database file is saved to the conf/misc/miio folder (see below chapter). -The thing will go offline and will come back online as basic device, supporting the found channels. -The database file may need to be modified to display the right channel names. -After validation, please share the logfile and json files on the openHAB forum or the openHAB GitHub to build future support for this model. - -## Advanced: adding local database files to support new devices - -Things using the basic handler (miio:basic things) are driven by json 'database' files. -This instructs the binding which channels to create, which properties and actions are associated with the channels etc. -The conf/misc/miio (e.g. in Linux `/opt/openhab/conf/misc/miio/`) is scanned for database files and will be used for your devices. -During the start of the binding the exact path used in your system will be printed in the debug log. -Watch for a line containing `Started miio basic devices local databases watch service. Watching for database files at path: …` -If this folder is created after the start of the binding, you may need to restart the binding (or openHAB) to be able to use the local files. -Note that local database files take preference over build-in ones, hence if a json file is local and in the database the local file will be used. -For format, please check the current database files in openHAB GitHub. - -# FAQ.. what to do in case of problems - -If your device is not getting online: - -_Are you using text config?_ -Make sure you define all the fields as per above example. -Or, better, try to get it going first without text config. - -_The token is wrong_ -The most common cause of non responding devices is a wrong token. -When you reset, or change wifi or update firmware, and possibly other cases as well, the token may change. You'll need to get a refreshed token. - -_My token is coming from the cloud... how can it be wrong?_ -Is not very likely but still can happen._ -This can happen e.g. if your device is defined on multiple country servers. -The binding may pull the token from the wrong country server. -First try to get the token from all country servers by leave the county setting empty. -If that does not solve it, you define only the country that the device is on in the binding config page (where the cloud userid/pwd is entered) this should pull the right token. - -_You have the same device added multiple times._ -The communication each time send a sequential number. -If the device is twice defined, the numbers received by the device are no longer sequential and it will stop responding for some time. - -_The connection is not too good, so you have timeouts etc._ -Position your device closer to wifi / check in the mihome app if the wifi strength is good enough. -Alternatively as described above, double check for multiple connections for single device. - -_Your device is on a different subnet?_ -This is in most cases not working. -Firmware of the device don't accept commands coming from other subnets. -Set the communication in the thing configuration to 'cloud'. - -_Cloud connectivity is not working_ -The most common problem is a wrong userId/password. Try to fix your userId/password. -If it still fails, you're bit out of luck. You may try to restart OpenHAB (not just the binding) to clean the cookies. -As the cloud logon process is still little understood, your only luck might be to enable trace logging and see if you can translate the Chinese error code that it returns. - -_My Roborock vacuum is not found or not reacting_ -Did you link the vacuum with the Roborock app? -This won't work, the Roborock app is using a different communication method. -Reset your vacuum and connect it to the Xiaomi MiHome app. -This will change the communication method and the Mi IO binding can communicate with the vacuum. - - # Channels Depending on the device, different channels are available. @@ -498,7 +497,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | pm25 | Number | PM2.5 | | | co2 | Number | CO2e | | | tvoc | Number | tVOC | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | temperature | Number:Temperature | Temperature | | ### Qingping Air Monitor (cgllc.airmonitor.s1) Channels @@ -509,7 +508,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | pm25 | Number | PM2.5 | | | co2 | Number | CO2 | | | tvoc | Number | tVOC | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | temperature | Number:Temperature | Temperature | | ### Smartmi Humidifier (zhimi.humidifier.v1) Channels @@ -518,11 +517,11 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | setHumidity | Number | Humidity Set | | | aqi | Number | Air Quality Index | | | translevel | Number | Trans_level | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | depth | Number | Depth | | | dry | Switch | Dry | | @@ -537,11 +536,11 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | setHumidity | Number | Humidity Set | | | aqi | Number | Air Quality Index | | | translevel | Number | Trans_level | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | depth | Number | Depth | | | dry | Switch | Dry | | @@ -557,10 +556,10 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | power | Switch | Power | | | mode | Number | Mode | | | Fault | Number | Humidifier Device Fault | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | targetHumidity | Number | Target Humidity | | | waterlevel | Number | Water Level | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | dry | Switch | Dry | | | usedhours | Number:Time | Run Time | | @@ -579,9 +578,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | humidifierMode | String | Humidifier Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | setHumidity | Number | Humidity Set | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | buzzer | Switch | Buzzer Status | | | depth | Number | Depth | | | dry | Switch | Dry | | @@ -596,7 +595,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -617,7 +616,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -638,7 +637,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -659,7 +658,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -680,11 +679,11 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | filtermaxlife | Number | Filter Max Life | | | filterhours | Number:Time | Filter Hours used | | | usedhours | Number:Time | Run Time | | @@ -701,7 +700,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | volume | Number | Volume | | @@ -722,7 +721,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -743,7 +742,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -764,7 +763,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -785,11 +784,11 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | -| bright | Number | LED Brightness | | +| bright | Dimmer | LED Brightness | | | filtermaxlife | Number | Filter Max Life | | | filterhours | Number:Time | Filter Hours used | | | usedhours | Number:Time | Run Time | | @@ -925,7 +924,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -946,7 +945,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -1094,7 +1093,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -1115,7 +1114,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -1136,7 +1135,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | mode | String | Mode | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | aqi | Number | Air Quality Index | | | averageaqi | Number | Average Air Quality Index | | | led | Switch | LED Status | | @@ -1167,7 +1166,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | speed | Number | Speed | | | naturalLevel | Number | Natural Level | | | temp_dec | Number | Temperature | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | acPower | String | AC Power | | | mode | String | Battery Charge | | | battery | Number | Battery | | @@ -1189,7 +1188,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | speed | Number | Speed | | | naturalLevel | Number | Natural Level | | | temp_dec | Number | Temperature | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | acPower | String | AC Power | | | mode | String | Battery Charge | | | battery | Number | Battery | | @@ -1211,7 +1210,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | speed | Number | Speed | | | naturalLevel | Number | Natural Level | | | temp_dec | Number | Temperature | | -| humidity | Number | Humidity | | +| humidity | Number:Dimensionless | Humidity | | | acPower | String | AC Power | | | mode | String | Battery Charge | | | battery | Number | Battery | | @@ -1455,7 +1454,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | mode | Number | Fan - Mode | Value mapping ["0"="Basic","1"="Natural Wind"] | | time-off | Number:Time | Presets - Time Off | | | pre-colortemp | Number:Temperature | Presets - Pre Colortemp | | -| pre-brightness | Number:Dimensionless | Presets - Pre Brightness | | +| pre-brightness | Dimmer | Presets - Pre Brightness | | | pre-speed | Number:Dimensionless | Presets - Pre Speed | | | reversal | Number | Presets - Reversal | Value mapping ["0"="Postitive","1"="Reverse"] | | pre-custom | Number | Presets - Pre Custom | Value mapping ["0"="Switch Off","1"="Open"] | @@ -1968,7 +1967,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -1983,7 +1982,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -1998,7 +1997,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2013,7 +2012,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2028,7 +2027,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2043,7 +2042,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2058,7 +2057,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2073,7 +2072,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2088,7 +2087,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2103,7 +2102,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2118,7 +2117,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2133,7 +2132,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2148,7 +2147,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | | mode | Number | Mode | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | cct | Number | Color Temperature | | | dv | Number | Delayed Turn-off | | | WallSceneEn | Switch | Wall Scene Enable | | @@ -2724,13 +2723,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2741,13 +2740,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2758,13 +2757,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2775,13 +2774,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2792,13 +2791,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2809,13 +2808,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["1"="Cool","2"="Dry","3"="Heat","4"="Fan"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | | dryer | Switch | Air Conditioner - Dryer | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2826,13 +2825,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2850,13 +2849,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2874,13 +2873,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2898,13 +2897,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2922,13 +2921,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2946,13 +2945,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2970,13 +2969,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -2994,13 +2993,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3018,13 +3017,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3042,13 +3041,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3066,13 +3065,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3090,13 +3089,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3114,13 +3113,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3138,13 +3137,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3162,13 +3161,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3186,13 +3185,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3210,13 +3209,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3234,13 +3233,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3258,13 +3257,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3282,13 +3281,13 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| | on | Switch | Power | | -| mode | Number | Air Conditioner - Mode | Value mapping [2="Cool",3="Dry",4="Fan",5="Heat"] | +| mode | Number | Air Conditioner - Mode | Value mapping ["2"="Cool","3"="Dry","4"="Fan","5"="Heat"] | | target-temperature | Number:Temperature | Air Conditioner - Target Temperature | | | eco | Switch | Air Conditioner - Eco | | | heater | Switch | Air Conditioner - Heater | | | dryer | Switch | Air Conditioner - Dryer | | | sleep-mode | Switch | Air Conditioner - Sleep Mode | | -| fan-level | Number | Fan Control - Fan Level | Value mapping [0="Auto",1="Level1",2="Level2",3="Level3",4="Level4",5="Level5",6="Level6",7="Level7"] | +| fan-level | Number | Fan Control - Fan Level | Value mapping ["0"="Auto","1"="Level1","2"="Level2","3"="Level3","4"="Level4","5"="Level5","6"="Level6","7"="Level7"] | | vertical-swing | Switch | Fan Control - Vertical Swing | | | temperature | Number:Temperature | Environment - Temperature | | | alarm | Switch | Alarm - Alarm | | @@ -3305,40 +3304,40 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| seat_temp | Number | Seat Temperature | | +| seat_temp | Number:Temperature | Seat Temperature | | | status_seatheat | Number | Seat Status | | -| water_temp_t | Number | Water Temperature | | -| fan_temp | Number | Fan Temperature | | +| water_temp_t | Number:Temperature | Water Temperature | | +| fan_temp | Number:Temperature | Fan Temperature | | | status_led | Number | Night Light | | ### Uclean smart toilet relax (xjx.toilet.relax) Channels | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| seat_temp | Number | Seat Temperature | | +| seat_temp | Number:Temperature | Seat Temperature | | | status_seatheat | Number | Seat Status | | -| water_temp_t | Number | Water Temperature | | -| fan_temp | Number | Fan Temperature | | +| water_temp_t | Number:Temperature | Water Temperature | | +| fan_temp | Number:Temperature | Fan Temperature | | | status_led | Number | Night Light | | ### Uclean smart toilet pure (xjx.toilet.pure) Channels | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| seat_temp | Number | Seat Temperature | | +| seat_temp | Number:Temperature | Seat Temperature | | | status_seatheat | Number | Seat Status | | -| water_temp_t | Number | Water Temperature | | -| fan_temp | Number | Fan Temperature | | +| water_temp_t | Number:Temperature | Water Temperature | | +| fan_temp | Number:Temperature | Fan Temperature | | | status_led | Number | Night Light | | ### Whale Spout Smart Toilet Zero (xjx.toilet.zero) Channels | Channel | Type | Description | Comment | |------------------|---------|-------------------------------------|------------| -| seat_temp | Number | Seat Temperature | | +| seat_temp | Number:Temperature | Seat Temperature | | | status_seatheat | Number | Seat Status | | -| water_temp_t | Number | Water Temperature | | -| fan_temp | Number | Fan Temperature | | +| water_temp_t | Number:Temperature | Water Temperature | | +| fan_temp | Number:Temperature | Fan Temperature | | | status_led | Number | Night Light | | ### Mi Bedside Lamp (yeelink.light.bslamp1) Channels @@ -4058,9 +4057,9 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl |------------------|---------|-------------------------------------|------------| | power | Switch | Power | | | target_temperature | Number:Temperature | Target Temperature | | -| brightness | Number | Brightness | | +| brightness | Dimmer | Brightness | | | buzzer | Switch | Buzzer Status | | -| relative_humidity | Number | Relative Humidity | | +| relative_humidity | Number:Dimensionless | Relative Humidity | | | childlock | Switch | Child Lock | | | HWSwitch | Switch | HW Switch | | | temperature | Number:Temperature | Temperature | | @@ -4075,7 +4074,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | target-temperature | Number:Temperature | Heater - Target Temperature | | | alarm | Switch | Alarm - Alarm | | | countdown-time | Number:Time | Countdown - Countdown Time | | -| relative-humidity | Number | Environment - Relative Humidity | | +| relative-humidity | Number:Dimensionless | Environment - Relative Humidity | | | temperature | Number:Temperature | Environment - Temperature | | | brightness | Dimmer | Indicator Light - Brightness | | | physical-controls-locked | Switch | Physical Control Locked - Physical Controls Locked | | @@ -4090,7 +4089,7 @@ e.g. `openhab:send actionCommand 'upd_timer["1498595904821", "on"]'` would enabl | target-temperature | Number:Temperature | Heater - Target Temperature | | | alarm | Switch | Alarm - Alarm | | | countdown-time | Number:Time | Countdown - Countdown Time | | -| relative-humidity | Number | Environment - Relative Humidity | | +| relative-humidity | Number:Dimensionless | Environment - Relative Humidity | | | temperature | Number:Temperature | Environment - Temperature | | | brightness | Dimmer | Indicator Light - Brightness | | | physical-controls-locked | Switch | Physical Control Locked - Physical Controls Locked | | @@ -4187,7 +4186,7 @@ Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery" Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} Number co2 "CO2e" (G_airmonitor) {channel="miio:basic:airmonitor:co2"} Number tvoc "tVOC" (G_airmonitor) {channel="miio:basic:airmonitor:tvoc"} -Number humidity "Humidity" (G_airmonitor) {channel="miio:basic:airmonitor:humidity"} +Number:Dimensionless humidity "Humidity" (G_airmonitor) {channel="miio:basic:airmonitor:humidity"} Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic:airmonitor:temperature"} ``` @@ -4201,7 +4200,7 @@ Number battery "Battery" (G_airmonitor) {channel="miio:basic:airmonitor:battery" Number pm25 "PM2.5" (G_airmonitor) {channel="miio:basic:airmonitor:pm25"} Number co2 "CO2" (G_airmonitor) {channel="miio:basic:airmonitor:co2"} Number tvoc "tVOC" (G_airmonitor) {channel="miio:basic:airmonitor:tvoc"} -Number humidity "Humidity" (G_airmonitor) {channel="miio:basic:airmonitor:humidity"} +Number:Dimensionless humidity "Humidity" (G_airmonitor) {channel="miio:basic:airmonitor:humidity"} Number:Temperature temperature "Temperature" (G_airmonitor) {channel="miio:basic:airmonitor:temperature"} ``` @@ -4213,11 +4212,11 @@ note: Autogenerated example. Replace the id (humidifier) in the channel with you Group G_humidifier "Smartmi Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} -Number humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} Number setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} Number aqi "Air Quality Index" (G_humidifier) {channel="miio:basic:humidifier:aqi"} Number translevel "Trans_level" (G_humidifier) {channel="miio:basic:humidifier:translevel"} -Number bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} @@ -4235,11 +4234,11 @@ note: Autogenerated example. Replace the id (humidifier) in the channel with you Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} -Number humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} Number setHumidity "Humidity Set" (G_humidifier) {channel="miio:basic:humidifier:setHumidity"} Number aqi "Air Quality Index" (G_humidifier) {channel="miio:basic:humidifier:aqi"} Number translevel "Trans_level" (G_humidifier) {channel="miio:basic:humidifier:translevel"} -Number bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} @@ -4258,10 +4257,10 @@ Group G_humidifier "Smartmi Evaporative Humidifer 2" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} Number mode "Mode" (G_humidifier) {channel="miio:basic:humidifier:mode"} Number Fault "Humidifier Device Fault" (G_humidifier) {channel="miio:basic:humidifier:Fault"} -Number humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} Number targetHumidity "Target Humidity" (G_humidifier) {channel="miio:basic:humidifier:targetHumidity"} Number waterlevel "Water Level" (G_humidifier) {channel="miio:basic:humidifier:waterlevel"} -Number bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} Number:Time usedhours "Run Time" (G_humidifier) {channel="miio:basic:humidifier:usedhours"} @@ -4283,9 +4282,9 @@ note: Autogenerated example. Replace the id (humidifier) in the channel with you Group G_humidifier "Smartmi Evaporative Humidifier" Switch power "Power" (G_humidifier) {channel="miio:basic:humidifier:power"} String humidifierMode "Humidifier Mode" (G_humidifier) {channel="miio:basic:humidifier:humidifierMode"} -Number humidity "Humidity" (G_humidifier) {channel="miio:basic:humidifier:humidity"} +Number:Dimensionless 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"} +Dimmer bright "LED Brightness" (G_humidifier) {channel="miio:basic:humidifier:bright"} Switch buzzer "Buzzer Status" (G_humidifier) {channel="miio:basic:humidifier:buzzer"} Number depth "Depth" (G_humidifier) {channel="miio:basic:humidifier:depth"} Switch dry "Dry" (G_humidifier) {channel="miio:basic:humidifier:dry"} @@ -4303,7 +4302,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier v1" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4327,7 +4326,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier v2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4351,7 +4350,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier v3" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4375,7 +4374,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier v5" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4399,11 +4398,11 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier Pro v6" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} -Number bright "LED Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:bright"} +Dimmer bright "LED Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:bright"} Number filtermaxlife "Filter Max Life" (G_airpurifier) {channel="miio:basic:airpurifier:filtermaxlife"} Number:Time filterhours "Filter Hours used" (G_airpurifier) {channel="miio:basic:airpurifier:filterhours"} Number:Time usedhours "Run Time" (G_airpurifier) {channel="miio:basic:airpurifier:usedhours"} @@ -4423,7 +4422,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier Pro v7" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} @@ -4447,7 +4446,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2 (mini)" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4471,7 +4470,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4495,7 +4494,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4519,11 +4518,11 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} -Number bright "LED Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:bright"} +Dimmer bright "LED Brightness" (G_airpurifier) {channel="miio:basic:airpurifier:bright"} Number filtermaxlife "Filter Max Life" (G_airpurifier) {channel="miio:basic:airpurifier:filtermaxlife"} Number:Time filterhours "Filter Hours used" (G_airpurifier) {channel="miio:basic:airpurifier:filterhours"} Number:Time usedhours "Run Time" (G_airpurifier) {channel="miio:basic:airpurifier:usedhours"} @@ -4668,7 +4667,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier Super" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4692,7 +4691,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier MAX / MAX Pro" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4858,7 +4857,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4882,7 +4881,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2S" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4906,7 +4905,7 @@ note: Autogenerated example. Replace the id (airpurifier) in the channel with yo Group G_airpurifier "Mi Air Purifier 2H" Switch power "Power" (G_airpurifier) {channel="miio:basic:airpurifier:power"} String mode "Mode" (G_airpurifier) {channel="miio:basic:airpurifier:mode"} -Number humidity "Humidity" (G_airpurifier) {channel="miio:basic:airpurifier:humidity"} +Number:Dimensionless 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"} Switch led "LED Status" (G_airpurifier) {channel="miio:basic:airpurifier:led"} @@ -4940,7 +4939,7 @@ Number speedLevel "Speed Level" (G_fan) {channel="miio:basic:fan:speedLevel"} Number speed "Speed" (G_fan) {channel="miio:basic:fan:speed"} Number naturalLevel "Natural Level" (G_fan) {channel="miio:basic:fan:naturalLevel"} Number temp_dec "Temperature" (G_fan) {channel="miio:basic:fan:temp_dec"} -Number humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} +Number:Dimensionless humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} String acPower "AC Power" (G_fan) {channel="miio:basic:fan:acPower"} String mode "Battery Charge" (G_fan) {channel="miio:basic:fan:mode"} Number battery "Battery" (G_fan) {channel="miio:basic:fan:battery"} @@ -4965,7 +4964,7 @@ Number speedLevel "Speed Level" (G_fan) {channel="miio:basic:fan:speedLevel"} Number speed "Speed" (G_fan) {channel="miio:basic:fan:speed"} Number naturalLevel "Natural Level" (G_fan) {channel="miio:basic:fan:naturalLevel"} Number temp_dec "Temperature" (G_fan) {channel="miio:basic:fan:temp_dec"} -Number humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} +Number:Dimensionless humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} String acPower "AC Power" (G_fan) {channel="miio:basic:fan:acPower"} String mode "Battery Charge" (G_fan) {channel="miio:basic:fan:mode"} Number battery "Battery" (G_fan) {channel="miio:basic:fan:battery"} @@ -4990,7 +4989,7 @@ Number speedLevel "Speed Level" (G_fan) {channel="miio:basic:fan:speedLevel"} Number speed "Speed" (G_fan) {channel="miio:basic:fan:speed"} Number naturalLevel "Natural Level" (G_fan) {channel="miio:basic:fan:naturalLevel"} Number temp_dec "Temperature" (G_fan) {channel="miio:basic:fan:temp_dec"} -Number humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} +Number:Dimensionless humidity "Humidity" (G_fan) {channel="miio:basic:fan:humidity"} String acPower "AC Power" (G_fan) {channel="miio:basic:fan:acPower"} String mode "Battery Charge" (G_fan) {channel="miio:basic:fan:mode"} Number battery "Battery" (G_fan) {channel="miio:basic:fan:battery"} @@ -5285,7 +5284,7 @@ Number:Dimensionless fan-level "Fan - Fan Level" (G_light) {channel="miio:basic: Number mode "Fan - Mode" (G_light) {channel="miio:basic:light:mode"} Number:Time time-off "Presets - Time Off" (G_light) {channel="miio:basic:light:time-off"} Number:Temperature pre-colortemp "Presets - Pre Colortemp" (G_light) {channel="miio:basic:light:pre-colortemp"} -Number:Dimensionless pre-brightness "Presets - Pre Brightness" (G_light) {channel="miio:basic:light:pre-brightness"} +Dimmer pre-brightness "Presets - Pre Brightness" (G_light) {channel="miio:basic:light:pre-brightness"} Number:Dimensionless pre-speed "Presets - Pre Speed" (G_light) {channel="miio:basic:light:pre-speed"} Number reversal "Presets - Reversal" (G_light) {channel="miio:basic:light:reversal"} Number pre-custom "Presets - Pre Custom" (G_light) {channel="miio:basic:light:pre-custom"} @@ -5933,7 +5932,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "ZhiRui dimmable downlight" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -5951,7 +5950,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Nordic 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -5969,7 +5968,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Nordic 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -5987,7 +5986,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Nordic 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6005,7 +6004,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Black 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6023,7 +6022,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light " Zhirui Ceiling Lamp Black 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6041,7 +6040,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Black 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6059,7 +6058,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Starry 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6077,7 +6076,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Starry 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6095,7 +6094,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Starry 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6113,7 +6112,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Gorgeous 80W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6131,7 +6130,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Gorgeous 40W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -6149,7 +6148,7 @@ note: Autogenerated example. Replace the id (light) in the channel with your own Group G_light "Zhirui Ceiling Lamp Gorgeous 28W" Switch on "Power" (G_light) {channel="miio:basic:light:on"} Number mode "Mode" (G_light) {channel="miio:basic:light:mode"} -Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} +Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"} Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"} Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"} Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"} @@ -7489,10 +7488,10 @@ note: Autogenerated example. Replace the id (toilet) in the channel with your ow ```java Group G_toilet "Uclean Smart Toilet Seat" -Number seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} +Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} -Number water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} -Number fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} +Number:Temperature water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} +Number:Temperature fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_led"} ``` @@ -7502,10 +7501,10 @@ note: Autogenerated example. Replace the id (toilet) in the channel with your ow ```java Group G_toilet "Uclean smart toilet relax" -Number seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} +Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} -Number water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} -Number fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} +Number:Temperature water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} +Number:Temperature fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_led"} ``` @@ -7515,10 +7514,10 @@ note: Autogenerated example. Replace the id (toilet) in the channel with your ow ```java Group G_toilet "Uclean smart toilet pure" -Number seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} +Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} -Number water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} -Number fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} +Number:Temperature water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} +Number:Temperature fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_led"} ``` @@ -7528,10 +7527,10 @@ note: Autogenerated example. Replace the id (toilet) in the channel with your ow ```java Group G_toilet "Whale Spout Smart Toilet Zero" -Number seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} +Number:Temperature seat_temp "Seat Temperature" (G_toilet) {channel="miio:basic:toilet:seat_temp"} Number status_seatheat "Seat Status" (G_toilet) {channel="miio:basic:toilet:status_seatheat"} -Number water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} -Number fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} +Number:Temperature water_temp_t "Water Temperature" (G_toilet) {channel="miio:basic:toilet:water_temp_t"} +Number:Temperature fan_temp "Fan Temperature" (G_toilet) {channel="miio:basic:toilet:fan_temp"} Number status_led "Night Light" (G_toilet) {channel="miio:basic:toilet:status_led"} ``` @@ -8425,9 +8424,9 @@ note: Autogenerated example. Replace the id (heater) in the channel with your ow Group G_heater "Smartmi Radiant Heater Smart Version" Switch power "Power" (G_heater) {channel="miio:basic:heater:power"} Number:Temperature target_temperature "Target Temperature" (G_heater) {channel="miio:basic:heater:target_temperature"} -Number brightness "Brightness" (G_heater) {channel="miio:basic:heater:brightness"} +Dimmer brightness "Brightness" (G_heater) {channel="miio:basic:heater:brightness"} Switch buzzer "Buzzer Status" (G_heater) {channel="miio:basic:heater:buzzer"} -Number relative_humidity "Relative Humidity" (G_heater) {channel="miio:basic:heater:relative_humidity"} +Number:Dimensionless relative_humidity "Relative Humidity" (G_heater) {channel="miio:basic:heater:relative_humidity"} Switch childlock "Child Lock" (G_heater) {channel="miio:basic:heater:childlock"} Switch HWSwitch "HW Switch" (G_heater) {channel="miio:basic:heater:HWSwitch"} Number:Temperature temperature "Temperature" (G_heater) {channel="miio:basic:heater:temperature"} @@ -8445,7 +8444,7 @@ Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} Number:Temperature target-temperature "Heater - Target Temperature" (G_heater) {channel="miio:basic:heater:target-temperature"} Switch alarm "Alarm - Alarm" (G_heater) {channel="miio:basic:heater:alarm"} Number:Time countdown-time "Countdown - Countdown Time" (G_heater) {channel="miio:basic:heater:countdown-time"} -Number relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"} +Number:Dimensionless relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"} Number:Temperature temperature "Environment - Temperature" (G_heater) {channel="miio:basic:heater:temperature"} Dimmer brightness "Indicator Light - Brightness" (G_heater) {channel="miio:basic:heater:brightness"} Switch physical-controls-locked "Physical Control Locked - Physical Controls Locked" (G_heater) {channel="miio:basic:heater:physical-controls-locked"} @@ -8463,7 +8462,7 @@ Switch on "Heater - Power" (G_heater) {channel="miio:basic:heater:on"} Number:Temperature target-temperature "Heater - Target Temperature" (G_heater) {channel="miio:basic:heater:target-temperature"} Switch alarm "Alarm - Alarm" (G_heater) {channel="miio:basic:heater:alarm"} Number:Time countdown-time "Countdown - Countdown Time" (G_heater) {channel="miio:basic:heater:countdown-time"} -Number relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"} +Number:Dimensionless relative-humidity "Environment - Relative Humidity" (G_heater) {channel="miio:basic:heater:relative-humidity"} Number:Temperature temperature "Environment - Temperature" (G_heater) {channel="miio:basic:heater:temperature"} Dimmer brightness "Indicator Light - Brightness" (G_heater) {channel="miio:basic:heater:brightness"} Switch physical-controls-locked "Physical Control Locked - Physical Controls Locked" (G_heater) {channel="miio:basic:heater:physical-controls-locked"} diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json index eb952bae7846b..3dffde6d50e77 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json @@ -34,7 +34,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "tvoc", @@ -44,23 +47,30 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "temperature", "friendlyName": "Temperature", "channel": "temperature", - "channelType": "temperatureC", "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json index b15387c694793..773678e9df774 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.s1.json @@ -34,7 +34,12 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "co2", + "tags": [ + "Measurement", + "CO2" + ] }, { "property": "tvoc", @@ -44,17 +49,25 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "temperature", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json index f4133b9cf46a0..e588f51ca5819 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.m1.json @@ -13,12 +13,15 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -29,7 +32,6 @@ "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, - "ChannelGroup": "", "actions": [], "category": "temperature", "tags": [ @@ -44,7 +46,6 @@ "channelType": "led", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_wifi_led", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json index 65fce4d98781e..2f80b97cb968d 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v1.json @@ -16,6 +16,10 @@ "command": "set_*", "parameterType": "ONOFFPARA" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -37,11 +41,9 @@ "property": "temperature", "friendlyName": "Temperature", "channel": "temperature", - "channelType": "temperatureC", "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, - "ChannelGroup": "", "actions": [], "category": "temperature", "tags": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v2.json index 79113a6a61b21..243a5060b9969 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v2.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v2.json @@ -11,12 +11,15 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json index cc91a8132a8f7..f3e300e00f18e 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/chuangmi.plug.v3.json @@ -16,6 +16,10 @@ "command": "set_*", "parameterType": "ONOFFPARA" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -41,7 +45,6 @@ "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, - "ChannelGroup": "", "actions": [], "category": "temperature", "tags": [ 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 055e860ad30f4..da0b92b399233 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 @@ -14,13 +14,16 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } ], + "category": "switch", + "tags": [ + "Switch" + ], "readmeComment": "If this channel does not respond to on/off replace the model with chuangmi.plug.v3old in the config or upgrade firmware" }, { @@ -46,7 +49,6 @@ "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, - "ChannelGroup": "", "actions": [], "category": "temperature", "tags": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/cuco.plug.cp1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/cuco.plug.cp1-miot.json index 50b3d2a25f00b..970e625a68512 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/cuco.plug.cp1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/cuco.plug.cp1-miot.json @@ -64,6 +64,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] } ] diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.a1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.a1.json index e21cee069c5e5..d0c1da4454bfb 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.a1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.a1.json @@ -16,6 +16,10 @@ "command": "set_power", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -30,6 +34,9 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { @@ -116,7 +123,12 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "co2", + "tags": [ + "Measurement", + "CO2" + ] }, { "property": "control_speed", @@ -159,7 +171,6 @@ "channelType": "airFreshFilterPercents", "type": "Number", "refresh": true, - "ChannelGroup": "", "actions": [] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.t2017.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.t2017.json index 39095e2afd0f0..8485af890692a 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.t2017.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.airfresh.t2017.json @@ -16,6 +16,10 @@ "command": "set_power", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -30,6 +34,9 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { @@ -144,7 +151,12 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "co2", + "tags": [ + "Measurement", + "CO2" + ] }, { "property": "control_speed", @@ -187,7 +199,6 @@ "channelType": "airFreshFilterPercents", "type": "Number", "refresh": true, - "ChannelGroup": "", "actions": [] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p5.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p5.json index 7c194253ca472..f032281ea9af0 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p5.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p5.json @@ -16,6 +16,10 @@ "command": "s_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -44,6 +48,9 @@ "command": "s_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p8-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p8-miot.json index e30682af671e7..4fa4e796428ca 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p8-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p8-miot.json @@ -65,6 +65,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -113,6 +117,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -145,7 +152,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "brightness", @@ -161,6 +169,11 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p9-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p9-miot.json index eb71d84efe6d4..8ec1b22d3c906 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p9-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dmaker.fan.p9-miot.json @@ -65,6 +65,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -97,6 +101,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -145,7 +152,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "off-delay-time", @@ -177,6 +185,11 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json index cb060fac082f2..457edaca34812 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.mc1808-miot.json @@ -227,6 +227,10 @@ }, "refresh": true, "actions": [], + "category": "status", + "tags": [ + "Status" + ], "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]" }, { @@ -395,6 +399,9 @@ "parameterType": "NUMBER" } ], + "tags": [ + "Control" + ], "readmeComment": "Value mapping [\"0\"\u003d\"quiet\",\"1\"\u003d\"standard\",\"2\"\u003d\"medium\",\"3\"\u003d\"strong\"]" }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json index 4e69c4b34eca1..756b6c373dd36 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/dreame.vacuum.p2008-miot.json @@ -44,6 +44,10 @@ }, "refresh": true, "actions": [], + "category": "status", + "tags": [ + "Status" + ], "readmeComment": "Value mapping [\"1\"\u003d\"Sweeping\",\"2\"\u003d\"Idle\",\"3\"\u003d\"Paused\",\"4\"\u003d\"Error\",\"5\"\u003d\"Go Charging\",\"6\"\u003d\"Charging\"]" }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json index 70e80bae666c5..a72c1e5bdd5a6 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy-miot.json @@ -156,6 +156,9 @@ } ], "category": "fan", + "tags": [ + "Control" + ], "readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"2\"\u003d\"Natural Wind\"]" } ], diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json index 6c4791c6b0c2a..9c8d392df3f0a 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/huayi.light.fanwy2-miot.json @@ -140,6 +140,9 @@ "parameterType": "NUMBER" } ], + "tags": [ + "Control" + ], "readmeComment": "Value mapping [\"0\"\u003d\"Basic\",\"1\"\u003d\"Natural Wind\"]" }, { @@ -192,8 +195,7 @@ "piid": 3, "friendlyName": "Presets - Pre Brightness", "channel": "pre-brightness", - "type": "Number:Dimensionless", - "unit": "percentage", + "type": "Dimmer", "stateDescription": { "minimum": 1.0, "maximum": 100.0, diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json index 83be7ed2974d4..48970729cca50 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/lumi.curtain.hagl05-miot.json @@ -65,6 +65,10 @@ }, "refresh": true, "actions": [], + "category": "status", + "tags": [ + "Status" + ], "readmeComment": "Value mapping [\"0\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"2\"\u003d\"Closing\"]" }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json index 816dbe6974fe3..efe866d273e7a 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/mijia.vacuum.v2-miot.json @@ -115,6 +115,7 @@ }, "refresh": true, "actions": [], + "category": "status", "tags": [ "Status" ], @@ -363,6 +364,7 @@ "parameterType": "ONOFFBOOL" } ], + "category": "alarm", "tags": [ "Alarm" ] diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bceiling1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bceiling1.json index 70877a9419f35..69b4aad9962b0 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bceiling1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bceiling1.json @@ -21,13 +21,16 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "actions": [ @@ -45,6 +48,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bulb.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bulb.json index abee9f42178e2..6285f85096d38 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bulb.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.bulb.json @@ -16,19 +16,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -47,6 +49,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.candle.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.candle.json index ce8b6115fd3da..05e14e54371f3 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.candle.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.candle.json @@ -12,19 +12,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -43,6 +45,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.cbulb.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.cbulb.json index 37039f9e7ad07..99d6fde03a180 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.cbulb.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.cbulb.json @@ -13,19 +13,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -44,6 +46,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceil-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceil-miot.json index d0db51e3d7d6f..5a45e63c8cb54 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceil-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceil-miot.json @@ -32,6 +32,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -48,6 +52,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -56,14 +63,18 @@ "piid": 3, "friendlyName": "Brightness", "channel": "brightness", - "channelType": "miot_uint8", - "type": "Number", + "type": "Dimmer", "refresh": true, "actions": [ { "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceiling.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceiling.json index c21c9347c33cc..17e1051c3a0bc 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceiling.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.ceiling.json @@ -12,19 +12,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -43,6 +45,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.mono.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.mono.json index 06a9479c9590d..bebb00d60e872 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.mono.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.mono.json @@ -11,19 +11,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -42,6 +44,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.moonlight.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.moonlight.json index 74332d9bbebd8..bb705f6ac244f 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.moonlight.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.moonlight.json @@ -11,7 +11,6 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", @@ -23,7 +22,6 @@ "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -42,6 +40,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.rwread.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.rwread.json index 3d239febc2371..b3f9279f20103 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.rwread.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.rwread.json @@ -11,19 +11,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -42,6 +44,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.sread1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.sread1.json index 9c993f09da228..7b4237ce981d2 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.sread1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/philips.light.sread1.json @@ -12,19 +12,21 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", @@ -43,6 +45,11 @@ "name": "BrightnessOnOff" } } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -82,7 +89,6 @@ "channelType": "illumination", "type": "Number", "refresh": true, - "ChannelGroup": "", "actions": [] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.vacuum.v8.json b/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.vacuum.v8.json index 6013504d1a7d7..5eb3298cab590 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.vacuum.v8.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/viomi.vacuum.v8.json @@ -46,6 +46,9 @@ "command": "set_mode", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.ma1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.ma1-miot.json index 00c84eff7dce7..d8d630131136a 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.ma1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.ma1-miot.json @@ -67,7 +67,7 @@ "tags": [ "Control" ], - "readmeComment": "Value mapping [2\u003d\"Cool\",3\u003d\"Dry\",4\u003d\"Fan\",5\u003d\"Heat\"]" + "readmeComment": "Value mapping [\"1\"\u003d\"Cool\",\"2\"\u003d\"Dry\",\"3\"\u003d\"Heat\",\"4\"\u003d\"Fan\"]" }, { "property": "target-temperature", @@ -227,7 +227,7 @@ "Control", "Level" ], - "readmeComment": "Value mapping [0\u003d\"Auto\",1\u003d\"Level1\",2\u003d\"Level2\",3\u003d\"Level3\",4\u003d\"Level4\",5\u003d\"Level5\",6\u003d\"Level6\",7\u003d\"Level7\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Auto\",\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\",\"4\"\u003d\"Level4\",\"5\"\u003d\"Level5\",\"6\"\u003d\"Level6\",\"7\"\u003d\"Level7\"]" }, { "property": "vertical-swing", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.mc1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.mc1-miot.json index 7f80b005d025c..082e75a507306 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.mc1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/xiaomi.aircondition.mc1-miot.json @@ -81,7 +81,7 @@ "tags": [ "Control" ], - "readmeComment": "Value mapping [2\u003d\"Cool\",3\u003d\"Dry\",4\u003d\"Fan\",5\u003d\"Heat\"]" + "readmeComment": "Value mapping [\"2\"\u003d\"Cool\",\"3\"\u003d\"Dry\",\"4\"\u003d\"Fan\",\"5\"\u003d\"Heat\"]" }, { "property": "target-temperature", @@ -241,7 +241,7 @@ "Control", "Level" ], - "readmeComment": "Value mapping [0\u003d\"Auto\",1\u003d\"Level1\",2\u003d\"Level2\",3\u003d\"Level3\",4\u003d\"Level4\",5\u003d\"Level5\",6\u003d\"Level6\",7\u003d\"Level7\"]" + "readmeComment": "Value mapping [\"0\"\u003d\"Auto\",\"1\"\u003d\"Level1\",\"2\"\u003d\"Level2\",\"3\"\u003d\"Level3\",\"4\"\u003d\"Level4\",\"5\"\u003d\"Level5\",\"6\"\u003d\"Level6\",\"7\"\u003d\"Level7\"]" }, { "property": "vertical-swing", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json b/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json index 23b67cd1240d5..75bf4b0022df9 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/xjx.toilet.json @@ -11,7 +11,7 @@ "property": "seat_temp", "friendlyName": "Seat Temperature", "channel": "seat_temp", - "type": "Number", + "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, "actions": [ @@ -39,7 +39,7 @@ "property": "water_temp_t", "friendlyName": "Water Temperature", "channel": "water_temp_t", - "type": "Number", + "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, "actions": [ @@ -58,7 +58,7 @@ "property": "fan_temp", "friendlyName": "Fan Temperature", "channel": "fan_temp", - "type": "Number", + "type": "Number:Temperature", "unit": "CELCIUS", "refresh": true, "actions": [ 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 index 28dc243878533..331f4e7bf2fdd 100644 --- 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 @@ -28,7 +28,6 @@ "channel": "bh_mode", "type": "String", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_bh_mode", 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 055e34cb8f4af..22785a679afc5 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 @@ -165,7 +165,6 @@ ] }, "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 77aeea7b42e6f..aa046f4302289 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 @@ -140,7 +140,6 @@ ] }, "refresh": true, - "ChannelGroup": "", "actions": [] }, { 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 933bf65db1811..72ca320f82869 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 @@ -156,7 +156,6 @@ ] }, "refresh": true, - "ChannelGroup": "", "actions": [] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json index b6c94fdb29cb1..1a774b7dcb681 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.switch.sw1-miot.json @@ -20,6 +20,7 @@ "parameterType": "ONOFFBOOL" } ], + "category": "switch", "tags": [ "Switch" ] diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json b/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json index 3534873bca19e..fb5823bfb542b 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/yunmi.waterpurifier.json @@ -30,6 +30,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airmonitor.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airmonitor.v1.json index eea7dc8b665fa..f2c2a7c92a6e6 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airmonitor.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airmonitor.v1.json @@ -11,12 +11,15 @@ "channelType": "power", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -27,7 +30,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "battery", @@ -63,7 +69,6 @@ "channel": "night_state", "type": "Switch", "refresh": true, - "ChannelGroup": "", "actions": [ { "command": "set_night_state", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json index 6080044ec4faf..2fb0befc01b37 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.m1.json @@ -27,6 +27,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -42,17 +46,25 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "aqi", @@ -62,7 +74,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "average_aqi", @@ -72,7 +87,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "led", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.ma4-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.ma4-miot.json index d23a846c76e87..cce278b0f33d1 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.ma4-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.ma4-miot.json @@ -31,6 +31,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -63,6 +67,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -178,7 +185,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "brightness", @@ -194,6 +202,11 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -435,7 +448,8 @@ "channelType": "miot_int32", "type": "Number", "refresh": true, - "actions": [] + "actions": [], + "category": "time" }, { "property": "purify-volume", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.mb3-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.mb3-miot.json index 5ec483a0b1458..c42394b573208 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.mb3-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.mb3-miot.json @@ -31,6 +31,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -63,6 +67,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -178,7 +185,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "brightness", @@ -194,6 +202,11 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -430,7 +443,8 @@ "channelType": "miot_int32", "type": "Number", "refresh": true, - "actions": [] + "actions": [], + "category": "time" }, { "property": "purify-volume", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v1.json index 5fdf71c50fae9..47952528d3aec 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.airpurifier.v1.json @@ -16,6 +16,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -31,17 +35,25 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "aqi", @@ -51,14 +63,16 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "bright", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", - "type": "Number", + "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", "actions": [ @@ -66,6 +80,11 @@ "command": "set_led_b", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { 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 9f01f6ed6f40f..844fd5414a4e5 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 @@ -17,6 +17,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -32,17 +36,25 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "aqi", @@ -52,7 +64,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "average_aqi", @@ -62,7 +77,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "led", @@ -83,7 +101,7 @@ "property": "bright", "friendlyName": "LED Brightness", "channel": "bright", - "type": "Number", + "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", "actions": [ @@ -91,6 +109,11 @@ "command": "set_led_b", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { 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 index 3c4ed98590d2c..66daf74691660 100644 --- 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 @@ -16,6 +16,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -31,17 +35,25 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "aqi", @@ -51,7 +63,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "average_aqi", @@ -61,7 +76,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "volume", @@ -94,7 +112,12 @@ "type": "Number", "refresh": true, "ChannelGroup": "actions", - "actions": [] + "actions": [], + "category": "light", + "tags": [ + "Control", + "Light" + ] }, { "property": "f1_hour", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.sa1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.sa1.json index 97ade35906130..0147a674dfaf8 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.sa1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.sa1.json @@ -17,6 +17,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json index 25589f9a8bbef..b46e81fa5d054 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.v3.json @@ -18,6 +18,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -185,11 +189,16 @@ "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "ac_power", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.za4.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.za4.json index b9617e9417795..90c95b04499db 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.za4.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.fan.za4.json @@ -17,6 +17,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json index 09129b5391b8f..72856cb47ea4f 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za1.json @@ -18,6 +18,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -44,14 +48,18 @@ "property": "brightness", "friendlyName": "Brightness", "channel": "brightness", - "channelType": "brightness", - "type": "Number", + "type": "Dimmer", "refresh": true, "actions": [ { "command": "set_brightness", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -72,9 +80,14 @@ "property": "relative_humidity", "friendlyName": "Relative Humidity", "channel": "relative_humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, - "actions": [] + "actions": [], + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "child_lock", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json index 695b09e925f79..dff70276dbf78 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.za2-miot.json @@ -31,6 +31,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -69,7 +73,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "countdown-time", @@ -94,10 +99,14 @@ "piid": 7, "friendlyName": "Environment - Relative Humidity", "channel": "relative-humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, - "actions": [] + "actions": [], + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "temperature", @@ -122,7 +131,6 @@ "piid": 1, "friendlyName": "Indicator Light - Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "actions": [ @@ -130,6 +138,11 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -158,7 +171,8 @@ "type": "Number:Time", "unit": "seconds", "refresh": true, - "actions": [] + "actions": [], + "category": "time" } ], "experimental": true diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json index adce2c2dada64..b46372dda3700 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.heater.zb1-miot.json @@ -31,6 +31,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -69,7 +73,8 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } - ] + ], + "category": "alarm" }, { "property": "countdown-time", @@ -94,10 +99,14 @@ "piid": 7, "friendlyName": "Environment - Relative Humidity", "channel": "relative-humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, - "actions": [] + "actions": [], + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "temperature", @@ -122,7 +131,6 @@ "piid": 1, "friendlyName": "Indicator Light - Brightness", "channel": "brightness", - "channelType": "brightness", "type": "Dimmer", "refresh": true, "actions": [ @@ -130,6 +138,11 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { @@ -158,7 +171,8 @@ "type": "Number:Time", "unit": "seconds", "refresh": true, - "actions": [] + "actions": [], + "category": "time" }, { "property": "country-code", diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json index bf5a291ff5231..7aa538777ff68 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.ca4.json @@ -20,6 +20,10 @@ "command": "set_properties", "parameterType": "ONOFFBOOL" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -37,6 +41,9 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "tags": [ + "Control" ] }, { @@ -56,11 +63,16 @@ "piid": 9, "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "target_humidity", @@ -90,7 +102,8 @@ "refresh": true, "transformation": "tankLevel", "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "water" }, { "property": "led_brightness", @@ -98,8 +111,7 @@ "piid": 2, "friendlyName": "LED Brightness", "channel": "bright", - "channelType": "humidifierLedBrightness", - "type": "Number", + "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", "actions": [ @@ -107,6 +119,11 @@ "command": "set_properties", "parameterType": "NUMBER" } + ], + "category": "light", + "tags": [ + "Control", + "Light" ] }, { 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 95b34cdd98ee6..b8240984dd2c1 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 @@ -16,13 +16,16 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { "property": "mode", "friendlyName": "Humidifier Mode", "channel": "humidifierMode", - "channelType": "humidifierMode", "type": "String", "refresh": true, "ChannelGroup": "actions", @@ -31,17 +34,26 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Measurement", + "Humidity" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "limit_hum", @@ -62,7 +74,7 @@ "property": "led_b", "friendlyName": "LED Brightness", "channel": "bright", - "type": "Number", + "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", "actions": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json index 001815ea04e8b..5ac1e8f645486 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zhimi.humidifier.v1.json @@ -17,6 +17,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, { @@ -32,17 +36,25 @@ "command": "set_mode", "parameterType": "STRING" } + ], + "tags": [ + "Control" ] }, { "property": "humidity", "friendlyName": "Humidity", "channel": "humidity", - "channelType": "humidity", - "type": "Number", + "type": "Number:Dimensionless", + "unit": "PERCENT", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "category": "humidity", + "tags": [ + "Measurement", + "Humidity" + ] }, { "property": "limit_hum", @@ -67,7 +79,10 @@ "type": "Number", "refresh": true, "ChannelGroup": "Status", - "actions": [] + "actions": [], + "tags": [ + "Measurement" + ] }, { "property": "trans_level", @@ -83,7 +98,7 @@ "property": "led_b", "friendlyName": "LED Brightness", "channel": "bright", - "type": "Number", + "type": "Dimmer", "refresh": true, "ChannelGroup": "actions", "actions": [ diff --git a/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json b/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json index f6fb815a5d109..54979f86a4442 100644 --- a/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json +++ b/bundles/org.openhab.binding.miio/src/main/resources/database/zimi.powerstrip.v2.json @@ -17,6 +17,10 @@ "command": "set_power", "parameterType": "ONOFF" } + ], + "category": "switch", + "tags": [ + "Switch" ] }, {