Energy Management via Connected Household Appliances