Monitoring a Folder in Ubuntu from Hass.io?

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 Hass.io in docker on Ubuntu. Is it possible? Or would I need to reconfigure Samba to share one of the folders in the HASS.io 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.