Skip to content

rickhewes/raspberry-pi-glowing-weather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Raspberry pi and unicorn pHAT glowing weather indicator. Downloads observational and 3 day forecast weather feed from the BBC Weather and displays the data as a temperature map.

Here is the display in action:

alt text

Here is the temperature map that is used for the observational and 3 day forecast data:

alt text

Installation

Install the support library for the unicorn-hat if you haven't already:

curl -sS https://get.pimoroni.com/unicornhat | bash

Optional, install the unicorn hat simulator (for running without the unicorn-hat on a desktop):

sudo pip3 install git+git://github.com/adamkaplan/unicorn-hat-sim@patch-1#egg=unicorn-hat-sim

Clone and run the python script;

git clone https://github.com/rickhewes/raspberry-pi-glowing-weather/
cd raspberry-pi-glowing-weather
sudo ./glowing-weather.py

Change the location id

Set your own location id by finding your town on the BBC Weather page and copying the code found at the end of the url into the file. e.g. https://www.bbc.co.uk/weather/0/2656171

locationId = "2656171"

About

Raspberry pi and unicorn pHAT glowing weather indicator

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages