Pavel Marceluch

Weather printer

One of the first projects I made with my first thermal printer was this weather app. The setup right now involves Home Assistant running the script on our home server to which the printer is connected. Home Assistant prints this small weather receipt at 8:00 every day, providing useful information.

I used the OpenWeatherMap.org API, which was pretty easy to implement and most importantly free. I also stole their icons for the graph.

Information on the receipt:
Date and time Temperature (and apparent)
Wind speed and direction
Humidity
Pressure
Visibility
Cloudiness
Sunrise and sunset

The graph shows the temperature in the next 11 hours. Vertical lines show the sunrise and sunset and a horizontal line would show 0°C.

Tags: