an in-home iot architecture for epidemiology researchepifi epidemiology: study of diseases and it...

67
EpiFi An In-Home IoT Architecture for Epidemiology Research 1 Philip Lundrigan, Kyeong T. Min, Neal Patwari, Sneha Kumar Kasera, Kerry Kelly, Jimmy Moore, Miriah Meyer, Scott C. Collingwood, Flory Nkoy, Bryan Stone, and Katherine Sward

Upload: others

Post on 08-Jul-2020

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

EpiFiAn In-Home IoT Architecture for Epidemiology Research

�1

Philip Lundrigan, Kyeong T. Min, Neal Patwari, Sneha Kumar Kasera, Kerry Kelly, Jimmy Moore, Miriah Meyer, Scott C. Collingwood, Flory Nkoy, Bryan Stone, and Katherine Sward

Page 2: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

EPIFI

▸ Epidemiology: study of diseases and it affects populations

▸ Goals:

▸ Bring benefits of IoT to medical applications

▸ Allow families, doctors, and researchers to process data in real-time

▸ Designed to be used by other people

▸ Deploy in thousands of homes

▸ Part of $5.5 million NIH grant called Pediatric Research using Integrated Sensor Monitoring Systems (PRISMS)

�2

Page 3: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

WHY EPIFI?

▸ Current IoT solutions are not designed for epidemiology researchers:

▸ Systems not designed for large study based deployments

▸ Cost of management > cost of devices

▸ Must be HIPAA compliant for data transmission and storage

�3

Page 4: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

https://goo.gl/wqKoyz

�4

Page 5: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

ARCHITECTURE

HOME

BLE Sensors

Gateway

WiFi Sensors Zigbee Sensors

ZWave Sensors

Home WiFi Router

Ethernet

DATABASE

�5

Page 6: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

BLE SENSORS

George Washington University prototype

sensor

Arizona State University prototype sensor

�6

Page 7: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

WIFI SENSORS

Utah Modified DylosAirU

�7

Page 8: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

FOCUS ON WIFI SENSORS

▸ WiFi hardware is readily available and inexpensive

▸ WiFi is more widely deployed compared to other wireless protocols

▸ A WiFi sensor can integrate with the rest of the home because it uses IP

�8

Page 9: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DEPLOYMENTS

▸ Deployed in homes, labs, and an Air Force hangar

▸ Used in four studies

▸ A clinical study has been deployed for more than a year with 10 participants

▸ Another study looked at how running furnace fan affects air quality

�9

Page 10: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

FOCUS

▸ Ease of use

▸ Adding new sensors

▸ Integrating existing sensors

▸ Setting up server infrastructure

▸ Reliable data transfer

�10

Page 11: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

FOCUS

▸ Ease of use

▸ Adding new sensors

▸ Integrating existing sensors

▸ Setting up server infrastructure

▸ Reliable data transfer

�11

Page 12: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

ADDING NEW SENSORS

▸ Custom Linux image for sensors

▸ Configuration options placed in one file

▸ Place sensor specific code in one place and EpiFi takes care of connectivity and reliability transferring the data

EpiFi Custom Image

Configuration File

�12

Page 13: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

INTEGRATING EXISTING SENSORS

▸ Use MQTT or HTTP to upload data to servers

▸ Open format

�13

{

"measurement_name": [value, "unit"],

...

}

Page 14: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

SETTING UP SERVER INFRASTRUCTURE

▸ Dockerized all server-side components of system

▸ Use docker compose to deploy components to a server easily

▸ Wrote script to bootstrap databases and set up authentication

�14

InfluxDBMongoDB

Mosquitto

MQTT Subscriber

Export Tool GrafanaStatus Page

HTTP

Page 15: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

FOCUS

▸ Ease of use

▸ Adding new sensors

▸ Integrating existing sensors

▸ Setting up server infrastructure

▸ Reliable data transfer

�15

Page 16: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

RELIABLE DATA TRANSFER

▸ Epidemiology research needs all historical data

▸ First test deployment saw a lot of data loss even though we were using TCP

▸ Homes are hazardous environments for wireless sensors

▸ Persist data at every opportunity

�16

Page 17: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

PROBLEMS ENCOUNTERED

▸ Having other people use our system lead to many interesting challenges:

▸ Managing deployments

▸ Bootstrapping WiFi connectivity

▸ Device observability

▸ Data privacy when moving sensors

�17

Solved

Future work

}}

Page 18: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

PROBLEMS ENCOUNTERED

▸ Having other people use our system lead to many interesting challenges:

▸ Managing deployments

▸ Bootstrapping WiFi connectivity

▸ Device observability

▸ Data privacy when moving sensors

�18

Solved

Future work

}}

Page 19: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

MANAGEMENT

▸ Export data for analysis

▸ Sensor metadata

▸ Monitor status of sensors

�19

Page 20: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

PROBLEMS ENCOUNTERED

▸ Having other people use our system lead to many interesting challenges:

▸ Managing deployments

▸ Bootstrapping WiFi connectivity

