🚀 An AI-powered decision-making system for optimizing IoT energy consumption
The Sustainable Automation AI Agent is an AI-driven decision-making system that optimizes IoT device power consumption. It analyzes historical efficiency, real-time energy usage, and usage frequency to determine whether an IoT device should be:
- Turned off
- Kept on
- Reduced in intensity (if applicable)
Unlike traditional machine learning models, this system uses a pre-trained AI agent, eliminating the need for continuous retraining. It provides real-time energy-saving decisions, helping reduce electricity wastage in smart homes, industries, and IoT-enabled environments.
✔ AI-Powered Decision Making – Determines the optimal power state (ON/OFF/Adjust).
✔ Energy Efficiency Score (EES) Calculation – Computes EES based on power usage, frequency, and historical efficiency.
✔ Real-Time Monitoring – Processes live IoT energy consumption.
✔ Daily & Yearly Energy Savings Estimation – Predicts potential energy savings.
✔ Pre-Trained AI Agent – No continuous training required, ensuring low computational overhead.
✔ Scalable & Modular – Works for individual IoT devices and large-scale industrial systems.
Open a terminal and run:
git clone https://github.com/sahiladit/sustainable-automation-ai-agent.git
cd sustainable-automation-ai-agent
Ensure Node.js is installed, then run:
npm install
Create a .env
file in the root directory and add:
GEMINI_API_KEY=your_google_ai_api_key
Provide energy usage data as space-separated values:
node main.js 13478 12865 12577 12670 13692 13038 14297 15009
node main.js 13478 12865 12577 12670 13692 13038 14297 15009
🔋 Energy Decision System 🔋
📦 Current Usage Pattern: [13478, 12865, 12577, 12670, 13692, 13038, 14297, 15009]
✅ Decision: NO
⚡ Daily Energy Saved: 3692.54 watts
🌍 Yearly Energy Saved: 1,347,777.71 watts
🚀 Energy Efficiency Score: 0.28
- Receives hourly energy consumption data from IoT devices.
- Analyzes power consumption patterns using a pre-trained AI model.
- Calculates the Energy Efficiency Score (EES) based on power usage, frequency, and historical efficiency.
- Generates an optimal decision to keep the device ON, switch it OFF, or adjust intensity.
- Provides energy-saving insights, estimating potential daily and yearly savings.
Feature | Sustainable AI Agent | Google Nest | IBM Watson IoT | Schneider AI Grid | Tesla Autobidder |
---|---|---|---|---|---|
Works with all IoT devices | ✅ | ❌ (Only HVAC) | ✅ | ❌ (Only grids) | ❌ (Only batteries) |
Real-time energy decision-making | ✅ | ✅ | ✅ | ❌ | ❌ |
No continuous retraining needed | ✅ | ❌ | ❌ | ❌ | ❌ |
Cloud-independent execution | ✅ | ❌ | ❌ | ❌ | ❌ |
Optimized Energy Efficiency Score (EES) | ✅ | ❌ | ❌ | ✅ | ❌ |
📌 Integration with Smart Meters – The AI agent can be integrated with upcoming Smart Meter technology in India to automatically receive energy usage data.
📌 Collaboration with IoT Companies – This system can be embedded into commercial IoT devices for automated energy efficiency management.
📌 Scalability to Smart Cities – The agent can be extended to optimize energy consumption at a city-wide level, reducing overall electricity wastage.
This project is licensed under the MIT License – feel free to use, modify, and distribute!
Sahil Adit – Developer & Researcher in AI-driven IoT energy management
📧 Contact: [email protected]
🔗 GitHub: sahiladit
✅ Submit pull requests for improvements or suggestions!
✅ If you find this project useful, consider starring the repository! 🚀
✔ Well-structured steps for easy setup & execution.
✔ Comparison table for clear feature advantages over existing solutions.
✔ Future Scope to highlight real-world applications.
✔ Proper Markdown Formatting for better readability on GitHub.
Let me know if you need any refinements! 🚀🔥