Skip to main content

Power Monitoring: Remote Data Capture and Analysis

Sample Prepaid Energy Meter
source: Awoyemi Awoyokun

I live in one of those estates where there are shared facilities like street lights, water treatment plant but not 24 hours electricity.

I walked from my house to the gate and heard the Estate generator switched on though there was public supply as at when I left home. Upon enquiry, I found out that the credit on the prepaid electricity meter for the Estate Shared Service Meter was used up. As such, the maintenance officer on duty switched on generator to power streetlights and pump water.

How could this have happened? Shouldn't the maintenance office have known that the credit was almost depleted? Shouldn't.....  I ranted for about 5 minutes. Before I came back to ask: how could IoT have prevented this from happening?

These are the questions:
  1. Could IoT have been used know that the prepaid credit was almost exhausted?
  2. Could a system have analysed the average rate of electricity consumption, determined how many days to exhausting the credit and firing someone emails/notifications that the credit was about to finish?
  3. I heard that management did not approve "too much" credit because they did not trust the use of the credit. Can management get a report which shows daily weekly PHCN usage?
  4. Can management get a report which shows daily/weekly/monthly Generator usage? 
  5. Was generator being used at a time when there was public power?
  6. You live in a serviced apartment, you are billed for use of diesel generator for a period that seems ridiculous? Can you get an automated report of when and for how long PHCN/Generator was used? Maybe even log on to a web portal to see the details
Raspberry Pi 3
source: www.raspberrypi-spy.co.uk

IoT Solution
Raspberry Pi Zero
source: www.raspberrypi.org
  1. Raspberry pi (or Pi Zero) with a camera connected with a "selfie stick" about 5 cm from the face of the Electricity prepaid meter. I use Python to capture the image of the meter reading every 60 seconds and an OCR software like Tesseract to convert it to text and write it to a MySQL database.
  2. Once you have meter reading in text every minute time/date stamped, then analysis to get information like average daily/weekly/monthly rate of usage can be obtained by processing of stored data.
  3. Use Python to send custom reports by email using SMTP
  4. I explained how the Raspberry Pi can can get information about whether it is on generator or PHCN by sampling the voltages from each source, converting to 3.3v DC and feeding it into the RPi - details is available in my previous post: https://ubiquitousiot.blogspot.com/2017/12/remote-power-management-iot-for-street.html
  5. The details of power availability from the different sources can be saved to the MySQL database. 
  6. A PHP/Java script application can be used to analyse and present the data in a web application for users to view power information.
Imagine it, we build it. IoT makes remote monitoring and administration possible.

Do share your own IoT ideas in the comments section.










Comments

Popular posts from this blog

IoT in the home: Liquid Volume Measurement

My neighbour and I share a set of water tanks - 2 units of 750 gallon tanks. Without any warning, the rate of water consumption seemed to have increased. Instead of having to pump water up once in two days, it became twice a day - morning and evening daily. I got worried because of the impact on electricity cost and wear and tear on the pumps themselves. There are two possible reasons for this: increase in our water consumption or a leak from the piping system. The former is easier to swallow than the latter which may require "breaking up" the building to access the pipes buried in the walls IoT to the Rescue How can technology help? How can IoT point to the root cause of this simple yet expensive problem? (solution may even be more expensive or not solving a leak on time may even be so so expensive) How many litres of water did we consume daily? When did we consume the water most - morning, afternoon or evening? So, how many litres were we consuming before

IoT in Security: Visitor Car Register

During the 2017 Christmas holiday, I went to Ibadan . I drove through University of Ibadan , the premier University in Nigeria. At the main gate of the institution, a security guard on duty handed me a plastic "tally" as a proof of entry. I think another copied down my car plate number. I drove through the school: passed by the famous Trenchard Hall, the University Bookshop, the Our Lady Seat of Wisdom Catholic Church,  the Chapel of Resurrection , the Abadina Schools and exited through the gate on Abadina Road. At the gate, the security guard on duty simply collected the same "Tally" I was given at the main gate and that was all. I drove off the grounds of the University. Four days later, I entered through the Abadina gate, drove through the school and exited through the main gate of the school. A few questions came to my mind: Is there any reliable information captured that says I passed through the school? 10 years from now, will there still be infor

Remote Power Management: IoT for Street Lights

Source: http://www.centrinity.com While I was running for my life, after I exited the Lekki Treadmill and jogged into Alexander Road, Ikoyi, Lagos, Nigeria, I came across a 20ft "portakabin" container that seems to be someone's place of abode. I figured out that he is the one manning the generator that powers the street lights for Alexander/Bourdillon roads. I thought to myself, what if this man's job can be performed by a series of IoT devices and this man can be gainfully employed somewhere else which will allow him sleep comfortably in a bed under a real roof. What does he do? He switches on the generator when there is no public power and switches off the generator when he is aware that public power has been restored He switches on (or ensures this) street light when it is dark   he is the first responder if there is an issue on site However, let us evaluate replacing that function totally with IoT devices: Automatic Generator Start/Shutdown: