I built a low-power weather display

Living in Austin, most days are warm. Shorts weather. But from mid-November to mid-April, it can be a tossup of how much I need to bundle up. This presents a problem: I want to know how cold it is outside so I can dress appropriately.

Now, this is a great use-case for a voice assistant. But I don't want to talk to Google in the morning! Just not a great way to start the day.

So I built this: weather station

This is my Raspberry Pi weather station. It's cheap (less $50 total) and fun to set up.

First of all, I am amazed at what this $15 computer can do. I recommend using the Raspberry Pi Imager and enabling WiFi and SSH access. After plugging it in and waiting for a couple of minutes, it was ready to go. Updating did take some time, but it probably wasn't necessary. After some troubleshooting (make sure to enable the SPI interface! details in the waveshare manual) I got the example program to run.

Once there, I used the Open Weather API to pull down the current temperature for my location and pass that to the imaging function that waveshare provides.

Finally, I set up a cronjob to run at the top of every hour to get the current weather.

Hardware

Software All my code is open source and available on GitHub. You'll want to check out the waveshare manual, which has a dedicated section for Raspberry Pi.