add noisesensor and co2sensor interfaces

pull/135/head
Michael Zanetti 2018-11-20 17:26:14 +01:00
parent 5df41cba4a
commit 9eab2d3cc9
3 changed files with 24 additions and 0 deletions

View File

@ -0,0 +1,11 @@
{
"extends": "sensor",
"description": "CO2 sensors. Measures co2 in parts per million.",
"states": [
{
"name": "co2",
"type": "double",
"unit": "PartsPerMillion"
}
]
}

View File

@ -55,6 +55,8 @@
<file>extendedheating.json</file>
<file>evcharger.json</file>
<file>extendedevcharger.json</file>
<file>noisesensor.json</file>
<file>co2sensor.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>

View File

@ -0,0 +1,11 @@
{
"extends": "sensor",
"description": "A sensor interface for noise sensors. Should deliver a median noise level in regular intervals. This is meant for overall noise level monitoring (e.g. in buildings) and not real time audio processing.",
"states": [
{
"name": "noise",
"type": "double",
"unit": "Dezibel"
}
]
}