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 for info on secondary touch handler)
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)
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