Over the last couple of weeks I have been writing a MQTT to COSM bridge. Unfortunately (I think because of COSM) it has only been staying up and running for a few hours at a time.
I was about to un-plug the old Linux work-horse (being slowly replaced by sexy Mac Mini Server) and realised that I hadn't converted my Currentcost Envi to work on OSX.
I initially thought it would be pretty straight-forward but after a labourious and unusual CPAN update to my perl installation I hit a road block with talking to the Prolific
The code below is the first attempt at getting my original CurrentCost Classic (or WattsClever) energy monitor connected to my only Fedora Core 5 box and updating the data to Pachube.
The Classic connected without any problems (although occasionaly would swap USB ports with my Davis Station connection(???).