SlideShare a Scribd company logo
1 of 32
Download to read offline
MQTT and SensorThings API MQTT
Extension
sensorweb.geomatics.ucalgary.ca
www.sensorup.com
0.23 litre/minute
0.25 litre/minute
0.27 litre/minuteRH: 85 %
Temp: 18 Celsius
Dr. Steve Liang, Ph.D., P.Eng.
Associate Professor, University of Calgary
Founder and CEO, SensorUp Inc.
About Dr. Steve Liang
๏ Associate Professor, Geomatics Engineering, Uni. Calgary
๏ AITF-Microsoft Industry Research Chair on Open Sensor Web
(2011~2014)
๏ Chair OGC SensorThings API Standard Working Group
๏ Rapporteur, ITU-T SG12/11 on Internet of Things Test
Specifications
๏ Founder and CEO, SensorUp Inc
๏ Calgary’s Top 40 Under 40
About SensorUp
๏ We are a leader in Sensor Web and
IoT Platforms
๏ We are leading several international
IoT standard development efforts
(OGC and ITU-T)
๏ We are proud member of Eclipse
and Open Geospatial Consortium
News - 

Whiskers
๏ Whiskers, a new Eclipse
open source project
proposal for OGC
SensorThings API
๏ will includes MQTT support
News - Whiskers
๏ Whisker is
๏ a Javascript Client Library for SensorThings
๏ a light-weight SensorThings Server for IoT
gateways (e.g., Raspberry Pi)
๏ First release - 2016 Q2 or Q3
What will be covered
๏ MQTT
๏ SensorThings API MQTT Extension
Why isn’t HTTP enough?
๏ HTTP: send a request, receive a response
๏ IoT has fundamentally different challenges
๏ IoT needs a event-oriented paradigm
๏ distribute information from 1 to many
๏ get notifications whenever they happen
๏ distributing minimal packets of data in huge volumes
๏ pushing information over unreliable networks
Why isn’t HTTP enough - 2?
๏ IoT has fundamentally different challenges
๏ power consumption is a major concern
(battery-powered devices)
๏ responsiveness (near real-time applications)
๏ scalability (50 billion devices!!)
MQTT is…
๏ an ISO standard (ISO/IEC 20922)
๏ an OASIS standard
๏ probably the most popular IoT messaging
protocol (more in next slide)
๏ efficient and scalable
Messaging Protocols for IoT
1.1%
5.4%
6.8%
8.2%
11.1%
11.5%
18.6%
21.5%
53.0%
63.1%
0.0% 10.0% 20.0% 30.0% 40.0% 50.0% 60.0% 70.0%
None
DDS
Don’t)know
Proprietary
AMQP
XMPP
In7house
CoAP
MQTT
HTTP
What)general)messaging)protocols)do)you)use)in)your)IoT)solution?
Eclipse IoT Developer Survey 2015
MQTT vs HTTPS (power consumption)
http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https
MQTT vs HTTPS (power consumption)
http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https
What MQTT is not…
๏ use MQTT doesn’t mean IoT interoperability
๏ It’s part of the interoperability solution
๏ It still needs a data model standard, such as
SensorThings API to enable data
interoperability
MQTT Topics
๏ the central concept in MQTT to dispatch messages
are topics
๏ a topic is a simple string that can have more
hierarchy levels, which are separated by a slash (/),
๏ e.g., house/living-room/temperature
๏ topics are the routing information for the MQTT
broker
MQTT in a nutshell
MQTT
Broker
Publisher Subscribers
Subscribers
Subscribers
Instead of client/server, MQTT has the
roles of publisher/subscriber
subscribe: topic1
subscribe: topic1
subscribe: topic1
MQTT in a nutshell
MQTT
Broker
Publisher
Subscribers
Subscribers
Publish to: topic1

body
msg
Instead of client/server, MQTT has the
roles of publisher/subscriber
msg
msg
msg
Subscribers
MQTT Methods (verbs)
๏ Connect: client request a connection with the
MQTT broker
๏ Disconnect: disconnect notification
๏ Subscribe: subscribe to topics
๏ UnSubscribe: unsubscribe from topics
๏ Publish: Publish message
Let’s try
๏ HiveMQ provides a nice web socket-based client
๏ http://www.hivemq.com/demos/websocket-
client/
๏ Today I’m gonna use an Eclipse open source tool
called mosquitto
๏ GIST here: http://gist.github.com/liangsteve/
bb7468fb9e97060f4676d3e544c11a77
MQTT Topics cont.
๏ plus sign (+) is the single level wild card
๏ e.g., a subscription of house/+/temperature will
receive messages published to both house/
living-room/temperature and house/bed-
room/temperature
๏ # is multi-level wildcard
๏ e.g., house/# is subscribing to all topics begins with
house
MQTT wildcard
MQTT
Broker
Publisher Subscribers
Subscribers
Subscribers
Instead of client/server, MQTT has the
roles of publisher/subscriber
subscribe to: 

