I really like the randomisation of images on the home screen. I would like to extend that to external dashboards by allowing them to request a random image from Photostructure. I’ve had a wee search and couldn’t see this available.
Ideally I could use Home Assistant or something similar to display a random photo or set of photos from today in history (this might be be a different feature!) on a dashboard.
I would be comfortable just writing a basic web page that called the image or iframe and then opened that in a browser on a tablet. If I could use my own JavaScript to work out the search parameters to feed the API, that’s very flexible but plenty of work for lots of people I suppose.
Maybe something like:
http://localhost:1787/api/pick?width=1920&q=date:(todayinhistory) # this one is either multiple images from previous years with the same day/month as today, or a random year in history
http://localhost:1787/api/pick?width=1920&q=date:(currentyear-3) # this one is whatever was happening 3 years ago
http://localhost:1787/api/pick # this one is totally random
Home Assistant user here as well. This would be a pretty cool feature (although rather niche), I have a tablet in my hallway at home as a control pad that could use this.
I had another idea for an evolution of this feature request. By submitting a search, we could specify which picture to serve - options being “random”, “oldest”, “newest”, “most popular”, and whatever else makes sense.