- Download the latest release (2020-12-09)
- Unzip the downloaded file
- Write the image to your SD card. See here for details.
- Boot your Raspberry Pi and wait for WeatherPi_TFT to start.
You can follow this tutorial to setting the Wifi headless.
or you can use a Raspberry Pi (2/3/4) connected to Ethernet via Putty and SSH:
sudo raspi-config --> 2 Network Options --> N2 Wi-fi
sudo raspi-config --> 4 Localisation Options --> I1 Change Locale --> change your language ISO-8859-1 locales
Please note you can choose under 4 Localisation Options your time zones too!
get an api key from weatherbit.io:
- go to weatherbit.io
- and register to get an API key
- choose the free version of the API
Edit config file
cd cd WeatherPi_TFT sudo nano config.json
"WEATHERBIT_IO_KEY": "xxxxxxxxxxxxxxxxxxxxxxxxx"with your own API key
"WEATHERBIT_COUNTRY": "de"with your country code
"WEATHERBIT_LANGUAGE": "en"with your preferred language
"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!
Because the wiring of the TFT is different to the overlay rpi-display it was needed to recompile the original rpi-display overlay. You will find the changed source and the new compiled file here.
I've tried to run the sources of WeatherPi_TFT on the latest version of Raspbian OS but without any success. It looks like Pygame will not be able to redirect the video output to /dev/fb1 .
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.