Turn an RGB LED into a weather forecast indicator
License
zeenix/rasp-led-weather
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
master
Could not load branches
Nothing to show
Could not load tags
Nothing to show
{{ refName }}
default
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code
-
Clone
Use Git or checkout with SVN using the web URL.
Work fast with our official CLI. Learn more about the CLI.
- Open with GitHub Desktop
- Download ZIP
Sign In Required
Please sign in to use Codespaces.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching GitHub Desktop
If nothing happens, download GitHub Desktop and try again.
Launching Xcode
If nothing happens, download Xcode and try again.
Launching Visual Studio Code
Your codespace will open once ready.
There was a problem preparing your codespace, please try again.
Latest commit
Git stats
Files
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
RaspLEDWeather ============== Just a simple app that shows weather forecast on an RGB LED conneted to GPIO pins of a Raspberry Pi. It makes use of Geoclue to find the user's location and libgweather to fetch the weather forecast and gpiozero library to access the LED. Here is how it's supposed to behave: * blink red 3 times, each time weather is updated (first time on launch). * forecast is updated every hour. * forecast is shown for every 12 hours, for next 3 days. * each forecast is shown for 5 seconds. * blink green N times before showing each forecast, where N is index of 12 hours. E.g 2 blinks mean the following forecast is for 24 hours from now. * steady unlit LED after each iteration of weather forecast. * Forecast is shown as colors: * yellow: Sunny/Clear sky * purple: Cloudy (>= 5 oktas) or foggy * cyan: Light rain * blue: Rain * white: Snow The pin configuration is set in pins.py. Just update the pin numbers as per your configuration.
About
Turn an RGB LED into a weather forecast indicator
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published