Hi,
Is It possible to detect file creation in openhab rule ?
Il have xiaomi camera with synology surveillance station. Il want to send notification or send command ‘ON’ on a virtual switch when motion is detected. But, it’s not possible to get this information through surveillance station. I think, file created detection is the best way (file.mp4 is created on my synology when motion is detected).
Any ideas ? Thanks
You’ll need to create an item to track the number of files in the target directory, along with a rule to send your notification when that value changes.