AC Load Controller
ESP32·PZEM-004T Multi-Meter·WebSockets wss://

Smart AC Load Controller

An edge-autonomous smart panel powered by an ESP32 micro-controller and high-precision PZEM-004T sensor. Connect directly from your mobile browser over secure WebSockets. No cloud lock-in, no backend server — full autonomous protection stored directly in ESP32 flash memory.

Interactive Live Preview (No MQTT Needed)

Simulated Live Preview
Volts
231.4 V
180V–250V OK
Current
9.8 A
PF: 0.97
Power
2200 W
79% of Cap
Freq
50.02 Hz
2268 VA · 551 VAR
Interactive Relays (Tap to toggle) Instant ESP32 Response
1
Living Room AC
~1300 W
ON
2
Water Heater
~900 W
ON

Industrial-Grade Energy Management

Hardware-enforced safety algorithms execute on the ESP32 even if the network is disconnected.

Hysteresis Voltage Protection

Protects heavy induction loads and compressors from voltage dips and surges. Configurable over-voltage (OV) trip (230–280V), under-voltage (UV) trip (150–220V), and a hysteresis recovery band with a stabilization hold timer before reconnection.

Dynamic Load Shedding

Drag-and-drop priority sorting determines shedding order when total power exceeds the safety threshold. The app alerts with an amber "Next to Shed" badge at 85% capacity, and the ESP32 autonomously sheds the lowest priority relay on overload.

Per-Line Daily Quotas & Power Caps

Set individual wattage caps (e.g. 1500W limit on a bedroom circuit) and daily kWh quotas. Individual lines are tripped automatically when budget is exhausted, preventing runaway air conditioner or heater usage.

Source Profiles (Grid vs Inverter)

Automatic threshold adaptation based on active source telemetry. When switched to battery inverter or backup generator, the total system wattage cap drops instantly from mains cap (e.g. 3500W) to inverter cap (e.g. 1000W) to protect the inverter from tripping.

Zero-Backend Architecture

1. WebSockets MQTTBrowser connects directly to your broker (HiveMQ, Mosquitto, EMQX) over wss://.
2. Edge Safety LogicESP32 stores rules in non-volatile flash and enforces relay switching locally.
3. IndexedDB HistoryRolling 30-minute electrical history buffer persisted client-side in the browser.