Skip to content
/ pipaper Public

Raspberry Pi based e-paper display that shows the current time and weather condition

License

Notifications You must be signed in to change notification settings

olafrv/pipaper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pipaper

What is Pipaper?

Pipaper

Pipaper is a custom made Raspberry Pi based e-paper display that shows the current time and weather condition (icon). The weather data is fetched from WeatherAPI.

Hardware

  • Raspberry Pi Zero 2 WH + 64GB microSD card
  • Raspbian OS (Bookworm) 64-bits with SPI enabled
  • Waveshare 2.13inch e-Paper HAT (V4) 255x122 pixels
  • Python 3.10.12

Software

Installation

Clone the repository

git clone github.com/olafrv/pipaper.git
cd pipaper

Install dependencies

Without a virtual environment:

sudo apt install --yes $(cat requirements.txt | sed 's/^/python3-/g')

With a virtual environment:

python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Configuration

Create .env file with the following content:

WEATHER_API_KEY="weather_api_key"
WEATHER_API_LAT="47.7796"
WEATHER_API_LON="10.6183"
EPAPER_WIDTH=250
EPAPER_HEIGHT=122

Run the application

python3 main.py

Run the application on boot

bash service.sh  # Install the service on boot
journalctl -u pipaper  # Check the service logs
# sudo systemctl stop pipaper
# sudo systemctl start pipaper

Raspberry Pi Zero 2 WH

Waveshare e-Paper Display

WeatherAPI

Noto Color Emoji

About

Raspberry Pi based e-paper display that shows the current time and weather condition

Topics

Resources

License

Stars

Watchers

Forks