# π Pump Controller ESP32
## Web-Controlled Smart Pump System
βοΈ Main Dashboard | π οΈ Setup Wizard
---
## β¨ Features
- π‘ Web-based pressure monitoring
- π§ OTA-ready & configurable via browser
- π‘ LED status indicators
- π Auto-reset & fail-safe AP mode
- π§ Non-volatile memory for settings
---
## π οΈ Build & Flash
> π‘ *Requires ESP-IDF framework and `just` task runner*
```bash
PORT="/dev/ttyUSB0" \
ESP_IDF="~/playground/esp-idf/"
just build flash
```
---
## πFirst-Time Setup
On **first boot**, the device creates a captive Wi-Fi access point:
- **SSID:** `pumpcontroller`
- **IP:** `192.168.4.1`
- **Port:** `80`
### Steps:
1. Connect to `pumpcontroller` Wi-Fi
2. Open browser β `http://192.168.4.1`
3. Enter your **home Wi-Fi SSID + password**
4. Device reboots β joins your network
5. Find its IP in your router's DHCP list
β
That IP becomes your **pump control dashboard** π―
> β οΈ If you enter wrong credentials, the device will **not** connect.
> Youβll need to **factory reset** and try again.
---
## π Factory Reset
1. **Short pin `D15` to GND**
2. **Power on** the device
3. LED blinks **3 times** π΄π΄π΄
4. **Remove** the short after the 3rd blink
5. Device reboots β access point mode restored