Add wireless connectable interface

This commit is contained in:
Simon Stürz 2019-03-05 16:18:52 +01:00 committed by Michael Zanetti
parent 021fa737ce
commit 53290fe31f
2 changed files with 15 additions and 0 deletions

View File

@ -63,6 +63,7 @@
<file>noisesensor.json</file>
<file>co2sensor.json</file>
<file>presencesensor.json</file>
<file>wirelessconnectable.json</file>
</qresource>
<qresource prefix="/"/>
</RCC>

View File

@ -0,0 +1,14 @@
{
"description": "This interface should be used for device which have the signal strength available. If the signal is to weak, the thing is not connected any more.",
"extends": "connectable",
"states": [
{
"name": "signalStrength",
"type": "int",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
}
]
}