A really simple Python script to dump a Current Cost CC128 energy meter connected over USB serial to a timestamped CSV log.
Produces a never ending CSV file that looks like:
2017-04-28T16:32:31Z,379
2017-04-28T16:32:37Z,371
2017-04-28T16:32:43Z,369
2017-04-28T16:32:49Z,381
2017-04-28T16:32:55Z,377