mirror of https://github.com/nymea/nymea.git
Add air quality interfaces
parent
be68d925be
commit
8067a3abfd
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"description": "Air quality sensors. Describes the current quality of the air. As air quality index the PM2.5 measurment (particles pollution level) will be used.",
|
||||
"extends": "sensor",
|
||||
"states": [
|
||||
{
|
||||
"name": "airQuality",
|
||||
"type": "QString",
|
||||
"logged": true,
|
||||
"possibleValues": [
|
||||
"Good",
|
||||
"Moderate",
|
||||
"Unhealthy for Sensitive Groups",
|
||||
"Unhealthy",
|
||||
"Very unhealthy",
|
||||
"Hazardous"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "airQualityIndex",
|
||||
"type": "uint",
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"description": "Indoor air quality sensors. Describes the current quality of the air in a room. As air quality index the Volatile organic compounds (VOC) measurment will be used.",
|
||||
"extends": "sensor",
|
||||
"states": [
|
||||
{
|
||||
"name": "indoorAirQuality",
|
||||
"type": "QString",
|
||||
"logged": true,
|
||||
"possibleValues": [
|
||||
"Excellent",
|
||||
"Good",
|
||||
"Moderate",
|
||||
"Poor",
|
||||
"Unhealthy"
|
||||
]
|
||||
},
|
||||
{
|
||||
"name": "voc",
|
||||
"type": "uint",
|
||||
"unit": "PartsPerMillion",
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -80,5 +80,7 @@
|
|||
<file>update.json</file>
|
||||
<file>watersensor.json</file>
|
||||
<file>cleaningrobot.json</file>
|
||||
<file>airquality.json</file>
|
||||
<file>indoorairquality.json</file>
|
||||
</qresource>
|
||||
</RCC>
|
||||
|
|
|
|||
Loading…
Reference in New Issue