a smart meter based on raspberry pi, node.js, protovis and some electrical circuits