Thesispresentatie maart

47
CONTEXT AWARENESS IN A SMART HOME Robin De Croon @robindecroon & robindecroon.wordpress.com Advisor dr. Joris Klerkx Supervisor prof. dr. ir. Erik Duval

description

This is an intermediate presentation given on March 26 for my thesis.

Transcript of Thesispresentatie maart

Page 1: Thesispresentatie maart

CONTEXT AWARENESS IN A SMART HOME

Robin De Croon

@robindecroon & robindecroon.wordpress.com

Advisor dr. Joris Klerkx

Supervisor prof. dr. ir. Erik Duval

Page 2: Thesispresentatie maart

Content

•Context

•Real Data

•Rapid Prototyping

•Programming Problems

•Statistics & Planning

•Demo

March 26, 2013 2

http://blog.thoughtpick.com/wp-content/uploads/2011/01/web_design_services.11-18.web_content.jpg

Page 3: Thesispresentatie maart

CONTEXTContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 3

Page 4: Thesispresentatie maart

Context & Purpose

•Mobile application

•Context Awareness

•Smart Home Technology

•Data Visualization

March 26, 2013 4

Page 5: Thesispresentatie maart

REAL DATAContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 5

Page 6: Thesispresentatie maart

Visit to UGent

•Jelle Nelis

•DYAMAND• (DYnamic,Adaptive MAnagement of Networks and Devices)

March 26, 2013 6

http://ieeexplore.ieee.org/xpl/login.jsp?tp=&arnumber=6423604&url=http%3A%2F%2Fieeexplore.ieee.org%2Fxpls%2Fabs_all.jsp%3Farnumber%3D6423604

Page 7: Thesispresentatie maart

SmartE (i)

•Matthias Strobbe

•13 databasesSolar panels, boilers, dishwasher, …

March 26, 2013 7

Page 8: Thesispresentatie maart

SmartE (ii)

March 26, 2013 8

Page 9: Thesispresentatie maart

Demec

•Very good supporter!

•General ideas

•Attempt to connect to Domintell

•Connection with Loxone•Demo Case with Mini-Server

March 26, 2013 9

Page 10: Thesispresentatie maart

RAPID PROTOTYPING

Context

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 10

Page 11: Thesispresentatie maart

Rapid Prototyping

•Paper Prototype I5 users

SUS score: 65

•Paper Prototype II9 users

SUS score: 80

•Digital Prototype I3 users

SUS score: 82.5

•Digital Prototype II

March 26, 2013 11

http://www.susanhutchinson.com/wp-content/uploads/2009/02/todo.jpg

Page 12: Thesispresentatie maart

Paper Prototype I

March 26, 2013 12

Page 13: Thesispresentatie maart

PROBLEMSPAPER PROTOTYPE I

March 26, 2013 13

Page 14: Thesispresentatie maart

Tablet Application?

March 26, 2013 14

M. de Sá and L. Carric¸o, “Low-fi prototyping for mobile devices,”in CHI ’06 extended abstracts on Human

factors in computing systems –CHI EA ’06, (New York, New York, USA),

p. 694, ACM Press, 2006.

Page 15: Thesispresentatie maart

Home Screen

March 26, 2013 15

4/5

Page 16: Thesispresentatie maart

Interpretation TreeMap

March 26, 2013 16

4/5

Page 17: Thesispresentatie maart

Location

March 26, 2013 17

4/5

Page 18: Thesispresentatie maart

Interpretation Tree

March 26, 2013 18

3/5

Page 19: Thesispresentatie maart

PROBLEMSPAPER PROTOTYPE II

March 26, 2013 19

Page 20: Thesispresentatie maart

Exhausting for the eyes

March 26, 2013 20

Me

“Bright colors can become tiresome on the eyes and should not be used for large areas of a screen and a

vibrating effect can result from contrasts in brightness being too large or when eyes have difficulty focusing

because of two similarly saturated colors used in combination “ - Stone, Debbie [et al.]. User Interface Design and Evaluation. Morgan Kaufmann, 2005.

Page 21: Thesispresentatie maart

Icons not clear

March 26, 2013 21

6/9

Page 22: Thesispresentatie maart

HOME HOUSE

March 26, 2013 22

4/9

Page 23: Thesispresentatie maart

Tabs to change room

