Download - Smart homes using android
SMART HOMES USING ANDROIDJayneil Dalal & Sohil PatelNIRMA UNIVERSITY
A DAY MADE OF ANDROID
HOW DOES THIS WORK?
EUREKA!!!
SOFTWARE:OPENREMOTE(OR)
• It is an open source software.
• Available for Windows, Linux and Mac OS.
• Support for any hardware(e.g: KNX, Netgear, Global Cache etc.)
• Control anything.
• Multiple user panels.
• Almost all home automation protocols supported(TCP/IP, X10 etc.)
WHY OPENREMOTE(OR)??
• It is free! (For commercialization one can also purchase a license)
• Supports majority of the home automation protocols.
• Very less programming knowledge required to design the GUI panels.
• Enables one to control the target device from anywhere around the world!
• A client - server based model, hence it is very easy for a company to update all of its customer control panels.
• Control multiple devices with different protocols at the same time.
HARDWARE:ITACH WF2IR
ITACH WF2IR(FEATURES)
• Industry standard 802.11b wireless interface, 2.5” antenna.• Supports wireless LAN, adhoc and infrastructure mode.• Connector:3.5mm stereo jack• 3 independent selectable IR o/p or sensor i/p.• 3 IR emitters + 1 IR blaster provided.• Power input: 5-16V dc @300mA(USB power cable also included)• LED indicators• Weight ~ 1lb!• Dimensions(LxWxH): 3.25” x 2.25” x 1.25” .
CONFIGURING WF2IR
1.First power ON the WF2IR.2.Then use a WIFI enabled computer/tablet to search for available networks.3. Select the network labeled GlobalCache and connect to it.4. Use a browser to connect to the Itach using its default address of 169.254.1.70.5. Click on network link to change the default settings. 6. Leave the username and password field blank and proceed ahead.7. Now provide your SSID, enable DHCP, change network type to infrastructure and change the security type.8. Click save and wait for the Itach to reboot.
iHELP This is a software from Global Cache which detects the Itach WF2IR device and lists the IP address assigned to it.
iLEARN • To control any device via
Infrared(IR), one must know what code has to be sent to the target device.
• ILEARN is another software from Global Cache which does exactly that.
• Take any remote and point to the Itach device while iLEARN is running in the background and you will get the desired IR code to be sent.
REFERENCE
1. Configure your Itach WF2IR device:http://www.globalcache.info/qs.html
2. Tutorial on iLEARNhttp://www.globalcache.com/support/ilearntutorial
3. Download links:http://www.globalcache.com/downloads/
OR COMPONENTS
HOW DOES OR WORK?
STEP-1:SET UP CONTROLLER
1. Download the OpenRemote controller from www.openremote.org
2. Download Java development kit from Oracle.
3. Set up your environment
4. Extract the zip file and navigate to the bin directory using terminal/cmd.
5. For Windows, type: openremote run For Linux type: ./openremote.sh run
6. A server will start which will run the openremote controller.
STEP-1:VERIFICATION
1. Type http://localhost:8080/controller and you will see the controller page asking you for log in.
2. Provide your details and press sync.
3. You should get a successful message saying that the sync was successful.
STEP-2:INSTALL OR APP
Download the OpenRemote App from the android market and install it.
STEP-3:OR ONLINE DESIGNER
1. Create an account on OpenRemote.
2. Log in to online designer using those details.
3. Create new device which is to be controlled.
4. In that add a new command.
5. Save that command.
6. Add more commands similarly.
STEP-3:OR ONLINE DESIGNER
1. In online designer, switch to GUI designer.
2. There create a new panel.
3. Now on the phone screen, drag and drop different buttons, sliders etc.
4. Now you can integrate the commands you have created with these buttons.
5. Save the GUI layout.
STEP-4:SYNC
Once you complete the design of the panel, sync the controller with the online designer.
STEP-5:CONFIGURE OR APP1. Open the OR app downloaded on your Android phone.
2. Manually add your control panel.
3. Provide the controller URL which is nothing but the IP address of the computer running the controller.
4. The port is 8080.
5. Select your desired panel from the list.
TROUBLESHOOTING
In case of hardware or software problems, please read and use the OpenRemote forums:
http://www.openremote.org/display/forums/User+Forum
WHAT ELSE?
• Control Robots
• Control other electrical appliances(such as AC, music system, curtains etc.)
• Control car accessories
This is just to get you started, you can do a lot more cool stuff!
CONTROLLING ROBOTS
HOW?
Answer: - Using Android Open Accessory Development Kit(ADK) !
ADK:INTRODUCTION
• It is a platform that enables real time communication between android powered devices and micro controller.
• Hardware required: ADK compatible board, Android powered device.
• Software required: IDE for programming controller, ADK package
ADK:WHY?
To combine the functionalities of Android powered devices and micro controllers!
ACKNOWLEDGEMENTS
We would like to thank the following persons for their help and support:
1. Droidcon team
2. Prof. NP Gajjar
3. Open Remote Community
4. Global Cache
QUESTIONS/FEEDBACK?
We really appreciate you listening to us!
THANK YOU