I want to trigger an event on OH when a file has been created on a specific directory with rsync or rclone on the raspberry pi that is hosting openhab. Is there a relevant binding that could help me or another trick?
When the file gets created has rsync/rclone been issued by a script?
If yes, maybe you can hook in and create an http post command to a triggering item.
I currently see just the other option to create a time based rule which constantly checks for the existence of a file (eiter by executeCommandline or by java.io.File)
Jruby has a watch trigger
1 Like
I am getting more and more interested in jruby😁
Thanks for the advice, need to check that out!