Smart metering systems and quality control systems