apis for the physical world

20
Paul Hopton APIs for the physical world @HoptonPaul @relayr_cloud http://relayr.io

Upload: paul-hopton

Post on 08-May-2015

447 views

Category:

Internet


1 download

DESCRIPTION

The talk i gave as part of the "Internet of Things" panel at the API strategy & practice conference in Amsterdam

TRANSCRIPT

Page 1: APIs for the physical world

Paul Hopton

APIs for the physical world

@HoptonPaul @relayr_cloud http://relayr.io

Page 2: APIs for the physical world

Starter kit for the Internet of Things designed for App Developers

Page 3: APIs for the physical world

IoWTF

Page 4: APIs for the physical world

Electronic Frontiers

Sensors Everywhere

Page 5: APIs for the physical world
Page 6: APIs for the physical world

Free standing / embedded sensors

Battery Powered Run on unreliable networksBe mobileBe smallBe secure

Page 7: APIs for the physical world

when you come from software

Hardware is Hard

Page 8: APIs for the physical world

Hardware

Iterations are very slow“Deployment” of a PCB design takes 2-3 weeksComponent availability is often uncertainPricing is based on volume

Page 9: APIs for the physical world

Firmware

Tooling is expensive, proprietary, primitiveThere is no FilesystemDelivery of new releases is difficult / impossibleTesting has to happen in-device

Page 10: APIs for the physical world

OMG!

Page 11: APIs for the physical world

What about …?

Page 12: APIs for the physical world

Connecting

Page 13: APIs for the physical world

Ubiquitous WiFi?

Chips remain comparatively expensivePower consumption isn’t low enoughSSL Support is a rarityWearables and automotive aren’t in your WiFi range

Page 14: APIs for the physical world

The WunderBar

Page 15: APIs for the physical world

MQTT

Lightweight messaging protocolLow bandwidth == Low powerPublish / Subscribesecurity through SSL

Page 16: APIs for the physical world

Publish Subscribe Device API

mqtt.relayr.io/v1/wb123/sens456/data (p)mqtt.relayr.io/v1/wb123/sens456/cmd (s)mqtt.relayr.io/v1/wb123/sens456/config (s)

!RESTful

Page 17: APIs for the physical world

What we do on the Platform

RoutingConditional logic (filtering)Stateful rules engineAutonomous event handling

Page 18: APIs for the physical world

Working with the data app APIs

RESTful API for discovering device stateRealtime feeds for “noisy sensors”Notifications for slow feedsDevice description lookups (apicommons)

Page 19: APIs for the physical world

Hardware is not the new Software

The Internet of Things isn’t here yet.

Page 20: APIs for the physical world

Thank you!

@HoptonPaul @relayr_cloud http://relayr.io