I've looked for information on the web to link a CurrentCost CC128 energy meter, an Arduino microcontroller and Pachube for energy logging, but most of the tutorials and scattered pages were not related to the CC128 model, so I thought of sharing what I have managed to put together.

This code makes it possible to update instantaneous electricity power and temperature readings from the CC128 CurrentCost unit to Pachube using an Arduino microcontroller.

It is only required to change the variables and defines at the beginning of the CC_Pachube_Ethernet.pde file to suit one's needs:

A chopped ethernet cable can be used to connect the CC128 unit to the Arduino board:

The result is something like this: