Rachel edited this page Sep 20, 2017 · 4 revisions

Your Very Own Raspberry Pi Smart Home Hub


Introduction

We live in a wonderful time where incredibly capable devices with internet connectivity cost less than $20. This makes developing your own "Internet of Things" things easier than ever. An ever-growing concern with all of these internet-connected devices, however, is security. Many of these little devices can't handle basic security encryption like TLS (Transport Layer Security). And if you want to stream to a secure platform like Initial State, you must be able to perform a secure authentication "handshake". So how can we fix this?

By using a device actually capable of using security protocols, like the Raspberry Pi, we can route "insecure" requests on a local network through this "hub", encrypt the requests, and then send them over the worldwide web. So we get the security provided by a heavy device like the Pi, with all the price advantages of a cheap, internet-connected board! And the best part? The hub is device agnostic, meaning you can use any device/combination of devices to build your smart home!

Project level: Beginner
Approximate time to complete: 20 minutes (if your Pi is up-to-date & running Jessie already)
Smart home possibilities: Limitless

In this step-by-step tutorial, you will:

  • learn how to install and start a NodeJS server on the Raspberry Pi
  • learn how to connect to and stream through the "hub"
  • become obsessed with placing tiny devices all over your home

Part 1: NodeJS Server >>

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.