Real-Time Power Monitoring Options?
tedpearson writes "I've wanted for quite a while to be able to look at my electricity usage in graphed form, both real-time and historical data. There seem to be a number of options for power monitoring in existence: some that hook into Google PowerMeter, others to Microsoft Hohm, and some that are standalone units. I've also seen DIY projects using Arduinos for reading the data and sending it to a computer. But I haven't found anything that is quite what I'm looking for, and I am hoping the Slashdot community can give me some advice. What I'm looking for currently: Some sort of device(s) that a) accurately measures power usage, b) allows me to access the data for storage in a database for my own graphing/analysis purposes, c) will work with MacOS (doesn't require Windows), and d) doesn't cost more than $150 or so. DIY is fine, though I don't understand circuit design, which is keeping me from designing something myself."
This is about as cheap as it gets for a DIY project. If I were to give you a quote for a commercial grade version you'd shoot me in the eye. http://www.iobridge.net/projects/category/projects/ http://www.iobridge.net/projects/2009/01/real-time-power-monitoring-system/
Stick a webcam on it, do ocr to text on the numbers. Sheesh!
At the meter, you can calculate the power draw. Look for the Kh value on the meter, and count the number of seconds it takes for the disc to make one full rotation. Then, use this formula:
W = Kh / (Seconds / 3600)
to get the power draw in watts.
Of course, this assumes you're still using an old-school spinning-disc meter.
Oh, no! You have walked into the slavering fangs of a lurking grue!
It's a little more expensive that what you want -- $200 rather than $150 -- but other than that, I think it's exactly what you're looking for. The gateway device itself stores sufficient data to allow you to look at short-term detailed usage and long-term trends via its web interface, but if you want more than that, you can set up something to periodically poll the device, downloading detailed, per-second, usage in an XML format. You can then store that data however you like, and mine it however you want.
There may be other solutions out there, and I'm interested to see what others suggest, but I have a TED unit and I couldn't be happier with it. It also uploads to Google PowerMeter.
http://www.theenergydetective.com
Note to ACs: I usually delete AC replies without reading them. If you want to talk to me, log in.
If all you want is graphing, then Google Power Meter is probably the best way.
That said, there have been a few articles on Hackaday recently concerning methods of interfacing meters with Google's API. I assume that once you submit it, you can get it back out.
Or, if that doesn't do it for you, I'm sure you could adapt one of the projects on Hackaday to your own ends.
http://www.flukso.net/
I don't read your sig. Why are you reading mine?
Take a look at what a monitored PDU costs for a server rack. APC offers them, as do a few other vendors. You're easily looking at $450 per PDU. It will do everything that you want though, including output to SNMP so that you can trap it.
The Analog Designs ADE7763 is a pretty awesome chip for doing this sort of stuff. Here's the appnote in a pdf, and here's the chip itself. It's quite easily interfaced to an Arduino using SPI. I just laid out a board interfacing this to an ATMEGA1284 for doing power quality monitoring and logging, but it's for an internal project so I can't just hand out the code or layout, but it was a dead simple chip to work with: one crystal and two caps were all it required for support, and if it were interfaced to an Arduino, that could handle all the I/O to a computer or write to an SD card.
Nostalgia's not what it used to be.
See here for a commercial product that exploits this:
http://www.blackanddecker.com/energy/PowerMonitorCompatibility.htm
I have an older version of the CurrentCost monitor..
When I get some extra $ together will likely upgrade.
http://www.currentcost.com/
See http://www.etherbee.com/products/ECM1240/default.htm
and see what you can output with one of those guys:
http://marc.merlins.org/perso/linuxha/post_2010-08-13_Fine-grained-house-wide-power-monitoring-with-Brultech-ECM1240_-ecmread_py-_with-net-metering-support_-and-graphing-with-cacti.html
There is one caveat: you need windows for the initial setup, although I did it in vmware, maybe it works in wine too, but since then it's been running fine on linux (and it would work just the same on MacOS since it's a python script).
Marc
I use TED. It's right around your price range. It monitors whole-house power usage in real time and has a USB-Serial interface which you can easily suck data out of with Python script. I personally do all the data logging on a Linux box and export it through a web interface.
The DIY rig at http://openenegymonitor.org/ is fairly straightforward, even if you're not that technically inclined....
Otherwise I'd just echo the suggestion to suck it up for the extra $50 and get the Ted 5000
My recent time-waster is finding a way to make all these different gadgets able to talk to all the various websites ...
In conjunction with getting solar power at home, I've also set up real time usage monitoring.
I've had a stand alone power monitor for a while (our state Government offered them + a bunch of CFLs and other stuff for $50). However it doesn't have any PC connectivity. One day I was looking in the meter box, and I realised that the sensor was just a clamp meter around the input wires.
I already had a clamp current meter attachment for my multimeter (which also has RS232 out), so I put the clamp around the same incomming wires, connected it to my multimeter and then to my PC (via an RS232 -> USB cable). From there I have some scripts to take readings and enter them into a database as well as a web interface for output. Fortunately for me, the meter box is just outside of the room where the PCs are, so it was easy to wire up.
I actually did this setup in a number of stages. Initially, I used some software for my multimeter to plot / save to text file the raw (amperage ) data. I then started batch importing it into the database and calculating wattages etc from there. Now it all happens automatically. Readings are taken at 1 minute intervals.
Even though I already had all the parts, they cost well under your budget. From memory their original costs were:
* clamp meter attachment (Digitek QM1565) $25 (see http://www.jaycar.com.au/productResults.asp?keywords=QM1565&keyform=KEYWORD&SUBMIT.x=0&SUBMIT.y=0)
* multimeter with RS232 (Digitek QM1538) $50 (NB. this model is no longer available, don't know what an equivalent would be)
* RS232 -> USB $6 (from eBay)
Now I live in Australia, so your meter box setup may be different to ours. In mine, the meter and circuit breakers etc are mounted on a board in the box. This board has hinges on one side, so you can swing it out to get behind it. That's where the wires are that you need to put the clamp around. Obviously you want to be very careful back there, but there *shouldn't* be any bare wires etc. If in doubt, you could get an electrician to do this for you.
I've put a sample of our median usage and production on Imageshack http://img31.imageshack.us/i/electricityusageandprod.png/
Here is the usage and production for a single day http://img163.imageshack.us/i/usageprodction20100915.png/
Having this type of data is great for tracking down where your usage is going.
Ever stop to think
This appears to be a re-branded product marketed by Blue Line Innovations http://bluelineinnovations.com/. I purchased one of these about three years ago for about US $200.00. It works moderately well although the meter-reading device doesn't seem too happy with New England winters.
The unit can read meters with a spinning dial and meters with a digital display. Digital meters contain an optical port through which the device monitors the meter.
The model I have can't interface with a computer; the company might have models that will do so.
Another product I purchased is produced and marketed by BrulTech Research Inc. http://www.brultech.com/. The unit is the ECM-1220 and works quite well. The supplied software is written to run under Windows, although BrulTech are very helpful in providing sample software and code for anyone who might like to port the product to another operating system.
I had marvelous plans to write some GPL'd software for OS/X and Linux; as with many projects life got in the way.
As I recall, this unit and the supplied software (not the sample code) cost me about US $300.00.
The product uses current transformers. On my 200-amp 220 VAC panel I have two current transformers - one for each leg of the load to the house.
Monitoring each load is possible with enough current transformers and host units; the cost would be (for me) prohibitive.
I strongly prefer the BrulTech unit over the Blue Line product, although each is quite usable.
Some devices can have very low PFs, for example insteon switches and other small loads, and lightly loaded switching power supplies, it can be as little as 0.1x. A ceiling fan running at low speed, or a CFL might be something like 0.4. So the number you are calculating is properly called VA (volt-amps) and is not the same as watts, which is what you're actually consuming and being billed for.
I see you have put calibration factors in for each circuit. You may find that the reason you're needing these at all is because those loads are low PF and are reading higher than they should.
Ehh.. never mind. I see you are using ADE7753 which watches the line voltage.
I found an energy-logger from Conrad.de in Germany.
It has an SD card where it stores the data for 6 months. Apparently it includes software to graph the results. Around 60 bucks, cheaper if you buy several.
http://www.conrad.de/ce/de/product/125335/VOLTCRAFT-ENERGY-LOGGER-4000-ENERGIEKME;jsessionid=7CBBF03B9C5D056C0E5E07A4CDEFCC77.ASTPCCP4