Smart Energy Management for rural schools in Ogun state, Nigeria
# Smart-Energy-Management-for-Rural-School
Smart Energy Management for rural schools in Ogun state, Nigeria
1. Introduction
This project was developed as part of the Ranger Training on Smart Spaces and Energy Management. The training introduced the concept of using centralized systems such as R1000 and Home Assistant Green to unify and control multiple devices within a smart environment.
Based on this concept, this project implements a simplified and practical version of a smart energy hub designed for rural environments with limited infrastructure.
3. Problem Statement
Schools in rural areas such as Mowe, Ogun State face challenges related to energy access and management. These include:
• Unreliable or limited electricity supply
• Lack of tools to monitor energy consumption
• No centralized system for controlling electrical devices
• Inefficient use of available power sources such as generators or solar systems
These issues lead to energy wastage and reduced operational efficiency.
5. Objective
The objective of this project is to design and implement a system that:
• Monitors energy consumption in real time
• Controls electrical appliances from a central point
• Operates without constant internet connectivity
• Synchronizes data to the cloud when a connection is available
7. System Overview
The system functions as a central energy management hub. It collects data from a smart meter, processes it using a microcontroller, and controls connected devices through relays.
When internet connectivity is available, the system synchronizes data to a cloud database for remote monitoring.
9. System Components
• ESP32 microcontroller (central controller)
• PZEM-004T smart energy meter
• Relay module for device control
• Local storage (EEPROM or SPIFFS)
• Firebase for real-time cloud database
11. System Architecture
The system operates as follows:
• The smart meter measures voltage, current, power, and energy consumption
• The ESP32 processes this data and applies control …