Skip to content

Spa Controller for fully custom hardware control of spa things like 2-speed pump, blower, heater, lights, etc using relays

Notifications You must be signed in to change notification settings

akomakom/esp32-spa-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ESP32 Custom Spa Controller

Control a custom hot tub using a bunch of relays and sensors.

This is work-in-progress.

Design Goals

  • Control (via relays) of (at least):
    • 2-speed pumps
    • blower
    • heater
    • lights
    • (TBD) Valve actuators with smart power-off
  • Reading temperature sensor data and tying it to controls (eg heater)
  • Sheduling on/off behavior
  • Overriding said schedule briefly (eg pump to high for 20 minutes)
  • (TBD) Overriding said schedule in the future (eg heater up 10 degrees for the weekend)
  • Web UI
  • Touchscreen UI using wireless display/ESP32 boards via ESP-NOW protocol
  • OTA updates

Hardware design

  • Simple controls use single relays
  • 2-speed controls use two SPDT relays (1 for on, 2 for speed), wired in series.

Installation on a new ESP32

  1. Copy secrets.h.sample to secrets.h and edit for your settings

Controller

In controller/ subdirectory:

  1. Build and upload the controller code using either:
  • Arduino IDE (ensure you have ESP32 board support installed)
  • arduino-cli, if installed (try make upload)
  1. Reboot the board and check that it's on the network and listening on port 80
  2. Upload the web interface using either:
  • Arduino IDE: Use this plugin
  • Command Line: try make upload-spiffs-via-http

See README.md in that directory

Display

Instructions are similar to Controller See README.md in that directory

About

Spa Controller for fully custom hardware control of spa things like 2-speed pump, blower, heater, lights, etc using relays

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published