Skip to content

Display Weather data on a Raspberry Pi 7" Touchscreen

Notifications You must be signed in to change notification settings

dcreith/WeatherConsole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherConsole

WeatherConsole is a Python application making use of a 7" multi-touch screen to display data from a DB and WeatherUnderground.

See the WeatherPi & WeatherServer repositories for complementary applications that capture and log the data.

WeatherConsole (weather_console.py) was pulled together from various other Raspberry Pi projects. The core function paints the screen and waits for touchscreen input while periodically querying for new data via web calls.

Yesterday's and Today's temperatures are pulled from the DB and graphed. Current information (temperature, humidity, barometric pressure), overnight low, daytime high are shown.

Forecasts are pulled from WeatherUnderground with the local wind direction and speed. If WeatherUnderground information is not available it is left blank.

I combined some of the ft5406 touch functionality with a library I hijacked from another project to get better control over button placement & what I could show (or not show) in a button.

(See LapsePiTouch for info on secondary touch handler)

Weather Weather

Console Control Console Control

Station Control StationControl

Prerequisites:

Raspberry Pi (anything that supports the 7" multi touch screen)

7" Multi Touch Screen (I had to run separate power jumpers although the documentation claims you don't need them)

Python Multitouch (FT5406) Library

Setup

7" Multi Touch Screen - plug in, get libs

Cron - see sample crontab, I reboot once a day to cover any interruptions

Get repo:

git clone https://github.com/dcreith/WeatherConsole.git

Usage:

cd home/pi/weatherconsole

sudo python weather_console.py

About

Display Weather data on a Raspberry Pi 7" Touchscreen

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published