Back to Projects
Hybrid 2024

IoT Pool Automation System

Real-world IoT solution regulating pool machinery remotely using ESP32, MQTT, and a Node.js backend.

Node.js ESP32 MQTT React Docker
IoT Pool Automation System

Project Overview

This project modernized an existing swimming pool filtration system, replacing manual timers with a smart, cloud-connected controller. It allows for remote scheduling, temperature monitoring, and pump status tracking from a smartphone.

The core is an ESP32-based controller housed in an industrial DIN-rail enclosure. It interfaces with high-current contactors to toggle pumps and lights, creating a bridge between heavy machinery and valid MQTT commands.

The ESP32 communicates via MQTT over TLS to a self-hosted Mosquitto broker. A Node.js backend dictates schedules and stores historical sensor data in InfluxDB.

Key Features

  • Remote pump and lighting control via Mobile Web App
  • Automated filtration schedules based on season
  • Real-time water temperature monitoring
  • Power consumption tracking (Amperage sensing)
  • Safety cut-off for pump dry-running protection
  • Over-the-air (OTA) firmware updates
  • Integration with Home Assistant