Hypermedia APIs for Sensor Data

A pragmatic approach to
the Web of Things

Mobiquitous 2014

Spencer Russell
Joe Paradiso

MIT Media Lab

Responsive Environments Group

Big Picture

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

{
    "firstName": "Spencer",
    "lastName": "Russell"
}
{
    "_links": {
        "self": { "href": "/api/user/837" },
        "address": { "href": "/api/address/938" }
    },
    "firstName": "Spencer",
    "lastName": "Russell"
}

Low-Level Protocol Diversity

Layered Architecture

Shared Vocabularies

Semantic Relations

Familiar Standards, Minimal Tooling

Pub/Sub

Implementation

490 Devices

2257 Sensors

Over 240,000,000 measurements

6 applications

Live

http://chain-api.media.mit.edu

Open Source

https://github.com/ssfrr/chain-api

Spencer Russell

sfr@media.mit.edu

@ssfrr

github.com/ssfrr

Security

image from http://www.noip.com/
image from http://www.noip.com/