|
||
---|---|---|
docs | ||
images/weather | ||
LICENSE | ||
README.md | ||
config.json | ||
pi_weather.py | ||
piweather.service |
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:
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: