SlideShare a Scribd company logo
4
Most read
6
Most read
12
Most read
MQTT	
  -­‐	
  REST	
  Bridge	
  using	
  the	
  
Smart	
  Object	
  API	
  
Open	
  Source	
  Internet	
  of	
  Things	
  
SmartObject	
  API	
  
Web	
  Object	
  EncapsulaBon	
  	
  
Smart	
  Object	
  
Web	
  protocol	
  interfaces,	
  also	
  M2M	
  e.g.	
  MQTT	
  
Event	
  Model	
  
Links	
  data	
  with	
  acBons	
  
Pub-­‐Sub	
  and	
  event	
  handlers	
  
Encapsulates	
  local	
  soJware	
  	
  
components	
  and	
  handlers	
  
Self-­‐describing	
  data	
  model	
  
For	
  Resource	
  Discovery	
  	
  
and	
  Linkage	
  
Sensor	
  or	
  other	
  data	
  	
  
JSON,	
  XML,	
  data	
  feeds	
  
SmartObject	
  API	
  –	
  Observers	
  
•  Contains	
  graphs	
  which	
  define	
  endpoints	
  of	
  
event	
  driven	
  processing	
  and	
  communicaBon	
  
•  The	
  Observer	
  paTern	
  is	
  the	
  basis	
  for	
  M2M	
  
communicaBon	
  abstracBons	
  
•  Publisher,	
  Subscriber,	
  Event	
  Handler	
  classes	
  
•  Reference	
  ImplementaBon	
  
– create	
  (POST)	
  makes	
  a	
  new	
  Observer	
  	
  
•  Publisher,	
  Subscriber,	
  or	
  Handler	
  Class	
  
– set	
  (PUT)	
  updates	
  an	
  Observer’s	
  seZngs	
  
– get	
  (GET)	
  returns	
  an	
  Observer’s	
  seZngs	
  
– delete	
  (DELETE)	
  removes	
  an	
  Observer	
  
MQTT	
  Observer	
  
•  Implements	
  the	
  MQTT	
  M2M	
  AbstracBon	
  Layer	
  
•  Publish,	
  Subscribe,	
  or	
  Pub+Sub	
  using	
  the	
  
mqTObserver	
  resource	
  class	
  
•  Prototype	
  opens	
  a	
  connecBon	
  to	
  a	
  specified	
  
broker	
  for	
  each	
  REST	
  endpoint	
  
	
  Observers.create({'resourceName': 'mqttTestObserver',!
! ! ! ! ! 'resourceClass': 'mqttObserver',!
'connection': 'smartobjectservice.com',!
'pubTopic': ’sealevel_pressure',!
'subTopic': None,!
'QoS': 0,!
'keepAlive': 60 })!
MQTT	
  Observer	
  
MQTT	
  Broker	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
Publish	
  from	
  
data	
  producer	
  
Publish	
  From	
  
REST	
  API	
  
Publish	
  to	
  Other	
  
Subscribers	
  
SUB	
  
Publish	
  to	
  
REST	
  API	
  	
  
Connects	
  REST	
  Resource	
  to	
  MQTT	
  Topic	
  
Publish	
  and	
  Subscribe	
  
MQTT	
  Observer	
  
MQTT	
  Broker	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
Publish	
  from	
  
data	
  producer	
  
Publish	
  From	
  
REST	
  API	
  
Publish	
  to	
  Other	
  
Subscribers	
  
SUB	
  
Publish	
  to	
  
REST	
  API	
  	
  
Publisher	
  	
  
Publishes	
  REST	
  Resource	
  updates	
  to	
  the	
  broker	
  
MQTT	
  Observer	
  
MQTT	
  Broker	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
Publish	
  from	
  
data	
  producer	
  
Publish	
  From	
  
REST	
  API	
  
Publish	
  to	
  Other	
  
Subscribers	
  
SUB	
  
Publish	
  to	
  
REST	
  API	
  	
  
Subscriber	
  	
  
Makes	
  last	
  published	
  data	
  available	
  at	
  the	
  REST	
  endpoint	
  
MQTT	
  Observer	
  
MQTT	
  Broker	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
Publish	
  from	
  
data	
  producer	
  
Publish	
  From	
  
REST	
  API	
  
Publish	
  to	
  Other	
  
Subscribers	
  
SUB	
  
Publish	
  to	
  
REST	
  API	
  	
  
Pub+Sub	
  
Repeats	
  data	
  updates	
  in	
  both	
  direcBons	
  
MQTT	
  Bridge	
  to	
  mulBple	
  REST	
  endpoints	
  
MQTT	
  Broker	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
Publish	
  from	
  
data	
  producer	
  
Publish	
  to	
  Other	
  
Subscribers	
  
REST	
  Endpoint	
  
ObservableProperty	
  
mqTObserver	
  
PUT	
   GET	
  
IoT	
  Toolkit	
  
•  IoT	
  Toolkit	
  is	
  a	
  reference	
  implementaBon	
  of	
  
the	
  Smart	
  Object	
  API	
  and	
  related	
  tools	
  
•  REST	
  API	
  with	
  real-­‐Bme	
  event	
  model	
  for	
  the	
  
Internet	
  of	
  Things	
  
•  Lightweight	
  server	
  that	
  can	
  run	
  on	
  small	
  
computers	
  e.g.	
  Raspberry	
  Pi	
  
•  Work	
  in	
  progress	
  prototype	
  (limited	
  excepBon	
  
handling	
  and	
  simple	
  interfaces)	
  
IoT	
  2.0	
  –	
  Interoperability	
  
M2M	
  
CoAP	
   M2M	
  
MQ	
   SOA	
  
M2M	
  
HTTP	
  
Smart	
  Object	
  API	
  
IoT	
  Toolkit	
  
Discovery	
  
ApplicaBons	
  
Thing	
  
Models	
  
Resource	
  
Models	
  
•  Object	
  Model	
  
•  REST	
  +	
  Event	
  Model	
  
•  M2M	
  Abstrac<ons	
  
IoT	
  Toolkit	
  
Connected	
  Things,	
  Sensors,	
  Actuators,	
  Data	
  Sources	
  
Seman?c	
  
Repository	
  
•  Easy	
  to	
  deploy	
  new	
  
things	
  and	
  
applicaBons	
  using	
  data	
  
models	
  
•  Write	
  once	
  run	
  
anywhere,	
  any	
  app	
  to	
  
any	
  thing	
  via	
  any	
  M2M	
  
•  Network	
  effect	
  
enabled	
  
•  Allows	
  for	
  appropriate	
  
M2M	
  choice	
  
Interoperability	
  Architecture	
  
SO	
  
SO	
  
SO	
  
Gateway	
   Server	
  
Cloud	
  
Endpoints	
  
•  Sensors	
  
•  Devices	
  
ApplicaBon	
  	
  
Components	
  	
  
And	
  	
  
Resources	
  
Databases	
  
Instances	
  
Classes	
  
SRT	
  
• Discovery	
  
• Persistence	
  
• ReplicaBon	
  
• Resource	
  Access	
  
• Data	
  Models	
  	
  
• Sensor	
  Models	
  
• Machine	
  Models	
  
• Templates	
  

More Related Content

PPTX
Microsoft office 365
PPTX
Understanding Cloud Computing
PPTX
A modern IoT data processing toolbox
PPTX
PPTX
Top 5 IoT Use Cases
PPTX
CloudStack Overview
PPTX
An Introduction to Confluent Cloud: Apache Kafka as a Service
PDF
Openstack 101
Microsoft office 365
Understanding Cloud Computing
A modern IoT data processing toolbox
Top 5 IoT Use Cases
CloudStack Overview
An Introduction to Confluent Cloud: Apache Kafka as a Service
Openstack 101

What's hot (20)

PDF
Cloud Computing Architecture
PDF
Apache Kafka Architecture & Fundamentals Explained
PDF
Lecture5 virtualization
PDF
Cloud Computing and Security - ISACA Hyderabad Chapter Presentation
PDF
API Management within a Microservice Architecture
PDF
Introduction to virtualization
PDF
Introduction to Google Cloud Platform and APIs
PDF
Internet of things
PPTX
Microsoft Azure Overview
PPTX
Fundamentals of Microsoft 365 Security , Identity and Compliance
PDF
Apache kafka-a distributed streaming platform
PDF
IoT & Azure (EventHub)
PDF
VMware Tanzu Introduction
PDF
GraphQL Advanced
PDF
IoT Toolkit and the Smart Object API Tutorial Introduction
PDF
Monitoring modern applications using Elastic
PPSX
Cloud computing
PPTX
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
PDF
Elastic 101 tutorial - Percona Europe 2018
PPTX
Azure Active Directory - An Introduction
Cloud Computing Architecture
Apache Kafka Architecture & Fundamentals Explained
Lecture5 virtualization
Cloud Computing and Security - ISACA Hyderabad Chapter Presentation
API Management within a Microservice Architecture
Introduction to virtualization
Introduction to Google Cloud Platform and APIs
Internet of things
Microsoft Azure Overview
Fundamentals of Microsoft 365 Security , Identity and Compliance
Apache kafka-a distributed streaming platform
IoT & Azure (EventHub)
VMware Tanzu Introduction
GraphQL Advanced
IoT Toolkit and the Smart Object API Tutorial Introduction
Monitoring modern applications using Elastic
Cloud computing
Streamline Data Governance with Egeria: The Industry's First Open Metadata St...
Elastic 101 tutorial - Percona Europe 2018
Azure Active Directory - An Introduction
Ad

