
Live weather dashboard on the HiBreak lockscreen (Tasker + Termux)
Full disclosure up front: this is probably not worth the squeeze. It's a decent amount of setup for a weather readout you could just... open a weather app for. But if you've already got Tasker (costs around $5) and Termux kicking around on your HiBreak, it's a fun little one to try, and it looks clean on the e-ink.
β‘οΈ Link Here
It stamps a small weather dashboard across the top of your screensaver image β temp, feels-like, rain chance, cloud cover, humidity, plus the date and your location. It draws on top of whatever your screensaver already is, so it plays nicely with coverprogress (stamps over the book cover) or any static image you point it at.
This is designed to work alongside the KOreader pluginsΒ CustomisableSleepScreenΒ orΒ CoverProgressΒ which puts your current book cover (with reading progress and stats) as the Bigme screensaver. It will still work on any screensaver without the KOreader plugin, you will just have to point to the directory of the image in Taker (fully explained in the Readme).
How it works
- Tasker grabs your GPS and fires every 2 hours (Can be customised in Tasker).
- It hands the coordinates to a small Python/Pillow script in Termux, which pulls weather from Open-Meteo (free, no API key) and renders the strip.
- The script writes it back onto your screensaver image. That's it.
Tasker handles the two things Android makes painful on these vendor ROMs β reliable background location and scheduling β so Termux only wakes for a second or two per run. No cron, no Termux:API, nothing locked open in the background.
Options
- Mono line icons (IBM Carbon) or full-colour icons (Glyphs Poly) β nice if you've got a colour panel.
- Any system font.
- Auto dark-mode: flips to white-on-black when your cover's top is dark, so it matches dark covers.
Recommend to be used with one of the KOreader plugins for live book updates:
- The screensaverapp (
com.xrz.standby) composites your image into/data/xrz/standby.pngand caches it. If you overwrite the source image with a rename / atomic-replace, it'll happily keep showing a stale frame on the next lock. The fix that finally worked: write the new image in place with a plaincpover the existing file, rather than renaming a temp file over it. That one cost me an embarrassing amount of debugging. - Background GPS straight from Termux is a losing battle on the HiBreak β the phantom-process killer eats the location helper unless the app's foregrounded. Letting Tasker fetch the fix and pass it in sidesteps the whole thing.
Setup's all in the README β three apps (Termux, Termux:Tasker, Tasker), and the Tasker task is a one-tap import from the included XML. Fair warning: it's fiddly, and Tasker's paid ($4.49 USD/ $7.49 AUD).