I made a thing. 😎
After diving into #HomeAssistant, I discovered #ESPhome and started playing with it.
Now I have an #ESP32 board that fetches dad-jokes in regular intervals (https://icanhazdadjoke.com/) and displays them on a little e-ink display that was leftover from another project.
Took me a while, and my family hates the jokes. Time well spent. 🤣
I have other plans for the hardware. This was a "I have a solution, now I need the right problem"-situation. 😏
@ronald maybe you'll share the code?
@dermike
Sure: https://pastebin.com/4uvqAi1L
There's no magic involved, the only complicated part is the line-wrapping, which seemingly has to be user-implemented (and I took code I found online for that).
Oh, and the display is only updated _after_ the interval, so the first change is visible after a minute.
But as I mentioned: this was just to get to know ESPhome, this is not a permanent "solution". 😉
paperdisplay - Pastebin.com

Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.

Pastebin
@ronald Cool. Battery? I think sticking one next to each toilet would be appropriate.
@mcr314
Great idea, but I don't think it would have a chance at the family council... 😏