I2C AC Energy Monitoring and Switching