WeatherStation is an app which get the weather info from OpenWeather API. Its main purpose is generating of an image for RaspberryPi with e-Paper screen.
App is compatible with Python 3.7 to Python 3.12.
All required modules are in requirements.txt file.
Application (screen mode) is created for Waveshare 7.5inch E-Ink (800×480) display.
Some data (e.g. API key) needs to be stored in .env file.
API_KEY=<your-open-weather-API-key>
# User defined variables
LATITUDE=<your-latitude-coordinate>
LONGITUDE=<your-longitude-coordinate>
FORECAST_HOURS_COUNT=16
It can be used in two modes:
- screen mode with RaspberryPi and e-Paper screen,
- test mode (save image on the local disk and show it).
- Clone repository by "git clone https://github.com/todr93/WeatherStation".
- Use "createEnvironment.bat" to create virtual environment and install all required modules.
- Use "runTestMode.bat" to run application in test mode.
- Clone repository by "git clone https://github.com/todr93/WeatherStation".
- Make scripts executables:
- "chmod +x createEnvironment.sh",
- "chmod +x runTestMode.sh".
- Use "createEnvironment.sh" to create virtual environment and install all required modules.
- Use "runTestMode.sh" to run application in test mode.
- Clone repository by "git clone https://github.com/todr93/WeatherStation".
- Make scripts executables:
- "chmod +x createEnvironmentRasp.sh",
- "chmod +x runScreenMode.sh".
- Use "sudo createEnvironmentRasp.sh" to install all required modules.
- Use "runScreenMode.sh" to run application in screen mode.