Lewis links Arduino room sensors to openHAB before tackling predictive home automation

Arduino, openHAB, RF sensors

This is the read-only HTML version. For the full Visual Space experience, open the app.

Arduino RF sensor node — Image

Arduino RF sensor node — Image

Source: Home automation using RF mesh network and arduino on Hackaday.io · Lewis

Local home automation

A working RF sensor link and a locally controlled smart plug give this home-automation project a practical foundation. The larger ambition—predicting which rooms need heat, light and entertainment—exposes the gap between collecting sensor readings and making a house respond reliably.

A house that responds to its occupants needs more than another remote-control app: it needs information about individual rooms and a way to act on it. Lewis’s home-automation project on Hackaday.io approaches that problem with Arduino sensor nodes, NRF24L01 radios and an openHAB server. The visible build logs, spanning May 2015 to January 2016, show working pieces of that infrastructure—not yet the predictive, whole-house system Lewis envisioned.

Room readings reach openHAB

The first concrete milestone is a short but important chain: a sensor takes a reading, a radio carries it to another node, and the home-automation server displays it. In the May 15, 2015 update, Lewis reported two working nodes. Node 1 had a DHT11 temperature sensor; node 0 used an Arduino Nano and an NRF24L01 with an antenna, connected to the server and openHAB.

By May 27, a soldered prototype combined temperature, humidity and light sensing, with space reserved for two appliance-control relays. Lewis powered the sensors from a USB battery pack and reported radio coverage throughout the house and outside, even with the radio’s built-in antenna.

That result came with a useful boundary: an upcoming move would put the radios behind thick stone walls that Lewis said already caused trouble for Wi-Fi. Coverage in the first house wasn’t proof of coverage in the next one.

The proposed mesh was meant to let nodes find another route if a sensor failed. A working radio link is not yet a demonstrated self-healing mesh, however. These excerpts establish sensor-to-server communication, but don’t document a rerouting test. Lewis’s May 2015 discussion comment described combining existing Arduino mesh code and publishing it when complete; it was still development work.

Local control becomes the foundation

The server also moved from a PC to a Raspberry Pi 2. In the June 8, 2015 log, Lewis described running openHAB alongside OpenRemote, Kodi and Python, with an RF-equipped Arduino connected over Ethernet for two-way communication. Lewis reported lower power consumption than the replaced computer, without giving measurements.

The January 16, 2016 update gives the clearest deployment snapshot: the Pi was running openHAB around the clock, with one sensor and one smart plug connected. Lewis had modified smart plugs to communicate with the local server rather than wait for an internet service, reporting an immediate response without dependence on a working internet connection.

That modest installation matters more than the longer equipment list. It joins sensing and control under one system—the necessary groundwork for rules that do something useful.

Prediction remains the larger ambition

Lewis called the proposed predictive software “Footsteps.” It would learn room-use patterns, warm likely destinations ahead of time, and make lighting, music and television follow occupants. Those are goals in the project description, not demonstrated outcomes in the visible logs.

There was already a concrete reason to improve occupancy sensing. Lewis reported that a Nest thermostat could enter its away mode when nobody visited the room containing it, and wanted additional presence sensors around the house to address that blind spot. Knowing that one room is quiet is different from knowing that the house is empty.

In the January 31, 2016 log, Lewis explained the choice of openHAB: plugins for different systems, MQTT support for custom devices and phone interfaces. But the promised plug-and-play experience remained a goal. Lewis described a steep learning curve and manual setup for each device.

The useful next milestone would therefore be small and testable: use readings from multiple rooms to make one dependable occupancy decision, then measure whether the resulting control behaves as intended. Getting data into a dashboard is a solid start; deciding when that data justifies switching something off is where this project’s automation challenge really begins.

Source: Home automation using RF mesh network and arduino

Internet Of Things

2 Followers

Connect useful things with clear purpose. Explore sensors, embedded devices, networks and automation; share projects, troubleshoot integrations, and compare approaches to reliability, power use, security and maintaining connected systems.

Visual Space is built for projects like this—where creators collaborate, organize goals, and grow communities around real work.