December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and...

33
December 14, 2015

Transcript of December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and...

Page 1: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

December 14, 2015

Page 2: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

Curtis MeerkerkChief Executive Officer

Ekta SachdevChief Technical Officer

Daniel QuonChief Information Officer

2

Kara ImhofChief Operating Officer

Meghan LuiChief Financial Officer

Nas MakkiyaChief Security Officer

Team Breakdown

Page 3: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

3

Short Video

Page 4: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

4

OverviewProject MotivationSystem Overview• High Level System Design• SimpleHome Hub• Peripherals• Website & Database• Machine Learning

Business Case• Market and Competition• Budget• Timeline

Project Wrap Up

Page 5: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

5

Project Motivation

• Easy-to-use, Inexpensive, Energy-Efficient and Secure Home Automation System

• By 2030, 25% of Canadian population will consist of senior citizens

• Reduce dependence on old-age homes• Can be integrated with existing Home

Automation Systems

Page 6: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

6

System Overview

Page 7: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

SimpleHomeHub

• Used a BeagleBone Black as the core of the Hub

• Powerful processor, connectivity benefits and reliability of device

• Connect to WiFi devices

• Connect to ZigBee devices

• Send structured data collected from devices to the web-server

• Respond to user-requests by sending commands to devices

7

Page 8: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

88

Outlet Peripheral

◦ High current Wall plug, with a SolidWorks model

Page 9: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

99

Light SW Peripheral 1

Page 10: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

10

Light SW Peripheral 2

Page 11: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

1111

Firmware

• Used eLua as the main language

• Standardized API Across Peripherals

• Adding UDP Discovery

• The SOC FW needed to be recompiled

Page 12: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

12

Automated Blinds

Page 13: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

13

Zigbee Protocol

• Wireless protocol using mesh network

• Coordinators, routers and end devices

Page 14: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

14

• Zstack Linux Gateway Software on hub

• CC2531 Dongle and GE Link Bulb

• Endpoint communication – Virtual Wire

Zigbee Protocol

Page 15: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

15

Website

• Utilized Meteor Framework for easy front and back end integration

• Implemented UI with Bootstrap library

• Simple design with 4 peripheral images

Page 16: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

16

Website

Page 17: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

17

Database

• Website interface synched with MongoDB

• The Hub subscribes to the database

• Uses Distributed Data Protocol (DDP) to communicate

Page 18: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

18

Database Hierarchy

SimpleHomeData

Lights

Temp State Time

Outlets

Temp Time

Thermostat

Temp Time

Blinds

Temp Light State Time

Page 19: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

1919

Security

• Using VPN to connect the hub to the server

• Reliable

• Secure, Encrypted

• Making sure to lock permissions on the hub

• 30,000 websites are hacked a day

Page 20: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

2020

Intel Lab Data

Page 21: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

2121

Machine Learning

Page 22: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

2222

Light Balance

Page 23: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

2323

Temperatureand Humidity

Page 24: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

24

Business Case

• Home Automation: estimated worth 9-12 million USD• Big-name competitors: Apple’s HomeKit and Samsung’s

Smart Home• Why choose SimpleHome?

Page 25: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

25

Budget• Projected Costs

Page 26: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

26

Budget• Actual Costs and Funding

Page 27: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

27

Timeline

Do

cum

en

tati

on

Tech

nic

al

Page 28: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

28

We Did Not Kill Each Other

Page 29: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

29

Project Wrap Up

Page 30: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

• Teamwork and Communication

• Website and Database

• Home Automation

• Zigbee Protocol

• Hardware Development

• Integration

30

What We Learned

Page 31: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

• Dr. Andrew Rawicz

• Steve Whitmore

• Lukas-Karim Merhi

• IEEE Canadian Foundation and ESSEF for helping fund our project

31

Acknowledgements

Page 32: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

[1] Victoria Buzz, “Business”, 2015, [Online]. Available: http://www.victoriabuzz.com/category/business/. Accessed [10-Dec-2015].

[2] Silicon Labs, “EmberZNet PRO Zigbee Protocol Stack Software”, 2015, [Online]. Available: https://www.silabs.com/products/wireless/zigbee/Pages/zigbee-software.aspx. Accessed [12-Dec-2015].

[3] Intel, “Intel Lab Data”, 2004, [Online]. Found at: http://db.csail.mit.edu/labdata/labdata.html. Accessed [14-Dec-2015].

[4] Karenzo Media , “Writing Essay Introductions and Conclusions”, 2012, [Online]. Available: https://mrssilvestri.wordpress.com/2012/11/06/writing-essay-introductions-and-conclusions/. Accessed [10-Dec-2015].

[5] EzeCastle Integration, “Questions to Ask a Cloud Provider”, 2013, Online]. Available: http://www.eci.com/cloudforum/cloud-provider-questions.html. Accessed [10-Dec-2015].

[6] Forbes, “30,000 Web Sites Hacked A Day. How Do You Host Yours?”, 2013, [Online]. Available: http://www.forbes.com/sites/jameslyne/2013/09/06/30000-web-sites-hacked-a-day-how-do-you-host-yours/. Accessed [12-Dec-2015].

32

References

Page 33: December 14, 2015whitmore/courses/ensc305/... · •Utilized Meteor Framework for easy front and back end integration •Implemented UI with Bootstrap library •Simple design with

33

Questions