1 collaborator pixelWeather rev. 47 (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

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-02-16 12:47:31 17.83 KiB
README.md 2021-02-16 12:47:31 1.33 KiB
errorstate.py 2021-02-16 12:47:31 1.74 KiB
rain.py 2021-02-16 12:47:31 6.8 KiB
thunderstorm.py 2021-02-16 12:47:31 6.8 KiB
partlycloudy.py 2021-02-16 12:47:31 3.43 KiB
cloudy.py 2021-02-16 12:47:31 3.42 KiB
icon.py 2021-02-16 12:47:31 779 B
sunbehindcloudwithrain.py 2021-02-16 12:47:31 3.43 KiB
snow.py 2021-02-16 12:47:31 6.79 KiB
sunny.py 2021-02-16 12:47:31 5.11 KiB