Skip to content

falken20/parrao_weather_web

Repository files navigation

drawing Personal Portfolio web

Version GitHub language count GitHub Top languaje Test coverage GitHub License

Richi web Twitter

Web to get the summary data from the personal weather station


Endpoint

https://richionline-portfolio.nw.r.appspot.com

Deploy in Google Cloud Platform using app.yaml
gcloud app deploy
Setup
pip install -r requirements.txt
Running the app
flask run (with .flaskenv)

or

flask run -app PATH_APP
Setup tests
pip install -r requirements-tests.txt
Running the tests with pytest and coverage
./scripts/check_project.sh

or

coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*
Environment vars
ENV_PRO=N
LEVEL_LOG="INFO, WARNING, ERROR"

# Weather Underground API key
API_KEY_WUNDERGROUND=XXXXx
STATION_ID=ICERCE9

# Weather EcoWitt API key
API_KEY_ECOWITT=XXX
APPLICATION_KEY=XXXX
STATION_MAC=BC:FF:4D:10:E4:C5

Doc API ecowitt.net

https://doctest.ecowitt.net/web/#/apiv3en?page_id=17

Doc API wunderground.com

API Weather Links: https://docs.google.com/spreadsheets/d/1g_gUj-WR_maWQo5XonNlpYNXOv6sZvzpobNjf6pl5UE/edit#gid=0 API General doc: https://docs.google.com/document/d/1eKCnKXI9xnoMGRRzOL1xPCBihNV2rOet08qpE_gArAY/edit API Current conditions: https://ibm.co/v2PWSCC

Icons used

https://icons8.com/

Versions

1.0.5 New big icon and Python 3.10 1.0.4 Control error when no data in month or year 1.0.3 Format year summary rain to 2 decimal 1.0.2 Unit tests 1.0.1 Some bugs fixed and UX details 1.0.0 First version