Skip to content
SHA2017 Badage Weather Forecast App
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
LICENSE
README.md
__init__.py
esp-weather-server.service
metadata.json
service.json
service.py
weather_server.py

README.md

SHA2017 Badge Weather Status App

This App displays the weather outlook for the next 5 days using the buienradar weather API.

Configuration

The app uses a buienradar specific location code which you'll need to obtain for your own location. This can be done via the following url where you replace Delft with your own location.

https://api.buienradar.nl/data/search/1.0/?query=Delft&country=NL&locale=nl-NL

Returned is a JSON object which contains possibly multiple objects for your location, get the correct location and extract the number id from the 'uri' value.

Installing

Installation can be achieved with mpfshell.

  1. Connect the badge
  2. Open a serial connection and import shell
  3. Close the connection
  4. Start mpfshell

In mpfshell:

  1. open ttyUSB0
  2. cd /lib
  3. md weekweather
  4. cd weekweather
  5. mput .*.py
  6. mput .*.json
  7. exit
You can’t perform that action at this time.