Back to search

Universitat Oberta de Catalunya (UOC)

The Stoolie: a framework for retrofitting binary-state reporting using hardware interrupts to build a purpose- agnostic and low-power ESPHome node

Abstract

dc:description.abstract

This report details the conception, design, and evaluation of the Stoolie—a flexible, low-power, and purpose-agnostic binary-state sensor node designed to work with Home Assistant. The primary purpose of this project is to address the lack of affordable, passive, input-only retrofitting devices for household appliance monitoring. The project’s context is rooted in the increasing urge for local, cloud-independent smart home solutions that users with diverse backgrounds and needs can adopt. The system combines an ESP32 microcontroller running ESPHome firmware with an LM393 comparator module to transform a resistive sensor input into a wake-up signal for the MCU, which activates a Home Assistant binary sensor before returning to sleep. To highlight its versatility, it is applied to soil moisture, a doorbell, and a washing machine. Results from the deployment and testing of the Stoolie prototype confirm binary-state detection on different input signals, low energy consumption, and user-friendly device building. Conclusions from this work highlight Stoolie’s potential to empower users to adopt sustainable, privacy-respecting home automation solutions by enabling greater accessibility and availability of the hardware and software components that make up the system. Recommendations are provided for future enhancements to the framework, through broader applicability and further improvements to the user experience.

Degree

thesis:*
Grantor dc:publisher
Universitat Oberta de Catalunya (UOC)
Year dc:date.issued
2026

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Rueda, Alodia

Subjects

dc:subject × 8

Rights

dc:rights.accessrights
Statement dc:rights.accessrights
  • info:eu-repo/semantics/openAccess
  • CC BY-NC-SA
Language dc:language.iso
eng

Identifiers

dc:identifier.*
Dc Identifier Citation
Rueda, A. [Alodia]. (2026). The Stoolie: a framework for retrofitting binary-state reporting using hardware interrupts to build a purpose- agnostic and low-power ESPHome node. Universitat Oberta de Catalunya (UOC). https://hdl.handle.net/10609/154911

Chain of custody

source
Harvested from
Universitat Oberta de Catalunya
Base URL
openaccess.uoc.edu/server/oai/request
Last updated
2026-11-26
Source record
OAI-PMH GetRecord
citation

Rueda, Alodia. The Stoolie: a framework for retrofitting binary-state reporting using hardware interrupts to build a purpose- agnostic and low-power ESPHome node. Universitat Oberta de Catalunya (UOC), 2026. https://hdl.handle.net/10609/154911