PiWeatherRock displays local weather on (almost) any screen you connect to a Raspberry Pi. It also works on other platforms, including macOS.
More information about the project and full documentation can be found at https://piweatherrock.technicalissues.us. Be sure to check out the getting started guide under the documentation link there for instruction on how to set everything up.
- edit
version.pyaccording to the types of changes made - edit
requirements.txtif needed python3 setup.py sdist bdist_wheeltar tzf dist/piweatherrock-*.tar.gztwine check dist/*- [optional]
twine upload --repository-url https://test.pypi.org/legacy/ dist/* twine upload dist/*- Create a git tag and push it
python3 -m venv env_name
source env_name/bin/activategit clone https://github.com/carloshm/PiWeatherRock.git
cd PiWeatherRock
git pull (for any additional external change after a while)Make changes
git add .
git commit -m "changes description"
git push origin mainpython3 -m pip install --upgrade setuptools wheel
python3 -m pip install .
python3 ./scripts/pwr-ui -c ./piweatherrock/piweatherrock-config.jsonhttps://api.open-meteo.com:443 "GET /v1/forecast?latitude=40.299457&longitude=-3.743399&appid=openmeteo-request-piweatherrock&timezone=Europe/Madrid&models=best_match&forecast_days=4¤t_weather=true&temperature_unit=celsius&windspeed_unit=kmh&precipitation_unit=mm&timeformat=iso8601&hourly=visibility,weathercode,temperature_2m,relativehumidity_2m,apparent_temperature,surface_pressure,cloudcover,windspeed_80m,precipitation,precipitation_probability,dewpoint_2m,windspeed_10m,windgusts_10m,winddirection_10m,cloudcover_low,direct_radiation&daily=sunrise,sunset,uv_index_max,weathercode,temperature_2m_max,temperature_2m_min,apparent_temperature_max,apparent_temperature_min,precipitation_sum,precipitation_probability_mean,precipitation_probability_min,windgusts_10m_max,precipitation_probability_max,windspeed_10m_max,winddirection_10m_dominant HTTP/1.1"