MCH2022 badge?
go to mch2022.badge.team

1 collaborator pixelWeather rev. 48 (by opeRaptor)

pixelWeather

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.🌒

GitHub link: https://github.com/opeRaptor/pixelWeather

Feedback? DM me on Twitter 🐦: @suprnova

Make app run on boot:

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()

Specify your location manually:

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":""})

Install app without using the store:

import wifi, woezel,machine
wifi.connect()
wifi.wait()
woezel.install("pixelWeather")
machine.reset()

pixelWeather

Category: data
Status: in_progress
Vote Comment Date
No votes yet :(
Compatibility
  • Pixel: in_progress
Dependencies
  • No dependencies found
Dependants
  • No dependants found
Collaborators
File Last edited Size
__init__.py 2021-03-13 14:35:26 17.85 KiB
README.md 2021-03-19 08:13:26 1.4 KiB
errorstate.py 2021-03-13 14:35:26 1.74 KiB
rain.py 2021-03-13 14:35:26 6.8 KiB
thunderstorm.py 2021-03-13 14:35:26 6.8 KiB
partlycloudy.py 2021-03-13 14:35:26 3.43 KiB
cloudy.py 2021-03-13 14:35:26 3.42 KiB
icon.py 2021-03-13 14:35:26 779 B
sunbehindcloudwithrain.py 2021-03-13 14:35:26 3.43 KiB
snow.py 2021-03-13 14:35:26 6.79 KiB
sunny.py 2021-03-13 14:35:26 5.11 KiB