smart homes using android

30
SMART HOMES USING ANDROID Jayneil Dalal & Sohil Patel NIRMA UNIVERSITY

Upload: droidcon-berlin

Post on 27-Jan-2015

111 views

Category:

Technology


3 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Smart homes using android

SMART HOMES USING ANDROIDJayneil Dalal & Sohil PatelNIRMA UNIVERSITY

Page 2: Smart homes using android

A DAY MADE OF ANDROID

Page 3: Smart homes using android

HOW DOES THIS WORK?

EUREKA!!!

Page 4: Smart homes using android

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.)

Page 5: Smart homes using android

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.

Page 6: Smart homes using android

HARDWARE:ITACH WF2IR

Page 7: Smart homes using android

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” .

Page 8: Smart homes using android

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.

Page 9: Smart homes using android

iHELP This is a software from Global Cache which detects the Itach WF2IR device and lists the IP address assigned to it.

Page 10: Smart homes using android

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.

Page 11: Smart homes using android

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/

Page 12: Smart homes using android

OR COMPONENTS

Page 13: Smart homes using android

HOW DOES OR WORK?

Page 14: Smart homes using android

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.

Page 15: Smart homes using android

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.

Page 16: Smart homes using android

STEP-2:INSTALL OR APP

Download the OpenRemote App from the android market and install it.

Page 17: Smart homes using android

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.

Page 18: Smart homes using android

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.

Page 19: Smart homes using android

STEP-4:SYNC

Once you complete the design of the panel, sync the controller with the online designer.

Page 20: Smart homes using android

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.

Page 21: Smart homes using android

TROUBLESHOOTING

In case of hardware or software problems, please read and use the OpenRemote forums:

http://www.openremote.org/display/forums/User+Forum

Page 22: Smart homes using android

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!

Page 23: Smart homes using android

CONTROLLING ROBOTS

Page 24: Smart homes using android

HOW?

Answer: - Using Android Open Accessory Development Kit(ADK) !

Page 25: Smart homes using android

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

Page 26: Smart homes using android

ADK:WHY?

To combine the functionalities of Android powered devices and micro controllers!

Page 27: Smart homes using android

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

Page 28: Smart homes using android

CONTACT US

Jayneil Dalal:[email protected]

Sohil Patel:[email protected]

Page 29: Smart homes using android

QUESTIONS/FEEDBACK?

Page 30: Smart homes using android

We really appreciate you listening to us!

THANK YOU