lots of energy monitoring improvements, mostly moveed the energy monitoring from node to ruby