Enabling smarter homes for everyone Ratul Mahajan.

Slides:



Advertisements
Similar presentations
Integrating Opengear console servers into SolarWinds Orion NPM
Advertisements

Mobile Wireless Sensor Network (mWSN) at Nokia
Towards Self-Managing Home Networking Systems Yi-Min Wang Cybersecurity and Systems Management Microsoft Research, Redmond (Google Strider Wang)
Pervasive Wireless Solutions © Copyright IBM Corporation 2004 IBM La Gaude Smart Home / Intelligent Building Jean-Michel Corrieu IBM Europe Technical Manager.
Mid-market server campaign – thru partner presentation: Slide for presenter only: do not show Speaker: Partner Title of Presentation: Giving you the power.
Saving Energy, Timer & Automation Best Design Course 30 Minutes Test 10 Minutes TIS Training Program 2012, Rev 1.1
Hello i am so and so, title/role and a little background on myself (i.e. former microsoft employee or anything interesting) set context for what going.
Home Automation Products Introduction Home Automation Products تقنية البيوت والمكاتب الذكية –الأجهزة المستخدمة.
An Operating System for the Home Colin Dixon (IBM Research) Ratul Mahajan Sharad Agarwal A.J. Brush Bongshin Lee Stefan Saroiu Paramvir Bahl.
An Operating System for the Home Colin Dixon (IBM Research) Ratul Mahajan Sharad Agarwal A.J. Brush Bongshin Lee Stefan Saroiu Paramvir Bahl.
HWg-Juno HW group is a manufacturer of IP-based sensors from Prague, Czech republic. HWg delivers remote monitoring & control solutions.
View the home as a computer Ratul Mahajan Microsoft Research IEEE CCW, Oct 2011 Joint work with Sharad Agarwal, AJ Brush, Colin Dixon, Bongshin Lee, Stefan.
Beyond the super-rich and the super-geeks: Smart homes for the rest of us Ratul Mahajan Microsoft Research HomeNets 2010.
Operating Systems Manage system resources –CPU scheduling –Process management –Memory management –Input/Output device management –Storage device management.
Welcome to the Award Winning Easiest to Use & Most Advanced View, Manage, and Control Security, Access Control, Video, Energy & Lighting Systems, & Critical.
Installing Windows XP Professional Using Attended Installation Slide 1 of 30Session 8 Ver. 1.0 CompTIA A+ Certification: A Comprehensive Approach for all.
Introduction Build and impact metric data provided by the SGIG recipients convey the type and extent of technology deployment, as well as its effect on.
Systematically exploring control programs Ratul Mahajan Joint work with Jason Croft, Matt Caesar, and Madan Musuvathi.
POC Security System High security system combining PIN-on-Card, information security, physical access, control and alarm – all in one system.
A new Network Concept for transporting and storing digital video…………
Prestige 2.0 Commercial Thermostat with Internet Connectivity.
Towards commodity smarthomes Ratul Mahajan. Partners in crime A.J. BrushBongshin Lee Sharad AgarwalStefan Saroiu Colin Dixon Frank Martinez.
Creative Use of Technology in Community Supportive Living Chris Patterson with Guest Presenter Tracy King.
Lighting Automation LLC 800-LED Lighting Automation Smart Lighting Systems.
1 CMSC 691: Systems for Smart Home Automation Nilanjan Banerjee Smart Home Automation University of Maryland Baltimore County
Home Automation in the Wild: Challenges and Opportunities
Windows Deployment Services WDS for Large Scale Enterprises and Small IT Shops Presented By: Ryan Drown Systems Administrator for Krannert.
XProtect® Expert 2013 Product presentation
The Home Needs an Operating System (and an App Store) Colin Dixon (University of Washington) October 20 th, 2010 Ratul Mahajan, Sharad Agarwal, A.J. Brush,
Home Lab: Shared Infrastructure for Home Technology Field Studies A.J. BrushJaeyeon JungRatul MahajanJames Scott.
Course Introduction CSE481M: Home Networking Capstone March 28 th, 2011.
5. Case Study Smart Home in a Life Care Community Apartment Complex.
HNI: Human network interaction Ratul Mahajan Microsoft dub, University of Washington August, 2011.
Network+ Guide to Networks, Fourth Edition Chapter 1 An Introduction to Networking.
Accelerating innovation in home technology Ratul Mahajan.
Top 10 Strategic Technology Trends for 2013 A Channel Partners Slide Show … as highlighted at.
DUE Security and Fire Alarm Systems LEARNING OUTCOME 7B Describe design overview and location considerations.
An Operating System for the Home Colin Dixon (IBM Research) Ratul Mahajan Sharad Agarwal A.J. Brush Bongshin Lee Stefan Saroiu Paramvir Bahl.
Lecture 23: The Case for HomeOS Xiaowei Yang. Today’s Plan HomeOS – Why & How Final Review – We’ve learned a lot! Course Evaluation.
SP2 Mikael Nystrom. Agenda Översikt Installation.
Computers Are Your Future © 2008 Prentice-Hall, Inc.
Hands-On Microsoft Windows Server 2008
Week #7 Objectives: Secure Windows 7 Desktop
How computers work Learning objective 2: Explain the four basic functions of a computer.
Cullen College of Engineering RFID-Based Solutions for Piping Technology Piping Tech & UH July, 2007.
Home Lab: Shared Infrastructure for Home Technology Field Studies A.J. BrushJaeyeon JungRatul MahajanJames Scott.
Specification section 6.2. What do you need to learn? The application and advantages/disadvantages of the following digital media and new technology in.
1 Monitor System Reliability alarm on demand, sag/surge, and etc. Perform Advanced Power Quality Analysis provide real-time trending. Centralized.
Windows XP Professional Features ©Richard L. Goldman February 5, 2003.
Compatibility and Interoperability Requirements
Systematically exploring control programs (Lecture I) Ratul Mahajan Microsoft Research Joint work with Jason Croft, Matt Caesar, and Madan Musuvathi.
INVENTING TECHNOLOGY FOR HOMES AND FAMILIES Speaker: A.J. Bernheim Brush Host: Lori Pollock.
Internet of Things. IoT Novel paradigm – Rapidly gaining ground in the wireless scenario Basic idea – Pervasive presence around us a variety of things.
VESTA A luxury you can get at a punch of a key. A complete automation for your home, controlling lighting, climate, audio, video, home theater, telephone.
Realization of Home Appliances Control System based on Power Line Communication Technology.
ORT Braude College – Software Engineering Department WristQue: A Personal Sensor Wirstband Brian D. Mayton, Nan Zhao, Matt Aldrich, Nicholas Gillian, and.
Home Security Options What can I do to deter Burglars?
WHY VIDEO SURVELLIANCE
WHY VIDEO SURVELLIANCE
Bluetooth History and Uses.
Top 10 Strategic Technology Trends for 2013
IOT Critical Impact on DC Design
HOME AUTOMATION SYSTEM
Wavestore Integrates… Paxton Net2 Access Control
Top 10 Strategic Technology Trends for 2013
WHY VIDEO SURVELLIANCE
WHY VIDEO SURVELLIANCE
Features Overview.
Presentation transcript:

