#347 Measuring Mains Voltage, Current, and Power for Home Automation