Glyn's home energy monitor setup 

This is the setup I've been running in my own house since December 2010. In this time it's only needed a few restarts. 

I would like to replace this (rather messy) setup with an emonTx emonBase and emonGLCD wireless display. Watch this space! 


 

 Using modules:

AC mains non-invasive 3.0: x2 channel CT (we have two circuits in my house: one for off-peak tariff electricity)

Digital temperature sensors: x3 (outside, living room and hot-water 

RF link to Nokia 3310 display 

Wiznet Ethernet shield to post to emonCMS 

 

Arduino Source code: download  (V4.0)

 

 

 

 

 

Sergegsx's picture

Re: Glyn's home energy and temperature monitor setup

very nice and clean implementation of multiple CTs

I had done this in a very similar way but yours is cleaner so I adapted my code this morning. Now it will be easy to connect the extra 5 CTs that are coming from ebay.

Congrats.

 

btw. you use realpower in whInc = realPower * ((whtime-lwhtime)/3600000.0);

shouldnt we use apparent power? I normally calibrate and then take the electrical counter of my house and calculate the error and apply the correction to my calibration. I have always done this for apparent power. should i do it for realpower instead?

Then in emoncms when it says "power" it means apparent power ?

 

thank you.

glyn.hudson's picture

Re: Glyn's home energy and temperature monitor setup

My setup is probably a bit different to most domestic monitoring setups. I monitor AC voltage using an AC-AC voltage adapter as well as current using a CT sensor. Having both voltage and current readings allows me to calculate real power. This is the power the the utility company bills me for. Most domestic monitors using just a current sensor can only monitor current, the assumet the voltage to be constat at a particular level and the PF to be constant at 1. This will often result in slightly higher readings that you are acutally being billed for due to inductive loads reducing the PF. For my house apparent power is 10% higher than real power. 

We started collecting data on the differences between real and apparent power readings here: http://openenergymonitor.org/emon/node/220

You have done the best thing by calibrating your energy monitor againsed your meter. 

At the end of the day the main reason for domesti energy monitoring is to better understand our energy consumption, actual precise values is not as important as trends. 

The 'power' value in emoncms is whatever you post to it! emoncms has no way of telling. I post both, see the link above for a screen grab. 

All the best, Glyn. 

Sergegsx's picture

Re: Glyn's home energy and temperature monitor setup

Hi Glyn thanks for your time on answering.

I also have the AC to AC converter and then use that value of voltage for calculating the realpower. I actually use the example of your build as its incredible easy to add new CTs to the setup.

http://openenergymonitor.org/emon/node/251

I have right now 3 CTs and 5 are waiting to be installed when i get my Arduino MEGA in the mail.

Thank you for the code in that example, as makes it super easy.

    ch1.emon_calc(inPinI_1,ICAL_1);                                         //Energy Monitor calc function for channel 1, pass Arduino analog in pin nummber and calibration coefficient
    ch2.emon_calc(inPinI_2,ICAL_2);                                         //Energy Monitor calc function, for channel 2, pass Arduino analog in pin nummber and calibrat on coefficient
    ch3.emon_calc(inPinI_3,ICAL_3);                                         //Energy Monitor calc function, for channel 3, pass Arduino analog in pin nummber and calibrat on coefficient
 

The only thing i added to the emon.pde part of the code is this

  cost = (wh/1000.0) * preciokwh;
in order to have the accumulated cost of each sensor to display it in the LCD. maybe you want to use it also.

If you have any suggestions or things to take into account when having multiple CTs please let me know.

Thanks Glyn.