Skip to content
Elizabeth Adams edited this page Jun 14, 2022 · 28 revisions

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


Introduction

Intro Movie Thumbnail

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:

Complete Setup with Cable

  1. Raspberry Pi w/ internet connectivity
  2. Raspberry Pi SenseHAT
  3. 6" 40-Pin IDE Male to Female Extension Cable (optional for temperature accuracy)
  4. 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:

Getting Started >>