Screensaver

Tags: #<Tag:0x00007f739b22a388>

Hey Community!

Just wanted to share a project that I am currently working on!

I have a iPad running in my kitchen with Home Assistant used to show the weather, Calendar and other goodies. I wanted my iPad to be turned on all the time for easy accessibility, but was afraid of screen burns. Therefore I turned to the good old days of screensavers.

This plugin is pretty simple. I will start the screensaver after a given idle time (no clicking/touching). The Images are from Unsplash using a given search term (defaults to nature).
To stop the screensaver simply click/touch the screen again.

For more information and installation guide, go visit the repo:

2 Likes

Nice idea. I like the concept, but I don’t really like the idea of getting the images from the cloud.
Could this be made to fetch images on a local network? Or failing that a local machine?
Also any plans to make this HACS compatible?

Using unsplash was an easy way to get this project up and running.

How are you thinking “fetch images on a local network”? you would need to make a private api for that or make a python service/plugin in hass to generate a json file

Can you add this to HACS? :slight_smile:

I totally will, when I’m done testing on my own system :slight_smile:

All I was thinking is setting a directory from a network share to randomly pull in pics from.
Failing that just pulling from a directory on the local machine.
Thanks

Great idea! But it would but nice to use local images

@gabrielmiranda and @danbutter I will try making this an option. but for now my focus is to get the script running flawlessly and as smooth as possible.

It works wonderfully, just that the problem is that the images in the category are repeated in the loop. And don’t show all the pictures in the category.

@Abeksis that is correct. Im going to add the possibility to choose how make images to fetch, and make it an option to fetch next page if last image of the current page has been used. The reason this can be an issue is that you can run into the maximum number of api calls on your free version of Unsplash.

I like it, but I’m trying to avoid integration with too many sites.
For others like me, you could try going down the chromium extension route.
Theres an extension called Photo Screen Saver

Extension Link

that I have installed on my standalone pi kiosk mode, linked it to google photos, one dedicated hassio folder and im away. Can also display time and weather on the page.
May help you out.
R

Hey there,

I really like this plugin, works well for me!

Is there a way to use an input_select or some other variable as the query for unsplash? That way I can more easily change the category for what is being displayed rather than having to edit the UI every time?

Thanks!