▸ Device observability

▸ Data privacy when moving sensors

�20

Solved

Future work

}}

Page 21: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

SECURE WIFI BOOTSTRAPPING PROBLEM

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

WiFi Sensor WiFi Sensor WiFi Sensor WiFi Sensor

�21

Page 22: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

HOW DO YOU CONNECT A WIFI SENSOR TO A WIFI ROUTER?

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

???

�22

Page 23: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

HOW DO YOU CONNECT A WIFI SENSOR TO A WIFI ROUTER?

▸ Program sensor with home's network and password

▸ Bring our own wireless router

▸ Open network

▸ WPA Enterprise

▸ WiFi Protected Setup (WPS)

▸ Out-of-band channel

▸ SmartConfig

▸ WiFi device becomes a temporary AP

�23

Page 24: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

HOW DO YOU CONNECT A WIFI SENSOR TO A WIFI ROUTER?

▸ Program sensor with home's network and password

▸ Bring our own wireless router

▸ Open network

▸ WPA Enterprise

▸ WiFi Protected Setup (WPS)

▸ Out-of-band channel

▸ SmartConfig

▸ WiFi device becomes a temporary AP

�24

Page 25: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

REQUIREMENTS

▸ Does not require any extra hardware at the sensor

▸ Broadly supported by home WiFi routers

▸ Time to connect scales up to many devices

Can we securely bootstrap WiFi connectivity of many devices using just WiFi?

�25

Page 26: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

SECURE TRANSFER OF AUTHENTICATION PROTOCOL (STRAP) OVERVIEW

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

�26

Page 27: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP OVERVIEW

HOME

Gateway

Network Name Password

Participant enters network name and password into web interface on gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

�27

Page 28: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

Home WiFi Router

Ethernet

HOME

STRAP OVERVIEW

Gateway

Network Name PasswordNetwork Name PasswordNetwork Name PasswordNetwork Name Password

Gateway securely sends network name and password to the home’s WiFi router

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

�28

Page 29: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

Home WiFi Router

Ethernet

STRAP OVERVIEW

HOME

Gateway

Network Name PasswordNetwork Name PasswordNetwork Name PasswordNetwork Name Password

Home WiFi router securely sends network name and password to the unassociated sensors

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

�29

Page 30: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

HOME

Home WiFi Router

Ethernet

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

STRAP OVERVIEW

Gateway

Network Name Password

Network Name Password

Network Name Password

Home WiFi router securely sends network name and password to the unassociated sensors

Network Name Password

�30

Page 31: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

HOME

STRAP OVERVIEW

Gateway

WiFi Sensor WiFi Sensor WiFi Sensor WiFi Sensor…

Sensors connect to the network and now can send measurements

Associated WiFi Sensor

Associated WiFi Sensor

Associated WiFi Sensor

Associated WiFi Sensor

Home WiFi Router

Ethernet

�31

Page 32: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

Home WiFi Router

Ethernet

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

HOME

STRAP OVERVIEW

Gateway

Network Name Password

Network Name Password

Network Name Password

Home WiFi router securely sends network name and password to the unassociated sensors

Network Name Password

How?

�32

Page 33: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP

HOME

Gateway

Since the gateway is connected through Ethernet, it can send data

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

Network Name Password

�33

Page 34: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP

HOME

Gateway

Since the gateway is connected through Ethernet, it can send data

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

EthernetHome WiFi Router

Network Name Password

�34

Page 35: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP PROBLEM

HOME

Gateway

How can WiFi sensors receive WiFi frames?

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

Network Name Password

�35

Page 36: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

MONITOR MODE

�36

Page 37: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP KEY INSIGHT

HOME

Gateway

Source and destination addresses of WiFi frames are not encrypted

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

Network Name Password

�37

Page 38: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP SOLUTION

HOME

Gateway

Gateway can encode data into the source and destination address fields!

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

Network Name Password

�38

Page 39: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

ETHERNET FRAME

hello world!

68 65 6c 6c 6f 20 77 6f 72 6c 64 21

12 bytes of data!

Destination MAC Address

Source MAC Address

68:65:6c:6c:6f:20 77:6f:72:6c:64:21 EtherType (IP, ARP, etc)

Data… (46 - 1500 bytes) Checksum

�39

Page 40: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP PROBLEM

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 68:65:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

�40

Page 41: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP PROBLEM

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 68:65:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

???

�41

Page 42: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DESTINATION ADDRESS

▸ We need:

▸ An address that the WiFi router will always accept

▸ Makes the wireless router send the frame on its wireless interface

▸ Broadcast: ff:ff:ff:ff:ff:ff

▸ IPv4 Multicast: 01:00:5E:xx:xx:xx

▸ IPv6 Multicast: 33:33:xx:xx:xx:xx

�42

Page 43: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP KEY INSIGHT

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 33:33:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

�43

Page 44: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP KEY INSIGHT

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 33:33:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

�44

Page 45: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP KEY INSIGHT

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 33:33:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

�45

Page 46: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP KEY INSIGHT

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 33:33:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

