-
Notifications
You must be signed in to change notification settings - Fork 57
Home
Update: June 14, 2022, Dark Sky will no longer be available starting March 2023 Considering using Initial State Integration Marketplace for codeless weather data. :)
Update: June 7, 2018, Tutorial updated to use Dark Sky API instead of Wunderground. :)
Update: May 15, 2018, Wunderground and IBM have stopped providing free API keys. :(
Update: added METRIC_UNITS option to select between metric and US units; updated scripts to have better error handling to reduce unwanted script exits
Updated: two new bonus sections - adding a map to your dashboard and adding weather alerts
Let's face it, we humans talk about the weather a lot ⛅️. The average person talks about the weather four times a day, for an average of 8 minutes and 21 seconds. Do the math and that totals 10 months of your life that you will spend yapping about the weather. The weather ranks as the #1 go-to topic for conversation starters and uncomfortable silence breakers. If we are going to talk about it that much, we might as well take our weather street cred to a whole new level. This super-fun and easy project will leverage the Internet of Things (IoT) and a Raspberry Pi to do just that.
We are going to build our very own hyper-local weather dashboard, capturing the weather inside and outside our house over time. The next time someone asks you "how about the weather lately?", you will be able to whip out your phone and leave them breathless with your mad weather analysis skillz ☀️.
What you will need to take the course:
- Raspberry Pi w/ internet connectivity
- Raspberry Pi SenseHAT
- 6" 40-Pin IDE Male to Female Extension Cable (optional for temperature accuracy)
- That's it!
Project level: Beginner
Approximate time to complete: 20 minutes
Approximate fun factor: Off the charts
In this step-by-step tutorial, you will:
- learn how to use a weather API (Dark Sky) to get the local outside weather in your area
- learn how to use a Raspberry Pi (http://www.raspberrypi.org) with a Sense HAT (https://www.raspberrypi.org/products/sense-hat/) to capture weather data inside your house
- build your own personal hyper-local weather dashboard that you can access from any web browser on your laptop or mobile device (live example at https://go.init.st/0hw08py )
- setup your own weather alerts
- become a weather badass