Making the RPZ an IoT Sensor Node

An Internet of Things sensor node is a set of sensors (but could also be output devices) that you would generally put in a remote area and have report to a central command. This way, you can have multiple sets of sensors (in the garage, or attic, or chicken house), all sending in their environmental information to a central processor. In this recipe, we will work with our previous installation of OpenHAB to have a remote Raspberry Pi Zero communicate back and forth.

Getting ready

You'll want a second Raspberry Pi, in addition to the one you have running OpenHAB, with a Wi-Fi adapter. The Zero works great, but really any version will do. Install the Raspbian operating system on your sensor node. You'll also want ...

Get Raspberry Pi Zero Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.