h/+/t
subscribe to:
house/b/+
subscribe to:
h/b/t
MQTT wildcard
MQTT
Broker
Publisher Subscribers
Subscribers
Subscribers
Instead of client/server, MQTT has the
roles of publisher/subscriber h/+/t
h/b/+
h/b/s
publish to topic:
h/b/t
MQTT wildcard
MQTT
Broker
Publisher Subscribers
Subscribers
Subscribers
Instead of client/server, MQTT has the
roles of publisher/subscriber h/+/t
h/b/+
h/b/s
publish to topic:
h/a/t
MQTT QoS
๏ QoS-0: fire-and-forget
๏ QoS-1: deliver at least once
๏ the broker stores messages on disk and retries until clients
have acknowledged their delivery. (Possibly with
duplicates.)
๏ QoS-2: deliver exact once
๏ have a second acknowledgement round-trip, to ensure that
non-idempotent messages can be delivered exactly once
MQTT Retain Flag
๏ Second, messages have a ‘retain’ flag, indicating
that they should be stored for delivery to new
subscribers. For topics that are infrequently
updated, it’s often useful to give new subscribers
the last-known message right away (with an
indication that it isn’t fresh). Newer retained
messages replace previously ones.
What not included in MQTT?
๏ What does the topic mean?
๏ h/p/t ??
๏ How to interpret the data pushed to you??
SensorThings API MQTT Extension!!
๏ MQTT Subscribe 



v1.0/Datastreams(id)/Observations
SensorThings MQTT Extension
MQTT + OData URL Pattern + O&M
URL path tells you how to
find metadata, entity
name tells you how to
interpret the data
Receive Observations via MQTT
Get Notified when new a THING was created
Demo - Client received notifications when
new THINGS join a SensorThings server
Summary
๏ MQTT is very suitable for IoT!!
๏ SensorThings API provides the greatness of
both HTTP and MQTT.
๏ SensorThings HTTP REST is suitable for
historical data and analytics.
๏ SensorThings MQTT is suitable for real-time
applications.
References
๏ Introduction to MQTT
๏ https://www.oasis-open.org/committees/download.php/49205/
MQTT-OASIS-Webinar.pdf
๏ Eclipse IoT Survey 2015
๏ http://www.slideshare.net/IanSkerrett/iot-developer-survey-2015
See you next week!

More Related Content

What's hot

Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDKKernel TLV
 
The History and Evolution of SDN
The History and Evolution of SDNThe History and Evolution of SDN
The History and Evolution of SDNNapier University
 
OpenShift Container Platform 4.12 Release Notes
OpenShift Container Platform 4.12 Release NotesOpenShift Container Platform 4.12 Release Notes
OpenShift Container Platform 4.12 Release NotesGerryJamisola1
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Sophan Nhean
 
Journey to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftJourney to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftYusuf Hadiwinata Sutandar
 
Vxlan control plane and routing
Vxlan control plane and routingVxlan control plane and routing
Vxlan control plane and routingWilfredzeng
 
Cisco SDWAN - Components Deployment Workflow
Cisco SDWAN - Components Deployment WorkflowCisco SDWAN - Components Deployment Workflow
Cisco SDWAN - Components Deployment WorkflowFarooq Khan
 
Protection perimetrique
Protection perimetriqueProtection perimetrique
Protection perimetriqueMATECH
 
The Evolution of OpenStack – From Infancy to Enterprise
The Evolution of OpenStack – From Infancy to EnterpriseThe Evolution of OpenStack – From Infancy to Enterprise
The Evolution of OpenStack – From Infancy to EnterpriseRackspace
 
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity EngineeringISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity EngineeringBryan Len
 
Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Aswin Kumar
 
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...Robert Bohne
 
Oracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformOracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformStefan Oehrli
 
Coffee Break NeuVector
Coffee Break NeuVectorCoffee Break NeuVector
Coffee Break NeuVectorSUSE
 
eBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux KerneleBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux KernelThomas Graf
 

What's hot (20)

Introduction to DPDK
Introduction to DPDKIntroduction to DPDK
Introduction to DPDK
 
Check Point NGFW
Check Point NGFWCheck Point NGFW
Check Point NGFW
 
GTPing, How To
GTPing, How ToGTPing, How To
GTPing, How To
 
The History and Evolution of SDN
The History and Evolution of SDNThe History and Evolution of SDN
The History and Evolution of SDN
 
OpenShift Container Platform 4.12 Release Notes
OpenShift Container Platform 4.12 Release NotesOpenShift Container Platform 4.12 Release Notes
OpenShift Container Platform 4.12 Release Notes
 
Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3Dhcp & dhcp relay agent in cent os 5.3
Dhcp & dhcp relay agent in cent os 5.3
 
Journey to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshiftJourney to the devops automation with docker kubernetes and openshift
Journey to the devops automation with docker kubernetes and openshift
 
Vxlan control plane and routing
Vxlan control plane and routingVxlan control plane and routing
Vxlan control plane and routing
 
Cisco SDWAN - Components Deployment Workflow
Cisco SDWAN - Components Deployment WorkflowCisco SDWAN - Components Deployment Workflow
Cisco SDWAN - Components Deployment Workflow
 
Protection perimetrique
Protection perimetriqueProtection perimetrique
Protection perimetrique
 
The Evolution of OpenStack – From Infancy to Enterprise
The Evolution of OpenStack – From Infancy to EnterpriseThe Evolution of OpenStack – From Infancy to Enterprise
The Evolution of OpenStack – From Infancy to Enterprise
 
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity EngineeringISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
ISO Automotive,SAE 21434 Training, Road Vehicles Cybersecurity Engineering
 
DPDK In Depth
DPDK In DepthDPDK In Depth
DPDK In Depth
 
Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4Blueprinting DevOps for Digital Transformation_v4
Blueprinting DevOps for Digital Transformation_v4
 
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
KCD Munich 2023 - Demystifying Container Images Understanding Multi-Architect...
 
eBPF Basics
eBPF BasicseBPF Basics
eBPF Basics
 
Dpdk performance
Dpdk performanceDpdk performance
Dpdk performance
 
Oracle Cloud deployment with Terraform
Oracle Cloud deployment with TerraformOracle Cloud deployment with Terraform
Oracle Cloud deployment with Terraform
 
Coffee Break NeuVector
Coffee Break NeuVectorCoffee Break NeuVector
Coffee Break NeuVector
 
eBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux KerneleBPF - Rethinking the Linux Kernel
eBPF - Rethinking the Linux Kernel
 

Similar to MQTT and SensorThings API MQTT Extension

RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...Datacratic
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTHiveMQ
 
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...Weaveworks
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in EnglishEric Xiao
 
MuleSoft Meetup Singapore #8 March 2021
MuleSoft Meetup Singapore #8 March 2021MuleSoft Meetup Singapore #8 March 2021
MuleSoft Meetup Singapore #8 March 2021Julian Douch
 
Istio: Using nginMesh as the service proxy
Istio: Using nginMesh as the service proxyIstio: Using nginMesh as the service proxy
Istio: Using nginMesh as the service proxyLee Calcote
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...confluent
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialBenjamin Cabé
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT Dominik Obermaier
 
MQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfallsMQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfallsDominik Obermaier
 
Connecting Internet of Things to the Cloud with MQTT
Connecting Internet of Things to the Cloud with MQTTConnecting Internet of Things to the Cloud with MQTT
Connecting Internet of Things to the Cloud with MQTTLeon Anavi
 
Defining an Open IoT Stack - Presented at IoT World 2015
Defining an Open IoT Stack - Presented at IoT World 2015Defining an Open IoT Stack - Presented at IoT World 2015
Defining an Open IoT Stack - Presented at IoT World 2015Ian Skerrett
 
What is a Service Mesh and what can it do for your Microservices
What is a Service Mesh and what can it do for your MicroservicesWhat is a Service Mesh and what can it do for your Microservices
What is a Service Mesh and what can it do for your MicroservicesMatt Turner
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsHiveMQ
 
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....Marcin Bielak
 
