Download presentation
Presentation is loading. Please wait.
Published byDorcas Wilkerson Modified over 8 years ago
1
Piloteur: A Lightweight Platform for Pilot Studies of Smart Homes University of Virginia John Feminella Devika Pisharoty Kamin Whitehouse
2
Sensing in Homes 2 Medical Monitoring Home Automation Energy Management People spend 65% of time in their homes
4
Homes are Hazardous Environments* 4 * Timothy Hnat, et al. The Hitchhiker's Guide to Successful Residential Sensing Deployments. SenSys’11.
5
5
6
Fast and Easy Large Scale Long Duration
7
7 Data Management Systems Deployment Frameworks Operational Tools
8
8 Configuration NodeSync NodeMonitoring NodeBridge Node
9
Initial Setup $> piloteur init Pick a name for your network []: MyPilot Enter the directory of config files: ~/mypilot Enter the IP address of your servers [AWS]: Setting up your network on AWS… The monitor interface is at http://yoururl.com Creating config files in ~/mypilot Your network is ready to deploy.
10
Initial Setup $> piloteur create_endpoint --on=/dev/ttyUSB0 --node-id=gamma created a new endpoint (gamma) $> piloteur check gamma [gamma] GREEN...
11
DriversDataLogs stdout stderr Gamma Endpoint Interface
12
Gamma Data Sync Node Sync Node Interface H35-ble Logs
13
DriversConfig ~/mypilot Checks
14
“syncnode": "data.cs.virginia.edu", "data_path": "˜/smarthome/data/", "logs_path": "˜/smarthome/logs/", "watchdog_path": "˜/smarthome/watchdog/", "logging_modules": [ "monitor", "timesync", "watchdog" ], "keyfile_path": "˜/smarthome-remote-key", "log_format": "[%(asctime)-15s] [%(levelname)s] $ %(name)s: %(message)s",
15
DriversConfig MyPilot Configuration Gamma Checks
16
Drivers and Data $> mkdir ~/mypilot/config/gamma/ $> cat > ~/mypilot/config/gamma/config.gamma.json { "loaded_drivers": ["tutorial"] } $> git add ~/mypilot/config/gamma/ && git push $> piloteur logs gamma tutorial [2014-10-20T05:12:57.495632] It's 1413781977 [2014-10-20T05:13:07.505760] It's 1413781987 [2014-10-20T05:13:17.515909] It's 1413781997
17
DriversConfig MyPilot Configuration Home-25GammaZ-Wave Checks
18
Zwave.json "loaded_drivers": ["open_zwave“] Home25.json network={ ssid="deploymentEssid" psk="piloteur" key_mgmt=WPA-PSK auth_alg=OPEN} gamma.json "node-classes": [ “Zwave", “Home25" ],
19
$> piloteur config gamma { "ssh_bridge_host": "54.193.80.184", "loaded_drivers": [], "data_path": "~/piloteur/data/", "system_alert_recipients": [ “me@mypilot.com" ], "node-id": "gamma", }
20
"alert_recipients": [ “me@mypilot.io", “your@mypilot.io" ],
21
gamma
22
Logs Network connectivity Kernel failures Hardware reboots CPU utilization RAM utilization Core temperature Local + remote timestamp Etc. Endpoint System Log
23
Design Summary All config and software changes are version controlled Can be rolled back Nodes requires SSH daemon Monitoring server requires HTTP daemon Client requires cron Data is in raw format
24
Deployment and Case Study
25
Case Study 315 sensors 180 endpoints 45 homes Up to 4 months of data collection per home 2 phases 6 homes (researchers or friends) 39 homes (non-researchers)
28
Endpoint nodes: Rasberry Pi Sync and Bridge Nodes: UVa Cluster Storage: UVa NAS Config Node: GitHub Monitoring Node: AWS
29
Deployment Costs $85 per endpoint 45 minutes per endpoint ~20 to install OS 12 minutes to install Piloteur 13 minutes to assemble hardware and peripherals 15 minutes per installation Deployed by non-expert Web interface was key WiFi feedback
30
Performance 100,000+ faults logged All nodes suffered 5+ potentially fatal faults Only 26 maintenance visits required
32
Conclusions Piloteur Pilot “platform” Not a software framework Mitigate operational hazards, but also fast and easy
33
Thank You https://github.com/piloteur
Similar presentations
© 2024 SlidePlayer.com. Inc.
All rights reserved.