Merge PR #134: New interface: wirelessconnectable

pull/152/head
Jenkins 2019-04-12 13:42:29 +02:00
commit 186b6eb0f6
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": "uint",
"unit": "Percentage",
"minValue": 0,
"maxValue": 100,
"defaultValue": 0
}
]
}