Functional Reactive Programming Paradigms for Resilient Smart Home Networks

Neha R. Kamat, Sourav J. Pillai

Abstract


Abstract: Smart homes weave together sensors, actuators, and cloud services, yet resilience remains elusive when networks fluctuate or failures propagate. This study advances a functional reactive programming (FRP) framework tailored to event rich IoT topologies. We extend the Elm Architecture into a Rust based runtime, FluxIoT, embedding deterministic signal combinators and temporal operators that model asynchronous device streams as immutable observables. Formal liveness proofs built atop temporal logic establish bounded latency guarantees under partial connectivity. A 30 home deployment across Bengaluru demonstrates 99.7?% uptime during scheduled ISP outages, with occupancy detection latency maintained below 120?ms (95th percentile). Comparative analysis versus Node RED and Python asyncio reveals a 2.3× reduction in race condition defects and a 37?% lower CPU utilization on Raspberry?Pi gateways. These results suggest FRP principles offer a mathematically grounded path to fault tolerant, low maintenance smart home ecosystems.

Keywords: functional reactive programming, smart home, resilience, temporal logic, Rust.

 


Full Text:

PDF 15-27

Refbacks

  • There are currently no refbacks.