Skip to content

opeRaptor/pixelWeather

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Hatchery link: https://badge.team/projects/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

About

Weather condition on your PixelBadge!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages