openhab-addons/bundles/org.openhab.binding.miio/src/main/resources/database/cgllc.airmonitor.b1.json
Marcel 03dd4d491f
[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>
2020-12-27 21:25:15 -08:00

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"
]
}
]
}
}