-
1Setting up the Raspberry Pi 4
This is a excellent tutorial for those who are just starting out with the Raspberry Pi 4. The tutorial is presented by the Raspberry Pi Foundation and can be found here.
-
2Install some software for Pizilla
cd PiClock cd Clock cp ApiKeys-example.py ApiKeys.py sudo nano ApiKeys.py
You need to install a couple of packages:
sudo apt-get install python-qt4 pip install rpi_ws281x git clone https://github.com/n0bel/PiClock.git
-
3Get a Darksky and Mapbox key
First you need Mapbox key from here. The Darksky key from here. This will tell Pizilla what you current weather and forecast should be and set up the radar on your clock. Once you have them to need to be included in the config file.
cd PiClock cd Clock cp ApiKeys-example.py ApiKeys.py nano ApiKeys.py
Now you can edit the ApiKeys.py to include the keys:
dsapi = 'YOUR DARKSKY API KEY'
mbapi = 'YOUR MAPBOX ACCESS TOKEN'We need to get our Latitude and Longitude. I found mine in Google Maps.
cd PiClock cd Clock cp Config-Example.py Config.py sudo nano Config.py
-
4Change Fahrenheit to Celsius and change the background Picture
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.