Advanced monitoring with a smart meter