I initially made the ☀️ Sol Mate GPT, but it didn't take too long until I wondered what it would look like on an e-Paper display. This repository

Search code, repositories, users, issues, pull requests...

submited by
Style Pass
2024-06-07 12:30:08

I initially made the ☀️ Sol Mate GPT, but it didn't take too long until I wondered what it would look like on an e-Paper display.

This repository contains all the code that was needed to generate and display a weather report for any specified location on a Raspberry Pi with an attached Waveshare e-Paper display.

I recommend setting up a virtual environment for Python, such as uv, first. Here are the instructions for if you're using uv (to be run inside the clone of this repo):

You will need to specify an OPENAI_API_KEY environment variable. For your convenience, the code will load environment variables from a .env file in the current working directory.

I set up a cron job (crontab -e) to update the image two times per day, but keep in mind this can end up costing a non-trivial amount:

Leave a Comment