Use Your Smartphone to Control Your Electrical Appliances