File-based motion or contact sensor

This module creates a motion sensor accessory based on watching a
directory or file.
This commit is contained in:
S'pht'Kr
2015-09-15 06:55:53 +02:00
parent b0e3829dfb
commit 13d1ed75cf
3 changed files with 86 additions and 0 deletions

View File

@@ -196,6 +196,15 @@
"host" : "localhost",
"port" : 6600,
"description": "Allows some control of an MPD server"
},
{
"accessory": "FileSensor",
"name": "File Time Motion Sensor",
"path": "/tmp/CameraDump/",
"window_seconds": 5,
"sensor_type": "m",
"inverse": false
}
]
}