I’ve setup the folder_watcher component to monitor a folder, and update a input_text field - but nothing happens, no errors, no update - any advice on where to start looking? I’ve tried giving the lest restrictions possible just to get it to work
/media/Security/motion
drwxrwxrwx 2 homeassistant homeassistant 0 May 12 2018 motion
If this helps, I have it working but I don’t have a whitelist setup but this limits you to where you can have folder watcher monitor files.
For me under homeassistant’s config directory www/ I created subdirectories to monitor.
I get the same thing - doesn’t work for me. No errors logged.
(the sub folder under www is a link to a smb share - but, access is fine - motion, etc is happily writing there, I can also access items such as jpg files from home-assistant on the share)
The watched folder needs to be accessible directly by the OS, and will not work on network drives. Please see the docs to understand how watchdog operates https://pythonhosted.org/watchdog/
I use Ubuntu and I locally mounted a samba (cifs) to a remote file system.
I also added the newly mounted directory to the white list. Folder_sensor worked.
It took anywhere from a couple of seconds to as much as 35 seconds to recognize
file adds/deletes.
Think I might look into using something else. My requirement is quite simple, I just want to send a telegram video message when motion is captured on an outdoor camera.
I would have been nice to do as an automation for the ability to easily disable or enable the “service”
Hello, did you get an answer for this after? I’m in the same situation, currently sending a notification when my camera detects a person, but sometimes the media isn’t available straight away (thanks nest) so want to trigger based on a file being created instead of the device