Best Practices Using MQTT to Connect Millions of IoT Devices
Best Practices Using MQTT  to Connect Millions of IoT DevicesBest Practices Using MQTT  to Connect Millions of IoT Devices
Best Practices Using MQTT to Connect Millions of IoT DevicesChristian Götz
 

Similar to MQTT and SensorThings API MQTT Extension (20)

RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
RTBkit Meetup - Developer Spotlight, Behind the Scenes of RTBkit and Intro to...
 
APIs at the Edge
APIs at the EdgeAPIs at the Edge
APIs at the Edge
 
Back to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTTBack to Basics: An Introduction to MQTT
Back to Basics: An Introduction to MQTT
 
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...
Security & Resiliency of Cloud Native Apps with Weave GitOps & Tetrate Servic...
 
Introduction MQTT in English
Introduction MQTT in EnglishIntroduction MQTT in English
Introduction MQTT in English
 
MuleSoft Meetup Singapore #8 March 2021
MuleSoft Meetup Singapore #8 March 2021MuleSoft Meetup Singapore #8 March 2021
MuleSoft Meetup Singapore #8 March 2021
 
Istio: Using nginMesh as the service proxy
Istio: Using nginMesh as the service proxyIstio: Using nginMesh as the service proxy
Istio: Using nginMesh as the service proxy
 
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
Industry 4.0: Building the Unified Namespace with Confluent, HiveMQ and Spark...
 
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorialPowering your next IoT application with MQTT - JavaOne 2014 tutorial
Powering your next IoT application with MQTT - JavaOne 2014 tutorial
 
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
MQTT AS A KEY TECHNOLOGY FOR INDUSTRY 4.0 & IIoT
 
MQTT 5 - What's New?
MQTT 5 - What's New?MQTT 5 - What's New?
MQTT 5 - What's New?
 
Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5Io t meetup-detroit-mqtt-5
Io t meetup-detroit-mqtt-5
 
MQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfallsMQTT 5: Why you need it and potential pitfalls
MQTT 5: Why you need it and potential pitfalls
 
Mqtt 5 meetup dortmund
Mqtt 5 meetup dortmundMqtt 5 meetup dortmund
Mqtt 5 meetup dortmund
 
Connecting Internet of Things to the Cloud with MQTT
Connecting Internet of Things to the Cloud with MQTTConnecting Internet of Things to the Cloud with MQTT
Connecting Internet of Things to the Cloud with MQTT
 
Defining an Open IoT Stack - Presented at IoT World 2015
Defining an Open IoT Stack - Presented at IoT World 2015Defining an Open IoT Stack - Presented at IoT World 2015
Defining an Open IoT Stack - Presented at IoT World 2015
 
What is a Service Mesh and what can it do for your Microservices
What is a Service Mesh and what can it do for your MicroservicesWhat is a Service Mesh and what can it do for your Microservices
What is a Service Mesh and what can it do for your Microservices
 
MQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential PitfallsMQTT 5 - Why You Need It and Potential Pitfalls
MQTT 5 - Why You Need It and Potential Pitfalls
 
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
Internet of Things - protocols review (MeetUp Wireless & Networks, Poznań 21....
 
Best Practices Using MQTT to Connect Millions of IoT Devices
Best Practices Using MQTT  to Connect Millions of IoT DevicesBest Practices Using MQTT  to Connect Millions of IoT Devices
Best Practices Using MQTT to Connect Millions of IoT Devices
 

More from SensorUp

Edge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APIEdge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APISensorUp
 
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...SensorUp
 
Discussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainDiscussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainSensorUp
 
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...SensorUp
 
Open Standard Internet of Things for Smart Cities
Open Standard Internet of Things for Smart CitiesOpen Standard Internet of Things for Smart Cities
Open Standard Internet of Things for Smart CitiesSensorUp
 
OGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TOGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TSensorUp
 
Smart Citizen Workshop - Cybera Summit 2016, Banff, Canada
Smart Citizen Workshop - Cybera Summit 2016, Banff, CanadaSmart Citizen Workshop - Cybera Summit 2016, Banff, Canada
Smart Citizen Workshop - Cybera Summit 2016, Banff, CanadaSensorUp
 
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...SensorUp
 
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API SensorUp
 
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...SensorUp
 
Sense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings APISense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings APISensorUp
 
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsArctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsSensorUp
 
Open IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings APIOpen IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings APISensorUp
 
Comparison between OGC Sensor Observation Service and SensorThings API
Comparison between OGC Sensor Observation Service and SensorThings APIComparison between OGC Sensor Observation Service and SensorThings API
Comparison between OGC Sensor Observation Service and SensorThings APISensorUp
 
Citizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APICitizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APISensorUp
 
SensorThings API webinar-#4-Connect Your Sensor
SensorThings API webinar-#4-Connect Your SensorSensorThings API webinar-#4-Connect Your Sensor
SensorThings API webinar-#4-Connect Your SensorSensorUp
 
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210SensorUp
 
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open Standards
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open StandardsSensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open Standards
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open StandardsSensorUp
 
SensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - IntroductionSensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - IntroductionSensorUp
 
Challenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilityChallenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilitySensorUp
 

More from SensorUp (20)

Edge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings APIEdge Computing and OGC SensorThings API
Edge Computing and OGC SensorThings API
 
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
Actionable Insights from Multi-sensor IoT Systems using the OGC SensorThings ...
 
Discussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and BlockchainDiscussion materials for the Internet of Things and Blockchain
Discussion materials for the Internet of Things and Blockchain
 
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
OGC SensorThings API for Location Aware Sensing System (LASS) 2017 User Confe...
 
Open Standard Internet of Things for Smart Cities
Open Standard Internet of Things for Smart CitiesOpen Standard Internet of Things for Smart Cities
Open Standard Internet of Things for Smart Cities
 
OGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-TOGC SensorThings API - a very short introduction for ITU-T
OGC SensorThings API - a very short introduction for ITU-T
 
Smart Citizen Workshop - Cybera Summit 2016, Banff, Canada
Smart Citizen Workshop - Cybera Summit 2016, Banff, CanadaSmart Citizen Workshop - Cybera Summit 2016, Banff, Canada
Smart Citizen Workshop - Cybera Summit 2016, Banff, Canada
 
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
Discussion materials for Internet of Things and Smart Cities - Vespucci 2016 ...
 
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API
Analyze Your Smart City: Build Sensor Analytics with OGC SensorThings API
 
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...
Visualize Your Smart City: Build a Real-Time Smart City Dashboard for SensorT...
 
Sense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings APISense Your Smart City: Connect Environmental Sensors to SensorThings API
Sense Your Smart City: Connect Environmental Sensors to SensorThings API
 
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen SensorsArctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
Arctic Web Map, PolarMap.js, Arctic Sensor Web, and Arctic Citizen Sensors
 
Open IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings APIOpen IoT Made Easy - Introduction to OGC SensorThings API
Open IoT Made Easy - Introduction to OGC SensorThings API
 
Comparison between OGC Sensor Observation Service and SensorThings API
Comparison between OGC Sensor Observation Service and SensorThings APIComparison between OGC Sensor Observation Service and SensorThings API
Comparison between OGC Sensor Observation Service and SensorThings API
 
Citizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings APICitizen Sensing with the SenosrThings API
Citizen Sensing with the SenosrThings API
 
SensorThings API webinar-#4-Connect Your Sensor
SensorThings API webinar-#4-Connect Your SensorSensorThings API webinar-#4-Connect Your Sensor
SensorThings API webinar-#4-Connect Your Sensor
 
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
Sensor thingsapi webinar-#3-rest-for-iot-api-20151210
 
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open Standards
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open StandardsSensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open Standards
SensorThings API Webinar - #2 of 4 - IoT Data Modeling with Open Standards
 
SensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - IntroductionSensorThings API Webinar - #1 of 4 - Introduction
SensorThings API Webinar - #1 of 4 - Introduction
 
Challenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service InteroperabilityChallenges and Opportunities of the IoT Data and Service Interoperability
Challenges and Opportunities of the IoT Data and Service Interoperability
 

Recently uploaded

AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxellan12
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)Damian Radcliffe
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts servicesonalikaur4
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...Diya Sharma
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirtrahman018755
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012rehmti665
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneCall girls in Ahmedabad High profile
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Dana Luther
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkataanamikaraghav4
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Deliverybabeytanya
 

Recently uploaded (20)

AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptxAWS Community DAY Albertini-Ellan Cloud Security (1).pptx
AWS Community DAY Albertini-Ellan Cloud Security (1).pptx
 
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls KolkataVIP Call Girls Kolkata Ananya 🤌  8250192130 🚀 Vip Call Girls Kolkata
VIP Call Girls Kolkata Ananya 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 6 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Samaira 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Samaira 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)How is AI changing journalism? (v. April 2024)
How is AI changing journalism? (v. April 2024)
 
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Porur Phone 🍆 8250192130 👅 celebrity escorts service
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
₹5.5k {Cash Payment}New Friends Colony Call Girls In [Delhi NIHARIKA] 🔝|97111...
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 26 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
Call Girls in Uttam Nagar Delhi 💯Call Us 🔝8264348440🔝
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya ShirtChallengers I Told Ya Shirt
Challengers I Told Ya ShirtChallengers I Told Ya Shirt
 
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICECall Girls In South Ex 📱  9999965857  🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
Call Girls In South Ex 📱 9999965857 🤩 Delhi 🫦 HOT AND SEXY VVIP 🍎 SERVICE
 
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
Call Girls South Delhi Delhi reach out to us at ☎ 9711199012
 
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service PuneVIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
VIP Call Girls Pune Madhuri 8617697112 Independent Escort Service Pune
 
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
Packaging the Monolith - PHP Tek 2024 (Breaking it down one bite at a time)
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls KolkataRussian Call Girls in Kolkata Ishita 🤌  8250192130 🚀 Vip Call Girls Kolkata
Russian Call Girls in Kolkata Ishita 🤌 8250192130 🚀 Vip Call Girls Kolkata
 
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on DeliveryCall Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
Call Girls In Mumbai Central Mumbai ❤️ 9920874524 👈 Cash on Delivery
 

