ihale milestone 2 kickoff

20
1) TeamHawaii Solar Decathlon Software System Interface Milestone 2 Kickoff Philip Johnson Collaborative Software Development Laboratory Information and Computer Sciences University of Hawaii

Upload: philip-johnson

Post on 01-Nov-2014

903 views

Category:

Education


4 download

DESCRIPTION

Overview of iHale Milestone 2

TRANSCRIPT

Page 1: iHale Milestone 2 Kickoff

(1)

TeamHawaii Solar DecathlonSoftware System Interface

Milestone 2 Kickoff

Philip JohnsonCollaborative Software Development Laboratory

Information and Computer SciencesUniversity of Hawaii

Page 2: iHale Milestone 2 Kickoff

(2)

Overview for everyone

Page 3: iHale Milestone 2 Kickoff

(3)

ICS Software Mission Provide a student-based, innovative software solution.

Create functionality not available in commercial, off the shelf software.

Support a "smart" house.

Page 4: iHale Milestone 2 Kickoff

(4)

What makes a house smart? Requires data:•Need to know the current and historical "state" of major house systems.

Requires control:•"Smart" implies ability to take action.

Requires integration:•Within house: actions based upon knowledge of *all* systems, not one.•Outside of house: ability to interact with Facebook, smart phones, etc.

Page 5: iHale Milestone 2 Kickoff

(5)

System architecture

Web UI

iHale API

Repository

iHale

Aquaponics

House Systems

PV

HVAC

Lighting

Water

Data

Control

Data

Control

Tablet

Smart Phone

Facebook

MachineLearning

AdditionalInterfaces

HTTP HTTP

Kinect

Page 6: iHale Milestone 2 Kickoff

(6)

UI Example

Page 7: iHale Milestone 2 Kickoff

(7)

Milestone 2 goal Implement monitoring and control for all five house systems.•Due in April, 2011.

Explore the "design space" of monitoring and control capabilities.

The following slides show our assumptions for Milestone 2 about each system.

Page 8: iHale Milestone 2 Kickoff

(8)

Aquaponics Monitoring:•Circulation•Dead Fish•Elec. Conduct.•Nutrients•Oxygen•pH•Temperature•Turbidity•Water Level

Control:•Feed fish•Harvest fish•Add nutrients•Adjust pH•Set temperature•Set water level

Page 9: iHale Milestone 2 Kickoff

(9)

HVAC Monitoring:•Temperature

Control:•Set temperature

Page 10: iHale Milestone 2 Kickoff

(10)

Photovoltaic Monitoring:• Instantaneous power•Cumulative energy

Control:•(No control)

Page 11: iHale Milestone 2 Kickoff

(11)

Electricity Consumption Monitoring:• Instantaneous power consumption•Cumulative energy

Control:•(No control.)

Page 12: iHale Milestone 2 Kickoff

(12)

Lighting Monitoring:•Monitor each room individually:-Lighting level-Lighting enabled-Lighting color

Control:•Control each room individually:-Lighting level-Lighting enabled-Lighting color

Page 13: iHale Milestone 2 Kickoff

(13)

Issues to ponder What is the "sweet spot" for monitoring and control capabilities that:•Enables innovation beyond present commercial software;•Provides maximum opportunities for "smart" behavior;•Is within budget.

Brainstorm:•What else can we monitor/control?•What other kinds of "smart" are possible?

Page 14: iHale Milestone 2 Kickoff

(14)

Thanks for listening Questions?

ICS student project lead:•Kurt [email protected]

Faculty sponsor: •Philip [email protected]

Page 15: iHale Milestone 2 Kickoff

(15)

Details of Milestone 2

Non-programmers can stop watching now.

Page 16: iHale Milestone 2 Kickoff

(16)

Milestone 1 API (review) ihale-api.jar provided:•Interface for repository (DB).•Interface for commands.

Backend:•Implemented both interfaces.

Frontend:•Used the backend implementations.

Simulator:•Didn't need either, used HTTP API

Page 17: iHale Milestone 2 Kickoff

(17)

Milestone 2 API ihale-api.jar•Provides interface for repository (DB).•Provides interface for commands.•Provides implementation of DB!

Backend:•Implement commands.•Use iHale API repository implementation.

Frontend:•Use Backend implementation of commands•Use iHale API repository implementation.

Page 18: iHale Milestone 2 Kickoff

(18)

iHale API repository Uses enumerated types to specify:•System names•State variable names•Command names•Room names

Provides ~60 methods for retrieval of:•The most recent state value for any system/state variable combination.•A list of historical data points for any system/state variable combination.

New persistent data: •"System Status Messages"

Page 19: iHale Milestone 2 Kickoff

(19)

Benefits "API Dictionary" is now hard-coded•No strings attached.

Front end can create sample repository data for testing/development.•No need to wait for backend.

Page 20: iHale Milestone 2 Kickoff

(20)

on to the demo