Home Power Monitoring Hack
dvogt writes "You think your power bill is bad? I built a power monitoring system to monitor every circuit in my house with three second resolution for over a year. And while I had to rewire all my electrical to do it, I can now reconcile my electricity bill down to the penny... Of course when my wife figured out most of the bill was because of my computer gear I had to build her a dome, so reader beware!" From the article: "About a year ago I developed a web based power monitoring application for data centers. The application was designed to monitor thousands of individual branch circuits using current transducers at the breaker panels. Among other things, the data logging requirements were to provide one year of min/max/mean measurement data with one minute resolution per circuit. Since I had all the hardware for testing, I figured what better way to test things than to install it in my own home."
If you're lucky enough to have the kind of electric meter with a blinking LED on it, you could do this much more simply. Also if I had to do this again I would ditch the op-amp circuit and feed the signal from the photo-resistor straight into the sound card and then do the filtering in software (if the photo-resistor is exposed to sunlight it can be a little tricky to tune using this circuit - software could be smarter).
NASA: Beats us
"while I had to rewire all my electrical to do it"
Most areas have municipal safety codes when it comes to stuff such as wiring. Are you sure your wiring is compliant with such standards? Has it been approved by your local building inspector?
Cyric Zndovzny at your service.
great, you do all this to minimize your bill, then post on slashdot?!?! server is already slow, I imagine the meter is spinning like a top right now...
That's an awesome attitude that we don't get enough of on slashdot these days :(
Unpretentious Sydney reviews by unqualified Sydney reviewers
The screenshots of the monitoring software in use and everything make this seem extremely cool, but the potential risks seem huge. Obviously from the article this guy has done this kind of thing for work and had all the right equipment. I'd hate to see the results of someone lacking these vital elements 'hacking' their mains power system to get pretty graphs. The website says as much in its disclaimers too.
Business Voyeur
With the server already grinding to a halt and the "dome" left unexplained in the summary (is it some sort of euphemism?), I'll spoil the ending:
His wife got ticked off, so to apologize he built her a ceiling dome (a recessed dome built into the ceiling, with a light fixture suspended from the peak). It looks nice.
I would love to see screenshots from the program he is using showing the power consumption of his web servers during this slashdotting. Indeed, it would be beneficial to know more about his hardware setup, too. It would be very interesting to correlate the number of hits/minute with the minute-by-minute power usage of his server(s).
Cyric Zndovzny at your service.
another piece of hardware looking to kill the meter reading industry!
- Meter Reader
Seems to me that this kind of application should be integrated with "Power Over Ethernet" (PoE). Since every node on the network gets its power from the network, the adapter should collect this kind of data, perhaps in an embedded device with its own IP#. The same design logic for DC PoE seems like it should be true about AC "BPL", Broadband over Power Lines. In fact, those power/packet sockets should have cheap little embedded devices that not only report power consumption, but allow control of it via TCP/IP. Isn't there such a network/power platform available COTS?
--
make install -not war
http://www.kondra.com.nyud.net:8090/circuit/circui t.html
http://www.kondra.com.nyud.net:8090/dome/dome.html
Post apocalyptic gaming goodness
The article on house wiring. http://www.kondra.com.nyud.net:8090/circuit/circui t.html
Another popular article from the site on building a ceiling dome. http://www.kondra.com.nyud.net:8090/dome/dome.html
So assuming he did it to try and save money, after all what is any other point of doing it...
Maybe he did because he was interested in doing it? Which would make him a fairly clever bastard; because I'm sure there are more people who would criticize's another interest than actually do the work (the interesting part?) themselves.
The Luddites were ahead of their time.
You don't mess with a woman with a Power Management System...
(ducks)
It doesn't look like money matters much to him.
From the article:
"About nine months ago the motor overheated on our dryer while the house cleaner was here. I asked her how many loads of landry she had done that morning and she said three. I took her back to my office and fired up the software and told her she had done four and wow, there was a significant current surge when the motor gave out. She was also not particularly impressed and she now asks me every time she wants to use something in the house (not a good thing)."www.kondra.com
If he can afford to hire a housecleaner (one who does his laundry, not just clean the floors and bathrooms), then some wiring is the least of his financial worries.
Cyric Zndovzny at your service.
Geeks unite!
Why not take this further? Instead of just monitoring let's modify the system so that we can turn circuits on and off remotely as well as being able to monitor usage. In fact why not wire the whole house so that the lights turn off automatically if there is no one in the room unless the system is manually overridden?
We all need to think about energy conservation and energy security which is a big part of our national security.
I would encourage everyone here to build a system with occupancy sensors so that lights, appliances and devices are not left on unnecessarily.
The occupancy sensor module could include PIR sensors, temperature/humidity sensors, smoke detector, CO detector, intrusion detector and perhaps a CCD camera all linked to a GNU/Linux system capable of controlling energy usage as well as calling the Police or Fire Dept. in case of an emergency.
Live long and prosper
Power over Ethernet is not necessary, use the electricity in the TCP/IP connectivity.
See RFC3251, Electricity over TCP/IP. It's a very interesting read if you're not familiar with it.
In fact he must sample at greater than 120hz* to get meaningful results. He has neglected the possibility that voltage and current can and will be out of phase for each of the loads in his house. Without determining the phase difference, there is no way to accurately deterimne the average power over any interval.
.707), there are fewer still that accurately resolve power factor
c tID.3375/id.5/subID.57/qx/default.htm makes a pretty good approximation. In fact, it even does the integration for you. You could pepper every outlet with these things or just move them around as needed.
There are quite a few meters that measure RMS voltage and RMS current, (though most of the cheap ones actually measure peak values and multiply by
This is a common mistake to make for first year EE students and "over-unity" power converter proponants.
As I understand it, the Kill-A-Watt, http://www.professionalequipment.com/xq/ASP/Produ
*I know you need 2f according to nyquist to resolve the frequency, but I'm not sure what you need to gather the phase information**
** There are other ways to obtain the phase information involving bridge circuits and such, It does not appear that the boards in question provide that information.
Can you be Even More Awesome?!
Surely the next news item has to be "slashdot editor reads TFA"!
That's a whole 'nuther thing.
:).
...but...why? :)
http://www.equalccw.com/wiringdiagram.gif/
This is all going into the older motorhome I'm renovating
Every watt going into and out of that monster 650lb battery (all $1800 worth) will be measured by the Bogart Engineering "Trimetric" device. It sits in-line with the battery negative terminal.
http://bogartengineering.com/trimetric.htm/
The solar charge controller has it's own measuring system as does the inverter/charger but those can be mostly ignored - it's the Trimetric that matters.
Note: "inverters" take 12v DC (or 24v or whatever size battery bank you're running) and convert that to 110v wall juice. Good ones deliver "pure sine wave" power like a very clean electrical outlet. An "inverter charger with pass-through" like my Outback 2812 will take any amount of incoming AC (utility grid, generator, whatever) and pass it through while also charging the battery at 12v in my case. When the utility grid or generator is cut off, it works in reverse, delivering 110v from the battery bank.
My main inverter is this sort of inverter/charger. My secondary inverter is "just an inverter" and smaller at 1100watt, but it's completely isolated from what's going on at the other inverter - a major load like air conditioning or the washer/dryer combo can spectacularly puke and die over on the 2800w main inverter and it'll cause not a single glitchy on the 1100 inverter powering the computer gear, satellite internet, etc.
Anyways. If I wanted to monitor all this with a PC I'd get the Bogart "Pentametric" with PC interface:
http://bogartengineering.com/pentametric.htm/
I've been married for 28 years, largely by studiously avoiding that sort of behavior. I'm frankly surprised the guy is still alive, let alone still married.
I saw this the other day as a reference from Make magazine. I looked into the hardware and that circuit monitor alone is over $2000 USD. Be aware that this setup is quite costly. Notice the update on the first page that says he is trying to get the company to provide a lower cost version.
mp3's are only for those with bad memories
Hardware: Zero dollars
Software: Zero dollars
Linux box: Zero dollars
Explaining to your wife that after hours of development you've built a device that proves the most power hungry appliance in your house is the damn power monitoring system itself: Priceless
I am not expert on the details of various building codes, but I am familiar with the intent of electrical codes that try to prevent high voltage/amperage wiring from being in the same enclosure as low stuff. For example, codes encourage 120 V wiring to run through conduits but prohibit running low power lines (such as phone) to run through the same conduits. Why? Because some stupid accident might cause the wires to become cross connected and blow out devices or start a fire.
Mounting an uncovered PCB (printed circuit board) that communicates with a computer within a 120 V distribution panel is a very big no-no. What if geek hubby is out of town and wifey experiences a power problem and calls in a yellow page electrician to fix the problem? In the worse case the "electrician" accidently drops a tool that winds up connecting 120 V to the computer circuits and starts a fire in the server room.
Building codes are designed as protection from stupidity - not only the stupidity of the the original builders but from the stupidity of those called in to fix problems.
To anybody who wants to do anything similar - it makes sense to put the current sensors in the distribution panel, but please rout them out to a seperate box that sends their info to a computer.