You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
Tim 15aeb456d0
feat: new images
3 years ago
docs Working PoC 3 years ago
images/weather feat: new images 3 years ago
LICENSE License 3 years ago
README.md Today & Tomorrow is where its at 3 years ago
config.json Working PoC 3 years ago
pi_weather.py Today & Tomorrow is where its at 3 years ago
piweather.service Systemd service 3 years ago

README.md

Pi-Weather

Weather Station built for Raspberry Pi Zero with a 2.7" PaPiRus E-Ink Display

How to install

1. First install requirements:

#PaPiRus
curl -sSL https://pisupp.ly/papiruscode | sudo bash

#Weather API
sudo python3 -m pip install weather_au

More info on PaPiRus manual setup can be found on their repository.

2. Modify config.json with your location

$EDITOR config.json

3. Run the python script

python3 pi_weather.py

4. You should get a result similar to this:

Image of Pi-Weather

5. Install the systemd service to start on boot

sudo cp piweather.service /etc/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable pipweather.service

Features

  • Uses BOM API / Scraping (via weather_au pip module)
  • Grabs a random fact each rotation

Future Work

Replace PaPirusComposite with something else, so that we can Update specific sections when items change

Debugging

BOM API Info: