Giter Club home page Giter Club logo

esp32-spa-controller's Introduction

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

esp32-spa-controller's People

Contributors

akomakom avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.