reractored out rpi-gpio in smartMeter.js. It did not work on my second rpi...