[miio] Update many channels with tags, categories & QuantityTypes (#9384)

* [miio] Update many channels with tags, categories & QuantityTypes
* [miio] remove unit from dimmers
* [miio] fix readme mappings for channels

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2020-12-28 06:25:15 +01:00 committed by GitHub
parent 27a02cac5a
commit 03dd4d491f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
58 changed files with 790 additions and 381 deletions

View File

@ -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

File diff suppressed because it is too large Load Diff

View File

@ -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,

View File

@ -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",

View File

@ -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",

View File

@ -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": [

View File

@ -11,12 +11,15 @@
"channelType": "power",
"type": "Switch",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{

View File

@ -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": [

View File

@ -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": [

View File

@ -64,6 +64,10 @@
"command": "set_properties",
"parameterType": "ONOFFBOOL"
}
],
"category": "switch",
"tags": [
"Switch"
]
}
]

View File

@ -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": []
},
{

View File

@ -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": []
},
{

View File

@ -16,6 +16,10 @@
"command": "s_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{
@ -44,6 +48,9 @@
"command": "s_mode",
"parameterType": "STRING"
}
],
"tags": [
"Control"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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\"]"
},
{

View File

@ -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\"]"
},
{

View File

@ -156,6 +156,9 @@
}
],
"category": "fan",
"tags": [
"Control"
],
"readmeComment": "Value mapping [\"1\"\u003d\"Normal Wind\",\"2\"\u003d\"Natural Wind\"]"
}
],

View File

@ -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,

View File

@ -65,6 +65,10 @@
},
"refresh": true,
"actions": [],
"category": "status",
"tags": [
"Status"
],
"readmeComment": "Value mapping [\"0\"\u003d\"Stopped\",\"1\"\u003d\"Opening\",\"2\"\u003d\"Closing\"]"
},
{

View File

@ -115,6 +115,7 @@
},
"refresh": true,
"actions": [],
"category": "status",
"tags": [
"Status"
],
@ -363,6 +364,7 @@
"parameterType": "ONOFFBOOL"
}
],
"category": "alarm",
"tags": [
"Alarm"
]

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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": []
},
{

View File

@ -46,6 +46,9 @@
"command": "set_mode",
"parameterType": "NUMBER"
}
],
"tags": [
"Control"
]
},
{

View File

@ -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",

View File

@ -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",

View File

@ -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": [

View File

@ -28,7 +28,6 @@
"channel": "bh_mode",
"type": "String",
"refresh": true,
"ChannelGroup": "",
"actions": [
{
"command": "set_bh_mode",

View File

@ -165,7 +165,6 @@
]
},
"refresh": true,
"ChannelGroup": "",
"actions": []
},
{

View File

@ -140,7 +140,6 @@
]
},
"refresh": true,
"ChannelGroup": "",
"actions": []
},
{

View File

@ -156,7 +156,6 @@
]
},
"refresh": true,
"ChannelGroup": "",
"actions": []
},
{

View File

@ -20,6 +20,7 @@
"parameterType": "ONOFFBOOL"
}
],
"category": "switch",
"tags": [
"Switch"
]

View File

@ -30,6 +30,10 @@
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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",

View File

@ -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"
]
},
{

View File

@ -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"
]
},
{

View File

@ -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",

View File

@ -17,6 +17,10 @@
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{

View File

@ -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",

View File

@ -17,6 +17,10 @@
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{

View File

@ -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",

View File

@ -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

View File

@ -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",

View File

@ -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"
]
},
{

View File

@ -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": [

View File

@ -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": [

View File

@ -17,6 +17,10 @@
"command": "set_power",
"parameterType": "ONOFF"
}
],
"category": "switch",
"tags": [
"Switch"
]
},
{