🔒 Admin Login

Hot Tub Manager Access

đŸ”Ĩ HotTub Manager

MQTT/SMS Control via Android Bridge

Ready

âš™ī¸ Configuration đŸ‘ī¸

Admin phone for ESP32 management commands
Password to access this manager interface
Your phone number to send commands from this interface
đŸ‘Ĩ Users
➕ Add User
âš™ī¸ Settings
đŸŒĄī¸ Sensors
📡 Commands
📋 Usage Log

Add New User via SIGNUP

How it works
This sends: SIGNUP <PIN> <CONDO>
The ESP32 will validate the PIN and condo number.
Phone number to authorize

Hot Tub Settings

âš™ī¸ Live Settings
These settings are stored on the ESP32 and can be changed remotely via MQTT commands. Click "Get Current Settings" to load values from ESP32.

đŸŒĄī¸ Target Temperature (Display Only)

Shown as a reference line on the Water Trend chart in the Control PWA. Not sent to ESP32.

⏰ Time Blocking

Local time (24-hour format)
Local time (24-hour format)

🌍 Timezone Settings

Hours to add to local time (EST=5, EDT=4)

âąī¸ Runtime Settings

Minutes when first started (10-180)
Minutes added by EXTEND (5-60)

âš ī¸ Warning Time

Minutes before stop (1-10)

âąī¸ Minimum Runtime

Minutes before can stop (5-60)

📋 Current ESP32 Values

Block Hours: --:-- - --:--
UTC Offset: -- hours
Initial Run: -- minutes
Extension: -- minutes
Warning: -- minutes
Minimum Run: -- minutes

Sensor Discovery & Assignment

đŸŒĄī¸ DS18B20 ROM Address Management
DISCOVER scans both 1-Wire buses and assigns sensors by position.
Bus A (GPIO 32): Air Temp [0], Enclosure Temp [1]
Bus B (GPIO 33): Heater Inlet [0], Heater Outlet [1]
If two sensors are swapped, use SWAPSENSORS — no wiring change needed.

📊 Live Sensor Readings

Air Temp
--°F
Enclosure Temp
--°F
Heater Inlet
--°F
Heater Outlet
--°F

🔍 Run Discovery

Scans both buses and saves ROM addresses. Run once after first wiring or after replacing a sensor. Check Serial Monitor for ROM addresses. Results also appear in Last Response below.

🔄 Swap Sensor Assignments

If two sensors are reading from the wrong position, swap their ROM assignments here. No wiring change needed. Changes are saved to ESP32 Preferences immediately.

Send Custom Command

Available Commands
USERS - List authorized users
SIGNUP <PIN> <CONDO> - Add user
DELUSER <#> - Delete user by index
STATUS - Get hot tub status
START / STOP - Turn hot tub on/off
ESTOP - Emergency stop (bypasses min runtime)
EXTEND - Add extension time
TEMP - Get current temperatures
TEMPLOG - Get temperature history
DISCOVER - Scan 1-Wire buses & assign sensor ROMs
SWAPSENSORS <NAME1> <NAME2> - Swap two sensor assignments
Names: AIR, ENCLOSURE, INLET, OUTLET
GETSETTINGS - Get ESP32 settings
RESETSETTINGS - Reset all settings to defaults
HELP - Get help

Hot Tub Usage History

About Usage Log
View a history of hot tub usage including who started/stopped it, when, and for how long.
User Date & Time Duration
Click "Get Usage Log" to load history

📊 Hot Tub Status

State
--
Heater Inlet Temp
--
Heater Outlet Temp
--
Air Temp
--
Enclosure Temp
--
Started
--
Stopping
--

📨 Last Response

No responses yet. Send a command to see ESP32 response.

â„šī¸ How This Works

  1. You send commands via MQTT to HotTub/command
  2. Your Android bridge app receives the MQTT message
  3. Android bridge sends SMS to the ESP32 OR relays via UDP
  4. ESP32 processes the command and responds
  5. Response comes back via MQTT on HotTub/status
Note: Your Android bridge must be running with correct MQTT credentials to relay commands to ESP32.
HotTub Manager v1.0  |  © 2026 Gene F Young