Viewers also liked (18)

PDF
REST APIs for the Internet of Things
PDF
IoT Toolkit and Smart Object API Tutorial Introduction
PPTX
Hypermedia System Architecture for a Web of Things
PDF
Personal Agency on the IoT
PDF
A Modular Open Source Platform for Web Scale IoT Interoperability
PPTX
Research Topics in Machine Hypermedia
PDF
Open Horizontal Platform - Web Scale Interoperability for IoT - CCNA 2013
PPTX
The Network Effect - Open Source and the Internet Of Things - Helsinki 2013 K...
PPTX
Ietf91 ad hoc-coap-lwm2m-ipso
PPTX
RESTful Notification
PDF
Ietf91 ad hoc-coap-lwm2m-ipso
PPTX
Open Standards for IoT- GSC Workshop on IoT Atlanta 2013
PDF
MQTT-REST Bridge using the Smart Object API
PDF
Tools for the Open Source Internet Of Things
PDF
IoT Toolkit and the Smart Object API - Architecture for Interoperability
PPTX
Restful Asynchronous Notification
PDF
Design patternsforiot
PDF
M2M Protocol Interoperability using IoT Toolkit
REST APIs for the Internet of Things
IoT Toolkit and Smart Object API Tutorial Introduction
Hypermedia System Architecture for a Web of Things
Personal Agency on the IoT
A Modular Open Source Platform for Web Scale IoT Interoperability
Research Topics in Machine Hypermedia
Open Horizontal Platform - Web Scale Interoperability for IoT - CCNA 2013
The Network Effect - Open Source and the Internet Of Things - Helsinki 2013 K...
Ietf91 ad hoc-coap-lwm2m-ipso
RESTful Notification
Ietf91 ad hoc-coap-lwm2m-ipso
Open Standards for IoT- GSC Workshop on IoT Atlanta 2013
MQTT-REST Bridge using the Smart Object API
Tools for the Open Source Internet Of Things
IoT Toolkit and the Smart Object API - Architecture for Interoperability
Restful Asynchronous Notification
Design patternsforiot
M2M Protocol Interoperability using IoT Toolkit
Ad

Similar to MQTT - REST Bridge using the Smart Object API (20)

PDF
Object models for interoperability
PDF
M2M Protocol Interoperability using IoT Toolkit
PDF
Open Horizontal Platform - Web Scale Interoperability for the Internet of Thi...
PDF
IoT Toolkit and the Smart Object API - Architecture for Interoperability
PDF
Iot Toolkit and the Smart Object API - Architecture for Interoperability
PDF
CCNA-Open-Platform-IoT
PDF
MQTT - A practical protocol for the Internet of Things
PDF
MQTT and SensorThings API MQTT Extension
PDF
MQTT: A lightweight messaging platform for IoT
PDF
CMMC - CNX - Community of Practice 1
PPTX
InduSoft Web Studio and MQTT for Internet of Things Applications
PDF
MQTT – protocol for yours IoT
PDF
Building the Internet of Things with Eclipse IoT - IoTBE meetup
PDF
IoT - Understanding internet of things
PPTX
Why HTTP Won't Work For The Internet of Things (Dreamforce 2014)
PDF
Session 1908 connecting devices to the IBM IoT Cloud
PPT
Connecting devices to the internet of things
PDF
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
PDF
Designing Internet of things
PDF
Smart objectapi tutorial 092013
Object models for interoperability
M2M Protocol Interoperability using IoT Toolkit
Open Horizontal Platform - Web Scale Interoperability for the Internet of Thi...
IoT Toolkit and the Smart Object API - Architecture for Interoperability
Iot Toolkit and the Smart Object API - Architecture for Interoperability
CCNA-Open-Platform-IoT
MQTT - A practical protocol for the Internet of Things
MQTT and SensorThings API MQTT Extension
MQTT: A lightweight messaging platform for IoT
CMMC - CNX - Community of Practice 1
InduSoft Web Studio and MQTT for Internet of Things Applications
MQTT – protocol for yours IoT
Building the Internet of Things with Eclipse IoT - IoTBE meetup
IoT - Understanding internet of things
Why HTTP Won't Work For The Internet of Things (Dreamforce 2014)
Session 1908 connecting devices to the IBM IoT Cloud
Connecting devices to the internet of things
From the Internet of Things to Intelligent Systems A Developer's Primer - Gar...
Designing Internet of things
Smart objectapi tutorial 092013

More from Michael Koster (20)

PPTX
Hypermedia System Architecture for a Web of Things
PPTX
Hypermedia design for machine apis
PPTX
Hypermedia for Machine APIs
PPTX
Web of Things to the edge
PPTX
Iottoolkit wot
PPTX
Embedded to connected
PPTX
Osiot14 buildout
PDF
Osiot13 IoT buildout
PPTX
Ipso smart objects for iot
PDF
Ipso eclipse-summary
PPTX
Ipso application templates
PPTX
IP based standards for IoT
PPTX
Ietf91 ad hoc-coap-lwm2m-ipso
PPTX
Ipso smart object seminar
PDF
REST APIs for an Internet of Things
PDF
A Modular Open Source Platform for IoT
PDF
MQTT REST Bridge using the Smart Object API
PPTX
The Network Effect - Open Source and the Internet Of Things - Helsinki Keynote
PDF
Tools for the Open Source Internet of Things
PPTX
Open Standards for IoT - GSM Workshop on IoT Standards Atlanta 2013
Hypermedia System Architecture for a Web of Things
Hypermedia design for machine apis
Hypermedia for Machine APIs
Web of Things to the edge
Iottoolkit wot
Embedded to connected
Osiot14 buildout
Osiot13 IoT buildout
Ipso smart objects for iot
Ipso eclipse-summary
Ipso application templates
IP based standards for IoT
Ietf91 ad hoc-coap-lwm2m-ipso
Ipso smart object seminar
REST APIs for an Internet of Things
A Modular Open Source Platform for IoT
MQTT REST Bridge using the Smart Object API
The Network Effect - Open Source and the Internet Of Things - Helsinki Keynote
Tools for the Open Source Internet of Things
Open Standards for IoT - GSM Workshop on IoT Standards Atlanta 2013

Recently uploaded (20)

PDF
Spectral efficient network and resource selection model in 5G networks
PDF
KodekX | Application Modernization Development
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Diabetes mellitus diagnosis method based random forest with bat algorithm
PPTX
Cloud computing and distributed systems.
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Modernizing your data center with Dell and AMD
PPTX
MYSQL Presentation for SQL database connectivity
PDF
Electronic commerce courselecture one. Pdf
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
CIFDAQ's Market Insight: SEC Turns Pro Crypto
PDF
Empathic Computing: Creating Shared Understanding
PDF
Network Security Unit 5.pdf for BCA BBA.
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PPTX
A Presentation on Artificial Intelligence
PPT
Teaching material agriculture food technology
Spectral efficient network and resource selection model in 5G networks
KodekX | Application Modernization Development
Dropbox Q2 2025 Financial Results & Investor Presentation
Reach Out and Touch Someone: Haptics and Empathic Computing
Diabetes mellitus diagnosis method based random forest with bat algorithm
Cloud computing and distributed systems.
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Modernizing your data center with Dell and AMD
MYSQL Presentation for SQL database connectivity
Electronic commerce courselecture one. Pdf
Digital-Transformation-Roadmap-for-Companies.pptx
Building Integrated photovoltaic BIPV_UPV.pdf
CIFDAQ's Market Insight: SEC Turns Pro Crypto
Empathic Computing: Creating Shared Understanding
Network Security Unit 5.pdf for BCA BBA.
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
NewMind AI Weekly Chronicles - August'25 Week I
20250228 LYD VKU AI Blended-Learning.pptx
A Presentation on Artificial Intelligence
Teaching material agriculture food technology

