Thesispresentatie maart

Post on 22-Nov-2014

1.266 views 1 download

description

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

Transcript of 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

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

CONTEXTContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 3

Context & Purpose

•Mobile application

•Context Awareness

•Smart Home Technology

•Data Visualization

March 26, 2013 4

REAL DATAContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 5

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

SmartE (i)

•Matthias Strobbe

•13 databasesSolar panels, boilers, dishwasher, …

March 26, 2013 7

SmartE (ii)

March 26, 2013 8

Demec

•Very good supporter!

•General ideas

•Attempt to connect to Domintell

•Connection with Loxone•Demo Case with Mini-Server

March 26, 2013 9

RAPID PROTOTYPING

Context

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 10

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

Paper Prototype I

March 26, 2013 12

PROBLEMSPAPER PROTOTYPE I

March 26, 2013 13

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.

Home Screen

March 26, 2013 15

4/5

Interpretation TreeMap

March 26, 2013 16

4/5

Location

March 26, 2013 17

4/5

Interpretation Tree

March 26, 2013 18

3/5

PROBLEMSPAPER PROTOTYPE II

March 26, 2013 19

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.

Icons not clear

March 26, 2013 21

6/9

HOME HOUSE

March 26, 2013 22

4/9

Tabs to change room

March 26, 2013 23

4/9

PROBLEMSDIGITAL PROTOTYPE I

March 26, 2013 24

General navigation scheme

March 26, 2013 25

3/3

New navigation scheme

March 26, 2013 26

More detailed information

March 26, 2013 27

3/3

Selecting a time period

March 26, 2013 28

3/3

Interpretation Treemap

March 26, 2013 29

1/3

Real Data

March 26, 2013 30

Bugs

March 26, 2013 31

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

PROGRAMMING PROBLEMS

Context

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 32

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

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

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

DatePicker

•One calendar to select two dates

•DatePicker with from and until

2 subsequent DatePickers

March 26, 2013 36

Spinners

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

March 26, 2013 37

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

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

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

STATISTICS&

PLANNINGContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 41

Statistics

March 26, 2013 42

Time Division

27,5

191

76

30 22 27 14

100

120

50

100

150

200

250

March 26, 2013 43

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

Score

March 26, 2013 45

15/20

DEMOContext

Real Data

Rapid Prototyping

Programming Problems

Statistics & Planning

Demo

March 26, 2013 46

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

March 26, 2013 47