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.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
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