Appliances for the smart grid