Project Report
IoT-Based Real-Time Energy Monitoring & Cost Analysis
by Khalid Mahmud Joy | ID: 2022-3-60-159
Executive Summary
This project demonstrates a practical IoT solution for green computing by monitoring the real-world energy usage of a household refrigerator.
TOMZN 63A WiFi Smart Switch was integrated with the Tuya Smart Life cloud, logging core metrics (voltage, current, power, energy) every 5 minutes for analytics, cost, and dashboard visualization.
The results show that simple, affordable IoT tech can empower daily energy awareness, ROI, and science-based home efficiency.
- Device/Platform: TOMZN 63A Switch + Tuya Cloud
- Data Metrics: Voltage (V), Current (A), Power (W), Power Factor, Timestamp
- Outcome: Interactive dashboard, daily costs, clear energy trends, control demo, PESTLE & SWOT analysis
Key Hardware
TOMZN 63A WiFi
High-safety, Tuya cloud, 2,800 BDT
Daily Cost
~7.11 BDT/kWh
Data Coverage
2 days, 5-minutes interval,
full “fridge cycle” profile
Payback
Estimated 9-12 months
Methodology & Workflow
- Planning & Research: Selected refrigerator for continuous, high-impact measurement.
- Device Setup: Procured and installed TOMZN IoT switch (see Device page), connected via WiFi to Tuya Smart Life.
- Data Collection: Ran live data logging for over 24 hours at 5-min sampling rate.
- CSV Data Extraction: Used Tuya developer console to extract and clean time-series CSV for processing.
- Dashboard Analytics: Live CSV parsed with PapaParse and visualized in browser using Chart.js for cards/charts, including cost math and per-minute trends.
- Report, ROI, and Recommendations: Documented cost, safety, environmental and scaling impacts in this report.
Cost Table
Description | Quantity | Unit Cost (BDT) | Total (BDT) | Remarks |
TOMZN 63A WiFi Smart Switch | 1 | 2,500 | 2,400 | Invoice attached |
Wiring and Enclosure | 1 | 300 | 300 | Standard wiring |
Total | | | 2,700 | |
Challenges
- Data Export: Tuya platform offered no easy CSV export. Overcome using developer API and manual cleanup.
- JavaScript Analytics: Required PapaParse/Chart.js for visualizing and processing data in the browser.
- Sampling Rate: Five-minute intervals can miss power surges, but mean and profile are robust for daily use.
- Electrical Safety: All installation done by qualified personnel. The rated device is ~40x the fridge load for safety.
Key Results & Analysis
- Live Dashboard: Real-time and historical data shown as cards & charts (see Dashboard page).
- Energy Cost Profile: With 7.11 BDT/kWh, daily usage and costs are transparent and actionable for user.
- Peak Identification: Compressor cycles (see Power and Current graphs) clearly visible, enabling awareness and savings actions.
- ROI: Estimated payback for the IoT device under 1 year if advice is followed for energy optimization.
PESTLE Analysis
- Political: Government incentives possible; compliance with electrical standards required.
- Economic: Rising electricity prices make tech more attractive.
- Social: Awareness and smart home adoption increasing.
- Technological: IoT/cloud rapidly evolving, better export likely soon.
- Legal: Data privacy and hardware standards matter.
- Environmental: Enables real savings + carbon reduction.
SWOT Analysis
- Strengths: Low cost, easy setup, powerful analytics/dashboard.
- Weaknesses: Cloud dependency; 5-min sampling skips surges.
- Opportunities: Scale to many devices/home, smarter analytics.
- Threats: Platform API changes, data privacy, cloud outages.
Conclusion
This project proves that practical IoT-based energy monitoring is within reach for households and educational use.
The dashboard clearly displays energy and cost data, empowering smart usage and savings. With growing smart home adoption,
this approach offers strong engineering, business, and environmental value.
Summary & implementation by Khalid Mahmud Joy, 03.08.2025.
For full details and code, see project GitHub repo.