Rachel edited this page Oct 3, 2018 · 24 revisions

Hyper-local Weather Dashboard: Weather API (Dark Sky) + Pi Sense HAT


Intro Movie Thumbnail

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:

  1. Raspberry Pi w/ internet connectivity
  2. Raspberry Pi SenseHAT
  3. 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
  • setup your own weather alerts
  • become a weather badass

Getting Started >>

You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.
Press h to open a hovercard with more details.