How to view directory of images in lovelace UI?

Running hassio on a PI which has ffmpeg streams from a external DVR/CCTV. Added Sighthound which adds timestamped images with face recon into config/www/sighthound_images/. Have nofity alerting when a new file is created, all of the above works well.

Q. How can I view the contents of the folder config/www/sighthound_images/ or the last 4 images which are time stamped as followed sighthound_front_cctv_2020-05-22_17:52:17.jpg

You’d have to create a local_file camera. Unfortunately, you’ll need to initially use a ‘blank’ image file on startup. But each time a new file is created, calll the local_file_update_file_path service to update the path to the newest image on the camera.

Thanks getting a error maximum_files: 10 ?

Error loading /config/configuration.yaml: while scanning for the next token
found character ‘\t’ that cannot start any token
in “/config/configuration.yaml”, line 311, column 28

Don’t mix tabs and spaces in yaml

Thanks worked a treat!

1 Like