Monitoring a Folder in Ubuntu from

I have a document scanner. That scanner writes the scanned files to a Samba share on Ubuntu 16.04 which we treat as an in-box which gets sorted out and emptied.

My vision is to have a list of all of the newly scanned files show up as a list of files in HA.

Ultimately, I just want to trigger automations when a new file is added.

Running in docker on Ubuntu. Is it possible? Or would I need to reconfigure Samba to share one of the folders in the structure?

If you haven’t already, take a look at Folder Watcher.

I use it on my Ubuntu using plain old Hass.

It is suppose to be possible to have the file/directory outside the HA user’s directory as long as you add it to the whitelist.