MQTT and SensorThings API MQTT Extension

  • 1. MQTT and SensorThings API MQTT Extension sensorweb.geomatics.ucalgary.ca www.sensorup.com 0.23 litre/minute 0.25 litre/minute 0.27 litre/minuteRH: 85 % Temp: 18 Celsius Dr. Steve Liang, Ph.D., P.Eng. Associate Professor, University of Calgary Founder and CEO, SensorUp Inc.
  • 2. About Dr. Steve Liang ๏ Associate Professor, Geomatics Engineering, Uni. Calgary ๏ AITF-Microsoft Industry Research Chair on Open Sensor Web (2011~2014) ๏ Chair OGC SensorThings API Standard Working Group ๏ Rapporteur, ITU-T SG12/11 on Internet of Things Test Specifications ๏ Founder and CEO, SensorUp Inc ๏ Calgary’s Top 40 Under 40
  • 3. About SensorUp ๏ We are a leader in Sensor Web and IoT Platforms ๏ We are leading several international IoT standard development efforts (OGC and ITU-T) ๏ We are proud member of Eclipse and Open Geospatial Consortium
  • 4. News - 
 Whiskers ๏ Whiskers, a new Eclipse open source project proposal for OGC SensorThings API ๏ will includes MQTT support
  • 5. News - Whiskers ๏ Whisker is ๏ a Javascript Client Library for SensorThings ๏ a light-weight SensorThings Server for IoT gateways (e.g., Raspberry Pi) ๏ First release - 2016 Q2 or Q3
  • 6. What will be covered ๏ MQTT ๏ SensorThings API MQTT Extension
  • 7. Why isn’t HTTP enough? ๏ HTTP: send a request, receive a response ๏ IoT has fundamentally different challenges ๏ IoT needs a event-oriented paradigm ๏ distribute information from 1 to many ๏ get notifications whenever they happen ๏ distributing minimal packets of data in huge volumes ๏ pushing information over unreliable networks
  • 8. Why isn’t HTTP enough - 2? ๏ IoT has fundamentally different challenges ๏ power consumption is a major concern (battery-powered devices) ๏ responsiveness (near real-time applications) ๏ scalability (50 billion devices!!)
  • 9. MQTT is… ๏ an ISO standard (ISO/IEC 20922) ๏ an OASIS standard ๏ probably the most popular IoT messaging protocol (more in next slide) ๏ efficient and scalable
  • 10. Messaging Protocols for IoT 1.1% 5.4% 6.8% 8.2% 11.1% 11.5% 18.6% 21.5% 53.0% 63.1% 0.0% 10.0% 20.0% 30.0% 40.0% 50.0% 60.0% 70.0% None DDS Don’t)know Proprietary AMQP XMPP In7house CoAP MQTT HTTP What)general)messaging)protocols)do)you)use)in)your)IoT)solution? Eclipse IoT Developer Survey 2015
  • 11. MQTT vs HTTPS (power consumption) http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https
  • 12. MQTT vs HTTPS (power consumption) http://stephendnicholas.com/posts/power-profiling-mqtt-vs-https
  • 13. What MQTT is not… ๏ use MQTT doesn’t mean IoT interoperability ๏ It’s part of the interoperability solution ๏ It still needs a data model standard, such as SensorThings API to enable data interoperability
  • 14. MQTT Topics ๏ the central concept in MQTT to dispatch messages are topics ๏ a topic is a simple string that can have more hierarchy levels, which are separated by a slash (/), ๏ e.g., house/living-room/temperature ๏ topics are the routing information for the MQTT broker
  • 15. MQTT in a nutshell MQTT Broker Publisher Subscribers Subscribers Subscribers Instead of client/server, MQTT has the roles of publisher/subscriber subscribe: topic1 subscribe: topic1 subscribe: topic1
  • 16. MQTT in a nutshell MQTT Broker Publisher Subscribers Subscribers Publish to: topic1
 body msg Instead of client/server, MQTT has the roles of publisher/subscriber msg msg msg Subscribers
  • 17. MQTT Methods (verbs) ๏ Connect: client request a connection with the MQTT broker ๏ Disconnect: disconnect notification ๏ Subscribe: subscribe to topics ๏ UnSubscribe: unsubscribe from topics ๏ Publish: Publish message
  • 18. Let’s try ๏ HiveMQ provides a nice web socket-based client ๏ http://www.hivemq.com/demos/websocket- client/ ๏ Today I’m gonna use an Eclipse open source tool called mosquitto ๏ GIST here: http://gist.github.com/liangsteve/ bb7468fb9e97060f4676d3e544c11a77
  • 19. MQTT Topics cont. ๏ plus sign (+) is the single level wild card ๏ e.g., a subscription of house/+/temperature will receive messages published to both house/ living-room/temperature and house/bed- room/temperature ๏ # is multi-level wildcard ๏ e.g., house/# is subscribing to all topics begins with house
  • 20. MQTT wildcard MQTT Broker Publisher Subscribers Subscribers Subscribers Instead of client/server, MQTT has the roles of publisher/subscriber subscribe to: 
 h/+/t subscribe to: house/b/+ subscribe to: h/b/t
  • 21. MQTT wildcard MQTT Broker Publisher Subscribers Subscribers Subscribers Instead of client/server, MQTT has the roles of publisher/subscriber h/+/t h/b/+ h/b/s publish to topic: h/b/t
  • 22. MQTT wildcard MQTT Broker Publisher Subscribers Subscribers Subscribers Instead of client/server, MQTT has the roles of publisher/subscriber h/+/t h/b/+ h/b/s publish to topic: h/a/t
  • 23. MQTT QoS ๏ QoS-0: fire-and-forget ๏ QoS-1: deliver at least once ๏ the broker stores messages on disk and retries until clients have acknowledged their delivery. (Possibly with duplicates.) ๏ QoS-2: deliver exact once ๏ have a second acknowledgement round-trip, to ensure that non-idempotent messages can be delivered exactly once
  • 24. MQTT Retain Flag ๏ Second, messages have a ‘retain’ flag, indicating that they should be stored for delivery to new subscribers. For topics that are infrequently updated, it’s often useful to give new subscribers the last-known message right away (with an indication that it isn’t fresh). Newer retained messages replace previously ones.
  • 25. What not included in MQTT? ๏ What does the topic mean? ๏ h/p/t ?? ๏ How to interpret the data pushed to you?? SensorThings API MQTT Extension!!
  • 26. ๏ MQTT Subscribe 
 
 v1.0/Datastreams(id)/Observations SensorThings MQTT Extension MQTT + OData URL Pattern + O&M URL path tells you how to find metadata, entity name tells you how to interpret the data
  • 28. Get Notified when new a THING was created
  • 29. Demo - Client received notifications when new THINGS join a SensorThings server
  • 30. Summary ๏ MQTT is very suitable for IoT!! ๏ SensorThings API provides the greatness of both HTTP and MQTT. ๏ SensorThings HTTP REST is suitable for historical data and analytics. ๏ SensorThings MQTT is suitable for real-time applications.
  • 31. References ๏ Introduction to MQTT ๏ https://www.oasis-open.org/committees/download.php/49205/ MQTT-OASIS-Webinar.pdf ๏ Eclipse IoT Survey 2015 ๏ http://www.slideshare.net/IanSkerrett/iot-developer-survey-2015
  • 32. See you next week!