You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Amp Intelligence is an IoT website that tracks the power consumption of each client and power distribution of the providers.
The website will display the data that the arduino will send to the database and the users will be able to generate AI reports for their needs.
ER Diagram
Component Diagram
The Most Remarkable Features
Seamless IoT Data Ingestion: The system captures and securely stores real-time energy consumption data from client devices using ESP32 microcontrollers.
AI-Powered Consumption Forecasting: Advanced AI models analyze historical patterns to help energy providers anticipate demand and optimize resource allocation.
Personalized AI Optimization Plans: Clients receive intelligent, data-driven strategies to optimize energy usage, reduce costs, and promote sustainability based on their consumption behaviors.
Features Highlight
Landing Screens
Landing Screen
Login screen
Client Screens
Client Dashboard screen
Client Report screen
Client Profile screen
Contact Us screen
Provider Screens
Provider Dashboard screen
Provider Report screen
Provider Show Users screen
Provider Edit Profile screen
Admin Screens
Admin View All Providers screen
Admin View All Contact Messages screen
Project Box Design
This box is a demostration of a power room that contain elecrical wire lines and the microcontroller is connected to the circuit.
I used for this project ESP32 DevKit V1. It is based on the ESP32 microcontroller that boasts Wifi, Bluetooth, Ethernet and Low Power support all in a single chip.
Power Box 1
Power Box 2
Power Box 3
Postman API Documentation
You can check the full API documentation using this link.
Code Test Cases
Test Case
Test Case
Test Case
Test Case
GitHub Testing Pull Request
GitHub Testing Pipeline
GitHub Pull Request
Prism OpenAI Intengration
Prism is a powerful Laravel package for integrating Large Language Models (LLMs) into your applications.
Prism Provider Prompt
Prism Client Prompt
Prism Function Call
Controller
Routes
Testing Pipeline
Server Response with Database Indexing
Provider user AI generated response time difference
Postman API Before Indexing (22.28s)
Postman API After Indexing (15.5s)
Server Response with Database Indexing
Client user AI generated response time difference
Postman API Before Indexing (17s)
Postman API After Indexing (8.28 s)
Users Table user_type indexed
Metrics Table slave_id indexed
Deployment Diagram
EC2 Docker containers deployment
Deployment Pipeline 1
Deployment Pipeline 2
Deployment Pipeline 3
Deployment Pipeline 4
GitHub Deployment Pipeline Success
EC2 Instance docker deployed
EC2 Node Server Logs
ESP32 Serial Monitor Output
AWS S3 Bucket React files
S3 bucket public IP website
Database Backup CLI Script Run
Database Backup Cronjob
Database Backup Script Code
Database Backup S3
To test the website, here are some initial default data stored in the database:
Amp Intelligence is an IoT and AI-powered platform for smart energy monitoring and optimization. It connects with ESP32 microcontrollers to collect real-time power usage data, providing providers with AI-driven consumption forecasts and clients with personalized plans to optimize their energy usage, reduce costs, and promote sustainability.