Home Automation with SmartPhones and iPads