SmartHome project for IOS