Live weather/astro information for the Pixel badge written in microPython using the wttr.in API~
No configuration needed! Location and timezone automatically set using IP geolocation
⛅️Fully animated weather conditions⛈
🌘At sunset, moonphase replaces current condition.🌒
Hatchery link: https://badge.team/projects/pixelWeather/
This is useful for long term running of the app to recover from occasional crashes
import machine
machine.nvs_setstr("system", "default_app", "pixelWeather")
machine.reset()
You can specify your location manually by saving the nearest city name in flash
To verify it with the API go to:http://wttr.in/CITYNAMEHERE
import valuestore
valuestore.save('pixelWeather', 'settings', {"localisation":"CITYNAMEHERE"})
To go back to automatic IP based geolocalisation
import valuestore
valuestore.save('pixelWeather', 'settings', {"localisation":""})
import wifi, woezel,machine
wifi.connect()
wifi.wait()
woezel.install("pixelWeather")
machine.reset()