Bluetooth Based Home Automation Via SmartPhone