@transcender: Please remember that the Kill-a-watt uses a transformerless power supply, and you have to be extremely careful if you're attempting any kind of interface to external electronics. It must be optically isolated, with an independent power supply on both sides of the optoisolators. Not sure if you already know this or not, I just wanted to make sure.
Basically, there is a 5V potential difference between the microcontroller's Vdd and Vss rails, but there is *not* a potential difference of 5 volts between the microcontroller's Vdd rail and mains earth - the 5V rail inside the kill-a-watt will in fact be at about 120VAC or 240VAC relative to mains earth. All the components inside are at the live AC mains potential relative to mains earth.
So if you just bring out a digital line - I2C or serial or whatever it is - from inside the Kill-a-Watt's microcontroller and connect it to another external microcontroller with a conventional power supply, that external microcontroller will see 120 VAC on that line, relative to its own DC ground. Which is a Bad Thing.



