DIY WiFi Power Consumption Meter

Topics: 1. General
Dec 6, 2015 at 2:46 AM
Edited Feb 17, 2016 at 4:29 AM
If anyone is interested in a Wifi based Power Consumption meter this might be of interest to you but it's only for digital electricity meters that have the flashing LED indicating power consumption.

It uses a micro size ESP8266 WiFi SOC module and a light sensor module all costing around Aus$10 + PS. The module is programmed as a webserver and calculates the timing of the LED meter pulses converting them to KW/hr power consumption and it is instantaneously reactive to any power change. Requests for data are made as standard HTTP webpage requests so data may be read by Tablet, PC, smartphone or Pi micro. I have programmed a number of varying messages into it to be selected according to needs but kept it in fairly basic form so it can be easily prettied up or used to forward to PVoutput as you wish. It does not require a high level of skill or program knowledge to construct it.

The web request message takes the form :-
http:// wifi module IP address /gpio/0 or 1/2/3/4 e.g. http://192.168.0.100/gpio/2

The data returned on selection 0 for example might be -
Power Consumption : 3.540 KWs

An example of software message requests in PHP is on GitHub.

All the details and software file are open source on GitHub -
https://github.com/infinityab/ESP8266-WiFi-Power-Meter-Mk2