Enabling smarter homes for everyone Ratul Mahajan

Partners in crime A.J. Brush Bongshin LeeSharad AgarwalStefan Saroiu Colin Dixon

Smarthomes

Connected devices for the home Inexpensive Need “no new wires” – Use regular voltage or batteries – Wireless communication Use maturing, reliable standards – Z-Wave, ZigBee, Powerline

Study to understand the gap Visited homes with modern automation systems Inventory Semi-Structured Interview Questionnaire Home Tour Interviewed 31 people across 14 homes [Home automation in the wild: Challenges and opportunities, CHI 2011]

Why smarthomes? “It allows me to be lazy” ConveniencePeace of mindControl “I like just being in control” “I can track things when I’m not there and know that…it’s…secure”

Extensibility or Why not smart homes? Manageability

Existing abstractions for home tech Network of devices – Interoperability protocols DLNA, Z-Wave, Speakeasy, … Open, low-level device access Appliance – Monolithic systems Crestron, Control4, EasyLiving, … Fixed tasks over fixed devices Climate control Remote monitoring Management is still hard Users must manage each device/task Developers must deal directly w/ h/w Management is still hard Users must manage each device/task Developers must deal directly w/ h/w Extensibility is still hard Closed set of tasks Closed set of devices Extensibility is still hard Closed set of tasks Closed set of devices

Our abstraction View the home as a computer Networked devices =~ peripherals Tasks over these devices =~ applications Adding devices =~ adding a peripheral Adding tasks =~ installing an application Managing networked devices =~ managing files [The home needs an operating system (and an app store), HotNets 2010]

