Introduction: PiZero Colored Weather Station
I want to show you in this project how to build a nice looking weather station based on Raspberry Pi Zero W for wall mount with weather forecast and coloured 2.8 inch TFT screen.
Step 1: Tools & Materials
Materials:
- Raspberry Pi Zero W
- AZ-Touch Pi kit
- SD card (8GB or bigger)
Tools:
- Soldering iron
- solder wire
- long nose plier
- mini side cutter
- multimeter
Step 2: Assembly
This project based on our AZ-Touch Pi0 kit for Pizero. Please follow the attached assembly instruction.
Step 3: Software
The software based on the great work of LoveBootCaptain.To make it compatible to AZ-Touch it was needed to recompile the rpi--display-overlay driver. You will find a copy of the changed driver and prepared Raspbian image here
Step 4: Installation
Download the image and copy it with Win32DiskImager to an SD card. You can follow this tutorial to setting the Wifi headless.
Step 5: Weatherbit.io Account
Go to weatherbit.io and register for a free account to get an API key
Step 6: Edit the Config File
Now establish a SSH connection (via Putty) to the PiZero!
cd
cd WeatherPi_TFT
sudo nano config.json
- replace xxxxxxxxxxxxxxxxxxxxxxxxx in "WEATHERBIT_IO_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxx" with your own API key
- replace de in "WEATHERBIT_COUNTRY": "de" with your country code
- replace en in "WEATHERBIT_LANGUAGE": "en" with your preferred language
- replace 10178 in "WEATHERBIT_POSTALCODE": "10178" with the postal (zip) code of your city (default loaction is Berlin)
- for language-support, please refer to -> Weather.io API Docs
Reboot your Pizero. The weather station will start automaticaly after reboot.
1 Person Made This Project!
- s1ng0 made it!
2 Comments
2 years ago
We've changed the provider to weatherbit.io - please check the latest software version on GITHUB
Question 2 years ago
Hello :)
I want to ask that are you willing to make this with esp8266 with openweathermap?
The Dark Sky Weather is not providing api keys anymore and the egsisting api keys will only work for the end of 2021.
Pls exuse me if my question is stupid :)