Skip to content
This repository has been archived by the owner on Jun 12, 2022. It is now read-only.

strangetom/pihat_weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pihat_weather

This repository contains the code for displaying the weather forecast on two Raspberry Pi Zero phats: the Scroll pHat and the PaPiRus Zero.

PaPiRus Zero

weather_eink.py displays weather information. The main screen shows alert status (if any), location, temperature, current condition icon , and summary of current conditions or time and date.
Main There are 5 buttons that show secondary screens of information for 10 seconds before restoring the main display. Button 1 (far left) shows sunrise and sunset information.
Sun
Button 2 shows the forecast for the next two days.
Forecast
Button 3 shows a graph of the temperature for the next 24 hours. The dotted line indicates 0'C.
Graph
Button 4 shows any current weather warning information.
Alert
Button 5 is current not in use.

Scroll pHat

weather_led.py scrolls the time, temperature and weather summary across the pHat. The weather updates every 5 minutes using https://darksky.net/ as a data source.

About

Displays the weather forecast on a phat_scroll or PaPiRus Zero

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages