Show HN: Print the daily weather forecast on a thermal receipt printer

5 chr15m 2 7/30/2025, 2:34:51 PM github.com ↗
I wrote this simple Python script that prints the daily weather forecast on those cheap thermal receipt printers you can get online for under fifty bucks. It fetches weather data, converts the icons to something printable, and outputs everything in ESC/POS format so you can pipe it directly to /dev/USB/lp0.

Nothing fancy, i just thought it would be nice to have a physical weather printout each morning.

You can configure it with your GPS coordinates and timezone, and stick it in a cron job.

Enjoy!

Comments (2)

orphea · 19h ago
Please be aware that some thermal paper is not safe: https://www.pca.state.mn.us/business-with-us/bpa-and-bps-in-...
chr15m · 4h ago
From the link: "Handle receipts as little as possible"

Some good tips there. Will bear that in mind, thanks!