I’m stuck at the moment trying to build a digital photo frame using an android tablet with images on my NAS drive.
So far, I’ve added the NAS drive as storage (system > storage > network storage), and used imagedirectory to cycle through the images.
camera:
- platform: imagedirectory
name: pictures
sourcepath: "/media/Photos/Favourites"
delay_time: 5
On lovelace:
type: picture
image_entity: camera.pictures
This then displays a null picture on the dashboard. However, I get an actual picture when I click on it; which correctly cycles every 5 seconds.
Similarly, I get the same result (but no ability to click to open the picture) with:
type: picture
image: /media/Photos/Favourites/Photo.jpg
My indicate an authentication error:
2024-04-01 16:32:17.160 WARNING (MainThread) [homeassistant.components.http.ban] Login attempt or request with invalid authentication from laptop.lan (192.168.1.101). Requested URL: '/media/Photos/Favourites'.
However, I can view the pictures when and only when I open the picture card.
What am I doing wrong?