MQTT - REST Bridge using the Smart Object API

  • 1. MQTT  -­‐  REST  Bridge  using  the   Smart  Object  API   Open  Source  Internet  of  Things  
  • 2. SmartObject  API   Web  Object  EncapsulaBon     Smart  Object   Web  protocol  interfaces,  also  M2M  e.g.  MQTT   Event  Model   Links  data  with  acBons   Pub-­‐Sub  and  event  handlers   Encapsulates  local  soJware     components  and  handlers   Self-­‐describing  data  model   For  Resource  Discovery     and  Linkage   Sensor  or  other  data     JSON,  XML,  data  feeds  
  • 3. SmartObject  API  –  Observers   •  Contains  graphs  which  define  endpoints  of   event  driven  processing  and  communicaBon   •  The  Observer  paTern  is  the  basis  for  M2M   communicaBon  abstracBons   •  Publisher,  Subscriber,  Event  Handler  classes   •  Reference  ImplementaBon   – create  (POST)  makes  a  new  Observer     •  Publisher,  Subscriber,  or  Handler  Class   – set  (PUT)  updates  an  Observer’s  seZngs   – get  (GET)  returns  an  Observer’s  seZngs   – delete  (DELETE)  removes  an  Observer  
  • 4. MQTT  Observer   •  Implements  the  MQTT  M2M  AbstracBon  Layer   •  Publish,  Subscribe,  or  Pub+Sub  using  the   mqTObserver  resource  class   •  Prototype  opens  a  connecBon  to  a  specified   broker  for  each  REST  endpoint    Observers.create({'resourceName': 'mqttTestObserver',! ! ! ! ! ! 'resourceClass': 'mqttObserver',! 'connection': 'smartobjectservice.com',! 'pubTopic': ’sealevel_pressure',! 'subTopic': None,! 'QoS': 0,! 'keepAlive': 60 })!
  • 5. MQTT  Observer   MQTT  Broker   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET   Publish  from   data  producer   Publish  From   REST  API   Publish  to  Other   Subscribers   SUB   Publish  to   REST  API     Connects  REST  Resource  to  MQTT  Topic   Publish  and  Subscribe  
  • 6. MQTT  Observer   MQTT  Broker   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET   Publish  from   data  producer   Publish  From   REST  API   Publish  to  Other   Subscribers   SUB   Publish  to   REST  API     Publisher     Publishes  REST  Resource  updates  to  the  broker  
  • 7. MQTT  Observer   MQTT  Broker   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET   Publish  from   data  producer   Publish  From   REST  API   Publish  to  Other   Subscribers   SUB   Publish  to   REST  API     Subscriber     Makes  last  published  data  available  at  the  REST  endpoint  
  • 8. MQTT  Observer   MQTT  Broker   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET   Publish  from   data  producer   Publish  From   REST  API   Publish  to  Other   Subscribers   SUB   Publish  to   REST  API     Pub+Sub   Repeats  data  updates  in  both  direcBons  
  • 9. MQTT  Bridge  to  mulBple  REST  endpoints   MQTT  Broker   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET   Publish  from   data  producer   Publish  to  Other   Subscribers   REST  Endpoint   ObservableProperty   mqTObserver   PUT   GET  
  • 10. IoT  Toolkit   •  IoT  Toolkit  is  a  reference  implementaBon  of   the  Smart  Object  API  and  related  tools   •  REST  API  with  real-­‐Bme  event  model  for  the   Internet  of  Things   •  Lightweight  server  that  can  run  on  small   computers  e.g.  Raspberry  Pi   •  Work  in  progress  prototype  (limited  excepBon   handling  and  simple  interfaces)  
  • 11. IoT  2.0  –  Interoperability   M2M   CoAP   M2M   MQ   SOA   M2M   HTTP   Smart  Object  API   IoT  Toolkit   Discovery   ApplicaBons   Thing   Models   Resource   Models   •  Object  Model   •  REST  +  Event  Model   •  M2M  Abstrac<ons   IoT  Toolkit   Connected  Things,  Sensors,  Actuators,  Data  Sources   Seman?c   Repository   •  Easy  to  deploy  new   things  and   applicaBons  using  data   models   •  Write  once  run   anywhere,  any  app  to   any  thing  via  any  M2M   •  Network  effect   enabled   •  Allows  for  appropriate   M2M  choice  
  • 12. Interoperability  Architecture   SO   SO   SO   Gateway   Server   Cloud   Endpoints   •  Sensors   •  Devices   ApplicaBon     Components     And     Resources   Databases   Instances   Classes   SRT   • Discovery   • Persistence   • ReplicaBon   • Resource  Access   • Data  Models     • Sensor  Models   • Machine  Models   • Templates