March 26, 2013 23

4/9

Page 24: Thesispresentatie maart

PROBLEMSDIGITAL PROTOTYPE I

March 26, 2013 24

Page 25: Thesispresentatie maart

General navigation scheme

March 26, 2013 25

3/3

Page 26: Thesispresentatie maart

New navigation scheme

March 26, 2013 26

Page 27: Thesispresentatie maart

More detailed information

March 26, 2013 27

3/3

Page 28: Thesispresentatie maart

Selecting a time period

March 26, 2013 28

3/3

Page 29: Thesispresentatie maart

Interpretation Treemap

March 26, 2013 29

1/3

Page 30: Thesispresentatie maart

Real Data

March 26, 2013 30

Page 31: Thesispresentatie maart

Bugs

March 26, 2013 31

http://info.nsiserv.com/Portals/14250/images/broken%20android.jpg

Page 32: Thesispresentatie maart

PROGRAMMING PROBLEMS

Context

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 32

Page 33: Thesispresentatie maart

Hiding Action and Navigation Bar

•Different fullscreen themes

•Different flags• SYSTEM_UI_FLAG_HIDE_NAVIGATION

• SYSTEM_UI_FLAG_FULLSCREEN

• SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN

• SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION

• SYSTEM_UI_FLAG_LOW_PROFILE

No fullscreen application or

Lights out modeMarch 26, 2013 33

Page 34: Thesispresentatie maart

WebView dynamic size

•WebView reports wrong size• Not ready when Window.width is called

•Different JavaScript functions

•Different Layouts for webview• Fixed size

•Reloading the website

•Interface between Java and JavaScript

Window.setTimeout (35 milliseconds)

March 26, 2013 34

Page 35: Thesispresentatie maart

Selection in ListView

• Unable to select first element programmatically• Element is selected, but not shown

• Different method calls• setItemChecked(0, true);

• setSelection(0);

• performItemClick();

• onListItemClick();

• smoothScrollToPosition(0);

• Invalidate()

• Custom layout()

Not needed anymoreMarch 26, 2013 35

Page 36: Thesispresentatie maart

DatePicker

•One calendar to select two dates

•DatePicker with from and until

2 subsequent DatePickers

March 26, 2013 36

Page 37: Thesispresentatie maart

Spinners

http://images.sodahead.com/polls/002260503/1620742673_532dd66d_mind_blown_xlarge.jpeg

March 26, 2013 37

Page 38: Thesispresentatie maart

Spinners

•(Visibly) select item programmatically & reset other spinners• Set selection• Reset (object to null, reinitialize)• Remove all spinners from layout

New Activity

•Underline selected item

SpannebleString in custom Listener

March 26, 2013 38

Page 39: Thesispresentatie maart

Spinners

•Spinners on the leftCustom layout

•Initial text• Dummy item + Removing dummy item

NoDefaultSpinner (java reflection)

•Reselect selected itemNot necessary (because of other hack)

March 26, 2013 39

Page 40: Thesispresentatie maart

Retrieving data from Loxone

•FTP connection• But hashed files (hmac-SHA1)

•XML files accessible through HTTP• But random file names!

• How to get file list?

• Login required

File names through FTP,

HTTP connection afterwardsMarch 26, 2013 40

Page 41: Thesispresentatie maart

STATISTICS&

PLANNINGContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 41

Page 42: Thesispresentatie maart

Statistics

March 26, 2013 42

Page 43: Thesispresentatie maart

Time Division

27,5

191

76

30 22 27 14

100

120

50

100

150

200

250

March 26, 2013 43

Page 44: Thesispresentatie maart

Planning

•Loxone (30)

•Implementation (40)• Yield

• Settings

•Evaluation Digital Prototype II (30)

•Literature Study + Paper (20)

•Writing text + blogposts (100)

•Final presentation + defense (40)

•Social Activities (20)

March 26, 2013 44

Page 45: Thesispresentatie maart

Score

March 26, 2013 45

15/20

Page 46: Thesispresentatie maart

DEMOContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 46

Page 47: Thesispresentatie maart

http://2.bp.blogspot.com/-gZjNR3XVULs/T_ZOVgE-5lI/AAAAAAAAAg8/6YVmd5Q064o/s1600/questions11.jpg

March 26, 2013 47