While working on CurrentCost_munin, I often needed dumps of CurrentCost XML. I made a very small utility for doing this. If anyone is interested, you can download the source (also available on github). It depends on ctb, as described in the previous article. The only parameter is which device to listen on (if run without parameters, it will default to /dev/ttyUSB0). Remember to run with the needed permissions (on Debian-based systems, you need to be member of the dialout group, or run as sudo). You can use "pkill -TERM CurrentCostDump" to terminate the running process.