Skip to content
Rafe Uddaraj

DESCO-Control - IoT Electricity Management System

Open source

An IoT-powered electricity management system built with Next.js, Firebase Realtime Database, and NodeMCU for real-time power control.

DESCO-Control is an IoT-based real-time electricity management platform developed for Dhaka Electric Supply Company Limited (DESCO). It allows administrators to remotely control electricity connections (ON/OFF), monitor status, and track activities with full transparency. The system integrates both software (Next.js, Firebase) and hardware (NodeMCU, Relay Module) to create a seamless and modern electricity management experience.

Background & Inspiration

This project was initially developed during my time at Dhaka Polytechnic Institute. While studying there, I noticed how DESCO administrators were struggling with manual workflows for electricity control. That inspired me to create a solution that bridges the gap between academic learning and real-world problems. DESCO-Control was born out of the need to solve a local, practical infrastructure challenge while applying cutting-edge IoT and web technologies.

Project Overview

Traditionally, DESCO administrators relied on manual workflows to control electricity connections, which was slow, complex, and error-prone. DESCO-Control solves this by using Firebase Realtime Database for instant synchronization and IoT hardware (NodeMCU + Relay Module) for physical control of electrical lines. This enables secure, fast, and automated electricity management.

Key Features

  • User Lookup: Instantly search customers by Name or Meter ID.
  • Remote Connection Control: Toggle electricity supply ON/OFF via IoT-enabled relay modules.
  • Real-time Monitoring: Instantly reflect user connection status across the system with Firebase Realtime DB.
  • Activity Logging: Maintain detailed logs of every admin action (ON/OFF switch, user details, timestamps).
  • Secure Access: Only authorized administrators can manage connections through role-based authentication.

Objectives

  • Faster: Real-time IoT control reduces delays in managing connections.
  • Safer: Enforced authorization ensures only trusted admins can operate.
  • Transparent: Centralized logging provides accountability and traceability.
  • Efficient: Automation reduces manual errors and operational costs.

Technologies & Tools

  • Next.js to Scalable frontend framework.
  • Firebase Realtime Database to Instant synchronization & live monitoring.
  • NodeMCU (ESP8266) to IoT microcontroller for hardware integration.
  • Relay Module to Physical ON/OFF electricity control.
  • Tailwind CSS / Shadcn UI to Clean and responsive UI design.

Availability

The source code is publicly available on GitHub for demonstration purposes: DESCO-Control GitHub

Summary

DESCO-Control modernizes DESCO's electricity management by combining IoT hardware with real-time software. It brings together instant synchronization, security, and transparency into one powerful system. Developed originally at Dhaka Polytechnic Institute, this project is a proof of how academic learning can be applied to create real-world infrastructure solutions.

Highlights

  • Manual electricity management replaced with automated IoT-based real-time control
  • Instant synchronization achieved using Firebase Realtime Database
  • Role-based authentication ensures secure admin access
  • Full activity logging provides accountability
  • Hardware integration (NodeMCU + Relay Module) enables physical ON/OFF control
  • Developed as a practical solution during study at Dhaka Polytechnic Institute
  • Reduces delays, improves safety, and cuts operational costs

Get in touch

Questions about a video, an article, or working together.