mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-11 14:39:59 +01:00
* [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>
88 lines
1.7 KiB
JSON
88 lines
1.7 KiB
JSON
{
|
|
"deviceMapping": {
|
|
"id": [
|
|
"cgllc.airmonitor.b1"
|
|
],
|
|
"propertyMethod": "get_value",
|
|
"maxProperties": 6,
|
|
"channels": [
|
|
{
|
|
"property": "battery",
|
|
"friendlyName": "Battery",
|
|
"channel": "battery",
|
|
"channelType": "system:battery-level",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "pm25",
|
|
"friendlyName": "PM2.5",
|
|
"channel": "pm25",
|
|
"channelType": "pm25",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": []
|
|
},
|
|
{
|
|
"property": "co2e",
|
|
"friendlyName": "CO2e",
|
|
"channel": "co2",
|
|
"channelType": "co2",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": [],
|
|
"tags": [
|
|
"Measurement"
|
|
]
|
|
},
|
|
{
|
|
"property": "tvoc",
|
|
"friendlyName": "tVOC",
|
|
"channel": "tvoc",
|
|
"channelType": "tvoc",
|
|
"type": "Number",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": [],
|
|
"tags": [
|
|
"Measurement"
|
|
]
|
|
},
|
|
{
|
|
"property": "humidity",
|
|
"friendlyName": "Humidity",
|
|
"channel": "humidity",
|
|
"type": "Number:Dimensionless",
|
|
"unit": "PERCENT",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": [],
|
|
"category": "humidity",
|
|
"tags": [
|
|
"Measurement",
|
|
"Humidity"
|
|
]
|
|
},
|
|
{
|
|
"property": "temperature",
|
|
"friendlyName": "Temperature",
|
|
"channel": "temperature",
|
|
"type": "Number:Temperature",
|
|
"unit": "CELCIUS",
|
|
"refresh": true,
|
|
"ChannelGroup": "Status",
|
|
"actions": [],
|
|
"category": "temperature",
|
|
"tags": [
|
|
"Measurement",
|
|
"Temperature"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|