Top Banner
IoT with MQTT and Paho for Webpages 2014-06-24 Eclipse Democamp München
12

IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Jan 18, 2015

Download

Technology

Presentation from the Eclipse Democamp 2014 in Munich. This demo shows how to connect Webpages with MQTT to get real push notifications - with an IoT protocol! Uses the Eclipse Paho Javascript library and the HiveMQ Enterprise MQTT broker for built-in websockets support.
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

I o T w i t h M Q T Ta n d Pa h o

f o r W e b p a g e s

2 0 1 4 - 0 6 - 2 4 E c l i p s e D e m o c a m p M ü n c h e n

Page 2: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Your presenters

Who is speaking today?

Angelika Wittek Dominik Obermaier

Freelancer CTO @ dc-square

2

@dobermai

Page 3: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

W o n d e r i n gw h a t y o u

w i l l s e e t o d ay ?

Page 4: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014
Page 5: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Clients can connect with

an optional LWT topic.

If a client disconnects

irregularly, all interested

parties get notified.

3 Quality of Service LevelsClients don’t have to poll for

new information. Instant Push

for business-critical, event-

driven scenarios.

State-of-the-art messaging

Publish / Subscribe

architecture for maximum

scalability and extensibility.

Publish / Subscribe Real Push Quality of Service Last will and Testament

MQTT - Features

Small selection of awesome features

5

•At most once

•At least once

• Exactly once

Page 6: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Publish / Subscribe

Scalable Communication

6

Page 7: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

And it just works

Required Software

Modern Browser Eclipse Paho HiveMQ

7

Page 8: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Eclipse Paho

Paho in a nutshellOpen Source

“Reference Implementation”

Available in many languages: Java, C, C++, Python,Lua, Go, Javascript, ...

Focus on MQTT

8

Page 9: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

HiveMQ

HiveMQ in a nutshellHigh Performance MQTT Broker

Native Websockets support

Open Source plugin System

Bridging

9

Clustering

Page 10: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

ATTENTIONLive demo!

Page 11: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

Thanks!

11

Page 12: IoT with MQTT and Paho for Webpages - Eclipse Democamp München 2014

About us

“Munich at Sunset” by Hajer Ben Charrada: https://flic.kr/p/jggJ4j

“browsers” by kjhosein: https://flic.kr/p/dAQ1y7

Photos(All Creative Commons)

Credits

12