�46

Page 47: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP PROBLEM

HOME

Gateway

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Unassociated WiFi Sensor

Home WiFi Router

Ethernet

DST: 33:33:6c:6c:6f:20 SRC: 77:6f:72:6c:64:21

You can’t fit much information in 10 bytes�47

Page 48: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

EPIFI

STRAP HEADER

Total SequenceID f n Payload (7 bytes)

EtherType Payload…Destination MAC Address

Source MAC Address

33:33

�48

Page 49: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP DATA FLOW

Encrypt

Message Authentication

Code (MAC)

Combine

Erasure Coding Packetize

Initialization Vector (IV)

IV

Gobal Sequence Number

Encrypted Data

MAC

k,m STRAP Header

Data (Network Name and Password)

Gobal Sequence Number

Encryption Key

Integrity Key

Transmit Frames

Insert into Ethernet Frame

�49

Page 50: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP DATA FLOW

Encrypt

Message Authentication

Code (MAC)

Combine

Erasure Coding Packetize

Initialization Vector (IV)

IV

Gobal Sequence Number

Encrypted Data

MAC

k,m STRAP Header

Data (Network Name and Password)

Gobal Sequence Number

Encryption Key

Integrity Key

Transmit Frames

Insert into Ethernet Frame

�50

Page 51: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP DATA FLOW

Encrypt

Message Authentication

Code (MAC)

Combine

Erasure Coding Packetize

Initialization Vector (IV)

IV

Gobal Sequence Number

Encrypted Data

MAC

k,m STRAP Header

Data (Network Name and Password)

Gobal Sequence Number

Encryption Key

Integrity Key

Transmit Frames

Insert into Ethernet Frame

�51

Page 52: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

REQUIREMENTS

▸ Does not require any extra hardware at the sensor

▸ Broadly supported by home WiFi routers

▸ Time to connect scales up to many devices

�52

Page 53: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

REQUIREMENTS

▸ Does not require any extra hardware at the sensor

▸ Broadly supported by home WiFi routers

▸ Time to connect scales up to many devices

Uses standard WiFi to send and receive data

�53

Page 54: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

REQUIREMENTS

▸ Does not require any extra hardware at the sensor

▸ Broadly supported by home WiFi routers

▸ Time to connect scales up to many devices

�54

Requires no changes to WiFi router

Page 55: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

REQUIREMENTS

▸ Does not require any extra hardware at the sensor

▸ Broadly supported by home WiFi routers

▸ Time to connect scales up to many devices

Takes constant time, regardless of the number of sensors connecting: 1.55 seconds to 23 seconds

�55

Page 56: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

STRAP SUMMARY

▸ STRAP allows devices to send any data to unassociated wireless devices

▸ We use STRAP to send the network name and password

▸ Allows many devices to connect at once in constant time without requiring any extra hardware

�56

Page 57: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

PROBLEMS ENCOUNTERED

▸ Having other people use our system lead to many interesting challenges:

▸ Managing deployments

▸ Bootstrapping WiFi connectivity

▸ Device observability

▸ Data privacy when moving sensors

�57

Solved

Future work

}}

Page 58: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DEVICE OBSERVABILITY MOTIVATION

▸ How can a remote manager know if a WiFi device is functioning or not?

▸ Problem is especially bad for difficult-to-access locations

�58

Page 59: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

�59

Page 60: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DISRUPTION TYPES

More Severe

Less Severe

Bug in code

Hardware malfunctionNo power

WiFi disconnection

�60

Page 61: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

WIFI DISRUPTIONS

�61

Page 62: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DISRUPTION TYPES

More Severe

Less Severe

Bug in code

Hardware malfunctionNo power

WiFi disconnection

�62

Distinguish between WiFi disruptions and other types of disruptions

Page 63: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

LONGER RANGE COMMUNICATIONS COMPARED TO WIFI

▸ Cellular

▸ LoRa

▸ 802.11ah (HaLow)

▸ All solutions require different radios

�63

Page 64: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

PROBLEMS ENCOUNTERED

▸ Having other people use our system lead to many interesting challenges:

▸ Managing deployments

▸ Bootstrapping WiFi connectivity

▸ Device observability

▸ Data privacy when moving sensors

�64

Solved

Future work

}}

Page 65: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

DATA PRIVACY

▸ Sensor’s location is managed by metadata

▸ If metadata is not updated, system will attribute data to wrong location

▸ Sensors should learn location and detect when the location has changed

�65

Page 66: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

SUMMARY

▸ We built EpiFi to make deploying and running epidemiological studies easier

▸ While building and deploying system, we ran into many challenges

▸ We solve management issues by building tools to view sensor status and export sensor data

▸ We solve the WiFi bootstrapping problem with STRAP

▸ Many more challenges that need to be solved!

▸ https://github.com/VDL-PRISM

�66

Page 67: An In-Home IoT Architecture for Epidemiology ResearchEPIFI Epidemiology: study of diseases and it affects populations Goals: Bring benefits of IoT to medical applications Allow families,

Questions

�67