Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jrodriguezn19/auroraiot
Python/Django application designed for real-time energy consumption monitoring in buildings.
https://github.com/jrodriguezn19/auroraiot
django mosquitto mqtt python
Last synced: 1 day ago
JSON representation
Python/Django application designed for real-time energy consumption monitoring in buildings.
- Host: GitHub
- URL: https://github.com/jrodriguezn19/auroraiot
- Owner: jrodriguezn19
- Created: 2023-04-06T12:12:25.000Z (almost 2 years ago)
- Default Branch: master
- Last Pushed: 2024-11-03T12:43:53.000Z (3 months ago)
- Last Synced: 2024-11-29T16:15:28.868Z (2 months ago)
- Topics: django, mosquitto, mqtt, python
- Language: Python
- Homepage: https://auroraiot.georgedeveloper.com/api/sensors/1/data
- Size: 396 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# AuroraIOT - Backend - API
## Overview
AuroraIOT is a Python and Django-based application designed for real-time energy consumption monitoring in buildings. By leveraging PZEM-004t sensors and ESP32 microcontrollers, AuroraIOT captures precise energy consumption data and transmits it securely and efficiently via Wi-Fi using the MQTT protocol. This data is processed by the central AuroraIOT backend, providing building managers with accurate and timely insights for optimizing building management.
![image](https://github.com/user-attachments/assets/7edb3edf-1566-4256-ac5b-6c0dbe2b16c5)
## Features
- **Real-Time Monitoring**: Continuously monitor energy consumption with high precision.
- **Sensor Integration**: Utilizes pzem-004t sensors for capturing energy data.
- **Microcontroller Support**: Integrated with ESP32 for data collection and transmission.
- **MQTT Protocol**: Ensures secure and efficient data communication to the backend.
- **Django Backend**: Robust and scalable backend system built with Django.## Technology Stack
- **Backend**: Python, Django
- **Microcontroller**: ESP32
- **Sensors**: pzem-004t
- **Communication Protocol**: MQTT
- **Network**: Wi-Fi## Installation
1. **Clone the Repository**
```bash
git clone https://github.com/jrodriguez19/AuroraIOT.git
```2. **Navigate to the Project Directory**
```bash
cd auroraiot-backend
```3. **Install Dependencies**
```bash
pip install -r requirements.txt
```4. **Apply Migrations**
```bash
python manage.py migrate
```5. **Run the Server**
```bash
python manage.py runserver
```## Configuration
Ensure that your ESP32 microcontroller is configured to connect to the same network as the AuroraIOT backend. The MQTT broker details should also be configured in the microcontroller's firmware.
## Usage
Once the backend is running and the microcontrollers are connected, energy consumption data will be automatically transmitted and can be monitored through the Django admin interface or custom frontend applications.
## Contributing
Contributions are welcome! Please submit a pull request or open an issue to discuss any changes.
## Contact
For any inquiries or support, please contact [[email protected]](mailto:[email protected]).