HomeOS overview HomeHub Security…….. HomeStore Z-Wave, DLNA, WiFi, etc. HomeHub centralizes all devices for users and apps HomeStore helps find compatible devices and apps HomeCloud HomeCloud enables remote access and control Climate

HomeHub layering model Device discovery, pairing, and comm. for multiple protocols (e.g., DLNA, Z-Wave) Device capabilities are exported as services Decouples apps and device protocols Allows for differentiation by vendors Primitives are specialized to home setting Simplifies management Apps use high-level abstractions Simplifies app development Manifests enable compatibility checks Application Mgmt. and access control Device functionality Device connectivity..... [An operating system for the home, NSDI 2012]

Prototype Built using.NET and C# – ~20K LoC (~3K kernel) – 18 diverse apps (~300 lines per app) Support for several protocols and devices – Z-Wave, UPnP, DLNA, custom – Dimmers, light switches, cameras, motion sensors, d/w sensors, ….

12 homes running HomeOS for 4-8 months – Using different devices and applications E.g., Cameras, light controllers, door-window sensors 42 student developers across 10 research groups – Developed new drivers and apps E.g., energy meters, IM, appliance controllers Field experience with HomeOS

Example third-party applications For videos, see

Field experience: The good Users could manage their HomeOS deployments Users particularly liked the ability to organically extend their technology Developers found the programming abstractions and layering to be “natural”

Field experience: The bad Users found it hard to diagnose faults Interoperability protocols can be fragile Not all device features may be exposed over the network

Recap Extensibility and manageability challenges are keeping smart, connected homes out of the mainstream HomeOS addresses them by providing a computer-like abstraction for home technology

Many problems are still open Predictability Security & privacy Robustness User programming Domain characteristics Non-expert “admins” Heterogeneous devices and networks Interaction with the physical world Domain characteristics Non-expert “admins” Heterogeneous devices and networks Interaction with the physical world

Back to the future: Forecasting program behavior for predictable control

More partners in crime Jason CroftMatt Caesar Madan Musuvathi

Living with HA today is an adventure “At one point I had a rule that would turn on the heat, disarm the alarm, turn on some lights, etc. at 8am in the morning on weekdays. What I didn’t consider was the fact that I wouldn’t want this to happen when I was on vacation. I came home from vacation to find a warm, inviting, insecure, well lit house that had been that way for a week. I didn’t realize until then that I needed the morning setup process to only apply when the alarm was set in sleep mode which I set every night before I go to bed. That’s just one example, but the point is that it has taken me literally YEARS of these types of mistakes to iron out all the kinks.”

Reasoning about the behavior of HA programs is difficult motionFrontPorch.Detected: if (Now - timeLastMotion < 1 secs && lightMeter.LightLevel < 20) FrontPorchLight.Set(On); timeLastMotion = Now; frontPorchLight.StateChange: if (frontPorchState == On) timerFrontPorchLight.Reset(5 mins); timerFrontPorchLight.Fired: if (Now.Hour > 6AM && Now.Hour < 6PM) FrontPorchLight.Set(Off); Dependence on time Dependence on env. factors Rule interaction Dependence on device state

Predictable control through virtual fast forwarding Explore all possible future script behaviors Challenge: Anything can happen anytime Our approach: – Use timed automata to reason about time – Use program analysis to reduce input space

timeLastMotion values: Timed automata FSAs extended with virtual clocks (VCs) – Divide time into indifference regions motionFrontPorch.Detected: if (Now - timeLastMotion < 1 secs && lightMeter.LightLevel < 20) FrontPorchLight.Set(On); timeLastMotion = Now; ∞ 1 sec 0 sec

DeLorean: Our FF engine Input: HA script, FF duration, invariants (optional) Output: final states, violations 1.Transform HA programs – Model devices 2.Program analysis (using Pex) – Model time-related activities as VCs – Partition input (event, environmental state) space 3.Explicit state model checking – Subject a state to all possible stimuli and a delay

Evaluation using real HA programs Fast forwarding rate: ,000x Found 4 bugs in 2 HA programs

Connected devices are everywhere

Backup

Program exploration ratul | rws | june '12

Connected devices in the home Home Automation and Monitoring, ABI Research, 2011 Forecasted shipment of home automation systems