Added support for the publish callback for debugging. Scaled reading to watts.