PumpPilot
Cloud-Based Smart Water Pump Automation Platform Using ESP32
Project Overview
PumpPilot is a cloud-connected smart water pump automation platform built using ESP32, cloud software, and web/mobile technologies. The project was developed to modernize traditional water pump systems by introducing remote control, smart automation, runtime management, RFID-based access, and real-time monitoring.
The platform is designed for:
- Apartment buildings
- Shared community water systems
- Smart irrigation
- Rural infrastructure
- Commercial buildings
- Industrial motor control
PumpPilot combines embedded systems, IoT communication, cloud infrastructure, authentication systems, and safety automation into a single scalable ecosystem.
The Problem
Traditional water pump systems still depend heavily on manual operation.
This creates several common real-world problems:
- Users forget to turn OFF the pump
- Electricity gets wasted
- Motors overheat because of long runtime
- Shared users fight over pump access
- No runtime tracking system exists
- Unsafe restart after load shedding
- No centralized monitoring system
These issues are very common in shared buildings, rural communities, and irrigation environments.
The Solution
PumpPilot solves these problems using:
- ESP32-based motor control
- Cloud-connected monitoring
- RFID-based user access
- Smart queue management
- Runtime limitation
- Real-time monitoring
- Multi-user management
- Safety protection logic
The goal was to build more than a simple smart relay switch.
Instead, PumpPilot was designed as a complete smart infrastructure ecosystem.
How PumpPilot Works
The system uses an ESP32 controller connected to relays/contactors that control the motor or water pump.
Users can interact with the system through:
- Web dashboard
- Mobile application
- RFID authentication
When a user requests pump access, the cloud server validates:
- Queue availability
- User permissions
- Runtime balance
- Device status
- Safety conditions
If everything is valid, the server sends a command to the ESP32 controller.
The ESP32 then activates the relay and starts the motor.
The platform continuously monitors runtime and system activity. After the allocated runtime expires, the pump automatically turns OFF and logs are stored in the cloud database.
Core Features
Multi-Role Management System
PumpPilot supports:
- Master accounts
- Admin accounts
- User accounts
Each role has different permissions and dashboard access.
Real-Life Example
A building owner can use the Master account, maintenance staff can use Admin accounts, and residents can use User accounts.
RFID-Based Access and Runtime Identity Flow
The platform supports RFID-based authentication and runtime tracking.
Features
- RFID card scanning
- User identification
- Runtime identity mapping
- Secure access management
Real-Life Example
Users can tap an RFID card near the control unit to start a runtime session automatically.
Minute Balance and Runtime Control
PumpPilot includes minute-based runtime management.
Features
- Runtime allocation
- Automatic minute deduction
- Session timeout
- Runtime limitation
Real-Life Example
Each apartment resident can receive monthly runtime minutes for fair water usage.
Motor Control Workflow with ESP32 Integration
ESP32 works as the intelligent hardware controller.
Features
- Cloud communication
- Relay activation
- Runtime synchronization
- Device status reporting
Real-Life Example
A user activates the pump from the mobile app, and the cloud server instantly sends commands to the ESP32 controller.
History, Logs, and CSV Export Support
PumpPilot stores detailed runtime and activity records.
Features
- Runtime history
- User activity logs
- Device event records
- CSV export support
Real-Life Example
Administrators can export monthly runtime reports for maintenance tracking and usage analysis.
Email Verification and Password Reset Flow
The platform includes secure authentication systems.
Features
- Email verification
- Password reset workflow
- Secure account recovery
- Authentication management
Real-Life Example
Users can securely recover forgotten passwords through email verification without administrator assistance.
Main Features
Remote Pump Control
Users can remotely control pumps using mobile and web applications.
Smart Queue Management
Prevents multiple users from operating the same pump simultaneously.
Runtime Auto Cutoff
Automatically stops the motor after allocated runtime expires.
Real-Time Monitoring
Provides live monitoring of devices and user sessions.
Safety Protection
Includes:
- Load shedding protection
- Runtime auto cutoff
- Unauthorized access prevention
- Device validation logic
Hardware Components
Main hardware used:
- ESP32 Development Board
- Relay Module
- Contactor
- RFID Reader
- Power Supply
- Water Pump / Motor
Optional sensors:
- Water level sensor
- Float switch
- Current sensor
- Voltage sensor
Software Stack
Frontend
- Next.js
- React
- Tailwind CSS
Backend
- Node.js
- MongoDB
- REST APIs
Embedded Firmware
- ESP32 firmware
- WiFi communication
- Cloud polling system
Real-World Applications
PumpPilot can be used in:
- Apartment buildings
- Shared water systems
- Smart irrigation
- Rural infrastructure
- Commercial buildings
- Industrial motor control
Future Improvements
Planned future improvements include:
- MQTT communication
- AI predictive maintenance
- Solar integration
- Sensor automation
- GSM/SMS support
- Voice assistant integration
Live Demo
Product Page
https://pumppilot.mechatronicslab.net/
Live Demo
https://pp.mechatronicslab.net/
Demo Accounts
Master Account
Username: master Password: 123456789
Admin Account
Username: admin1 Password: Admin123!
User Account
Username: user1 Password: User123!
Documentation & Learning Resources
To make the project easier to understand and reproduce, a free ebook was created covering the complete PumpPilot ecosystem.
Topics include:
- ESP32 architecture
- RFID integration
- Runtime management
- Cloud communication
- Backend workflow
- IoT automation concepts
Free Ebook
https://sarful.gumroad.com/l/PumpPilotEbook
Conclusion
PumpPilot demonstrates how low-cost IoT hardware like ESP32 can modernize traditional water pump systems using cloud automation, embedded systems, authentication systems, and smart safety logic.
The project combines hardware, software, cloud infrastructure, and real-world automation into a scalable smart water infrastructure platform suitable for modern communities and industrial enviro
Mr. Sarful hassan