IOT Platform Built Using Django & ESP32
This is a simple yet powerful IoT platform built using Django, allowing users to register, log in, and manage their ESP32 devices. The platform provides an intuitive dashboard where users can control their devices remotely and monitor their status in real time.
Features
- User Authentication: Secure login and registration system.
- Device Management: Users can add, activate, deactivate, and delete ESP32 devices.
- Remote LED Control: Toggle multiple LEDs on ESP32 devices through the web interface.
- Real-time Monitoring: View the status of connected devices on the dashboard.
- API Key Generation: Each device is assigned a unique API key for secure communication.
How It Works
- User Registration & Login: Users create an account and log in.
- Device Addition: Users can register their ESP32 devices by providing a name.
- Dashboard Overview: Displays active and inactive devices with key metrics.
- Control Panel: Users can toggle LEDs and check device status in real time.
- Secure API Access: Devices communicate securely using API keys.
Tech Stack
- Backend: Django
- Frontend: HTML, CSS, JavaScript
- Database: SQLite
- IoT Hardware: ESP32
Installation
- Install dependencies:
pip install -r requirements.txt
- Run migrations:
python manage.py migrate
- Start the development server:
python manage.py runserver 0.0.0.0:8000
- Open
http://127.0.0.1:8000/
in your browser.
Future Enhancements
- MQTT support for real-time communication.
- Graphical data visualization for device logs.
- Mobile app integration for remote control.
Reviews
There are no reviews yet.