mirror of https://github.com/nymea/nymea.git
Add vibrationsensor interface
parent
8367f60886
commit
bbc8e54ebc
|
|
@ -40,6 +40,7 @@
|
|||
<file>pressuresensor.json</file>
|
||||
<file>moisturesensor.json</file>
|
||||
<file>lightsensor.json</file>
|
||||
<file>vibrationsensor.json</file>
|
||||
<file>noisesensor.json</file>
|
||||
<file>windspeedsensor.json</file>
|
||||
<file>cosensor.json</file>
|
||||
|
|
|
|||
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"description": "An interface for vibration sensors.",
|
||||
"extends": "sensor",
|
||||
"events": [
|
||||
{
|
||||
"name": "vibrationDetected",
|
||||
"logged": true
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
Reference in New Issue