Local-First Residential Lighting Control with Edge-IoT Integration: Design, Implementation, and Analysis of Remote–Local Interference

In smart lighting systems, separating wall control from network supervision can preserve residential lighting operation during network outages, but remote processing may still affect local responsiveness. This paper presents the design, implementation, and analysis of a low-cost, local-first lighting controller deployed in a Lebanese residence. An Arduino Mega 2560 interprets single, double, triple, and long presses from 19 wall pushbuttons and controls 32 solid-state relay channels, including 23 loaded lighting circuits. The pushbuttons operate at 5 V DC, with mains switching confined to the electrical panel. An ESP32-C3 bridge running ESPHome supports integration with Home Assistant and provides connectivity to the HomeLab Dashboard (HLDB), a custom web application; the bridge and HLDB form an edge layer inside the residence, while output authority remains with the Mega. Software-in-the-loop evaluation of the firmware examined gesture recognition, command handling, and persistence. A timed simulation identified interference between remote reporting and wall-input processing, blocking button sampling for up to 272 ms. Bench measurements on a hardware replica confirmed the 0.4 s single-click delay and the electrical interface. A 30-day audit of one household recorded 133 remote requests, of which 83.5% requested switching lights off. The firmware, simulation harness, scripts, and results accompany the manuscript.

Authors

Institutions

Publication Details

Journal
IoT
Published
2026-11-29
DOI
https://doi.org/10.3390/iot7040105
Primary Topic
IoT-based Smart Home Systems
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Local-First Residential Lighting Control with Edge-IoT Integration: Design, Implementation, and Analysis of Remote–Local Interference

Oussama Accouche
IoT
IoT-based Smart Home Systems
article

Local-First Residential Lighting Control with Edge-IoT Integration: Design, Implementation, and Analysis of Remote–Local Interference

Oussama Accouche
article en

Abstract

In smart lighting systems, separating wall control from network supervision can preserve residential lighting operation during network outages, but remote processing may still affect local responsiveness. This paper presents the design, implementation, and analysis of a low-cost, local-first lighting controller deployed in a Lebanese residence. An Arduino Mega 2560 interprets single, double, triple, and long presses from 19 wall pushbuttons and controls 32 solid-state relay channels, including 23 loaded lighting circuits. The pushbuttons operate at 5 V DC, with mains switching confined to the electrical panel. An ESP32-C3 bridge running ESPHome supports integration with Home Assistant and provides connectivity to the HomeLab Dashboard (HLDB), a custom web application; the bridge and HLDB form an edge layer inside the residence, while output authority remains with the Mega. Software-in-the-loop evaluation of the firmware examined gesture recognition, command handling, and persistence. A timed simulation identified interference between remote reporting and wall-input processing, blocking button sampling for up to 272 ms. Bench measurements on a hardware replica confirmed the 0.4 s single-click delay and the electrical interface. A 30-day audit of one household recorded 133 remote requests, of which 83.5% requested switching lights off. The firmware, simulation harness, scripts, and results accompany the manuscript.

IoTVol. 7(4)
American University of the Middle East (KW)
IoT-based Smart Home Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon