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:
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
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
@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
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
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?
Great idea. Is there a way to set it up to just produce a black screen? I donāt want to show pictures; I just want the device to sort of disappear into the wall when not in use. To quote Spinal Tap, āHow much more black could this be? And the answer is none ā none more black.ā
This would also eliminate the concern about using Unsplash and the cloud.
if your using the mobile app on the device. you cloud remove the lock code for easy open and let the device it self go to black screen. if you want black it seems like the easiest way?
Normally, yes. In this particular situation, the tablet is mounted on a wall in portrait mode, and the power button is difficult to get to. Itās a lower-end tablet by Vankyo, and doesnāt support double-tap-to-wake. So, I canāt let the device go to black screeen, because itās hard to wake it up. Iām looking for alternatives to get what I want.
The tablet itself uses 9.0, but doesnāt implement all of the āauxā functions. And there are no easy ways to bypass the power button:
Swipe to wake = PWR + swipe
Lock code = PWR + swipe + code
etc.
Not expecting you to change your code; just hoping to stumble on a workaround. Iāve started using WallPanel for Android (vs Chrome), which does pretty much what I want, except the black screen doesnāt kill the backlight. So, I have a night light!
Iām new to Home Assistant and experimenting with creating a custom screensaver using the clock-weather-card. Iāve been making some progress, but Iām running into a few issues and would really appreciate your help!
My Issues:
Enlarging the Weather Icon (pink circled):
The weather icon (e.g., cloudy, sunny, etc.) looks too small compared to the rest of the card. Iād like to make it more prominent. When I try increasing the size using card_mod, either nothing changes or the icon appears cut off.
Adjusting Forecast Layout (orange circled):
The forecast rows (day, temperature, etc.) are now well aligned and nothing is cut off, but the entire layout feels too small overall. Iād like to āscale upā the whole section to better fit the screensaver.
Scaling the Entire Card:
Although Iāve managed to resolve some layout issues, the card still feels too small when viewed on my screen. Iāve tried using the zoom property in card_mod, but the results donāt quite give the larger, readable look Iām aiming for.
My Current YAML:
Below is the code Iām using. Iāve worked on it with the help of ChatGPT, which has been super helpful for me as a newbie! However, I canāt quite figure out how to achieve the scaling and alignment adjustments I need:
@tcarlsen Hi Thomas! I had a question - do you think it would be possible to set up a new version of this project and instead of Unsplash, you could point the image slideshow pull from a Tumblr Website?!