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 any sensors you will want to collect readings from.
If you are only running one Raspberry Pi Zero, as long as you have Raspbian, the tools will be there, even if you are doing it on your central command OpenHAB system.
How to do it...
- Configure...