SlideShare a Scribd company logo
1 of 47
1
POLITECNICO DI BARI
April 28-29, 2015
Bari
IBM Bluemix and the
Internet of Things
Giulio Santoli (@gjuljo)
ibm.biz/Bluemix2015
2 ยฉ 2015 IBM Corporation
A new economic paradigm...
3 ยฉ 2015 IBM Corporation
Jeremy Rifkin: the Third Industrial Revolution
Herbie
Airbus Phantom Eye
4 ยฉ 2015 IBM Corporation
Hype cycle for emerging technologies 2014
Internet of Things
is here!
5 ยฉ 2015 IBM Corporation
EveryTHING is connected
My tells my that the is over
My tells my to open the garage and start my
My tells my that an intruder is entred
A tells my to tell my that a arrived
6 ยฉ 2015 IBM Corporation
Internet of Things: Many different technologies
7 ยฉ 2015 IBM Corporation
MQTT, a messaging protocol for IoT
Open (standard, 40+ client implementations)
Lightweight (minimal overhead, efficient format, tiny clients)
Reliable (QoS for reliability in unrealiable neworks)
Simple (43-pages specification, connect/publish/subscribe)
Late 90s Aug 2010 Nov 2011 Sep 2014
Invented by and Published by Eclipse M2m Standard
(v. 3.1.1)
8 ยฉ 2015 IBM Corporation
MQTT v.s. HTTP
9 ยฉ 2015 IBM Corporation
MQTT: publis/subscribe
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
10 ยฉ 2015 IBM Corporation
MQTT: payload agnostic
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
11 ยฉ 2015 IBM Corporation
MQTT: wildcard subscriptions
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
12 ยฉ 2015 IBM Corporation
MQTT: quality of service
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
13 ยฉ 2015 IBM Corporation
MQTT: retained message for last value caching
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
14 ยฉ 2015 IBM Corporation
MQTT: cleanSession for session state
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
15 ยฉ 2015 IBM Corporation
MQTT: last will and testament
Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
16 ยฉ 2015 IBM Corporation
MQTT Brokers
Appliance Cloud Open Source
โ€ข IBM Message Sight โ€ข IBM IoT Foundation
โ€ข HiveMQ
โ€ข Eurotech EDC
โ€ข Litmus Loop
โ€ข ...
โ€ข Mosquitto (C)
โ€ข Mosca (NodeJS)
โ€ข Moquette (Java)
โ€ข RSMB (C)
โ€ข ...Up & running in <30 minutes
1 rack = 273M msg/sec
21M concurrent connections
DMZ-ready, FIPS 140-2
deny-based access control
http://mosquitto.org
http://www.mosca.io
https://eclipse.org/paho
17 ยฉ 2015 IBM Corporation
IBM MessageSight Virtual Appliance
https://developer.ibm.com/messaging/messagesight
18 ยฉ 2015 IBM Corporation
Example: simple moquitto
> mosquitto -v
> mosquitto_sub -d -t hello/world
> mosquitto_pub -d -t hello/world -m "Hello, MQTT. This is my first message."
> mosquitto_sub -d -t hello/+
> mosquitto_pub -d -t hello/aaa -m "Hello, MQTT. This is my first message."
> mosquitto_pub -d -t hello/bbb -m "Hello, MQTT. This is my first message."
19 ยฉ 2015 IBM Corporation
Example: node.js & mosquitto
mosquitto-server.js
mosquitto-client.js
20 ยฉ 2015 IBM Corporation
Example: Eclipse Paho
MosquittoClient.java
21 ยฉ 2015 IBM Corporation
> mosquitto_passwd -c mypasswords.txt sender
> mosquitto_passwd mypasswords.txt receiver
Example: moquitto with configuration
> mosquitto -v -c mymosquitto.conf
> mosquitto_sub -d -t hello/world -u receiver -P receiver
> mosquitto_pub -d -t hello/world -u sender -P sender -m "Hello message"
โ€ฆ
password_file mypasswords.txt
โ€ฆ
mymosquitto.conf
sender:$6$25Z4WgbWINtzGhC7$Ro78KKiitIjMJ
YcWL88OJC/6gQhXYVc5eduomTwzvUC2Ictax/r
3X9c8S4CW3f5ZhPwmRKkaXJNOGWBz84nGB
Q==
receiver:$6$ceVsPkVtifa5+ITe$7vpPSJZTWc6W
6EnUMbHyinXelp7ziv+MHbBasu5ffaZ+ke7LU8gg
jC34okcPOAHFTOSKCmVhxZMmAC5SbOaBsA
==
mypassword.txt
22 ยฉ 2015 IBM Corporation
IBM Internet of Things Cloud
IBM BluemixIBM IoT Foundation
+ =
23 ยฉ 2015 IBM Corporation
IoT Foundation: Apps, Devices and APIs
Devices
IBM IoT Foundation
Apps
PUBLISH
RECEIVE
events
commands
PUBLISH
commands
REGISTER
devices
GENERATE
API keys
HTTP HTTP
RECEIVE
events
(and services)
MQTT MQTT
24 ยฉ 2015 IBM Corporation
IoT Foundation: MQTT and Apps
https://developer.ibm.com/iot/recipes/improvise-application-development
username ๏ƒ  <key>
password ๏ƒ  <token>
clientid ๏ƒ  a:<orgid>:<app-id>
publishes ๏ƒ  iot-2/type/<type-id>/id/<device-id>/cmd/<cmd-id>/fmt/<format-id>
subscribes ๏ƒ  iot-2/type/<type-id>/id/<device-id>/evt/<event-id>/fmt/<format-id>
Apps & Services
key: a-myorg-hketyuionf
token: AB3ur51jL+3awe0kl
Example
tcp://<org-id>.messaging.internetofthings.ibmcloud.com:1883
ssl://<org-id>.messaging.internetofthings.ibmcloud.com:8883
MQTT Host
25 ยฉ 2015 IBM Corporation
IoT Foundation: Devices
Devices
https://developer.ibm.com/iot/recipes/improvise-registered-devices
https://developer.ibm.com/iot/recipes/improvise-commands
username ๏ƒ  use-token-auth
password ๏ƒ  <auth-token>
clientid ๏ƒ  d:<orgid>:<type-id>:<divice-id>
publishes ๏ƒ  iot-2/evt/<event-id>/fmt/<format>
subscribes ๏ƒ  iot-2/cmd/<cmd-type>/fmt/<format-id>
payload ๏ƒ  {"d": {"name1": "value1", "name2": intvalue } }
org=myorg
type=mydevicetype
id=mydeviceid
auth-method=token
auth-token=Gh3e(EA998fart4
Example
26 ยฉ 2015 IBM Corporation
IoT Foundation: REST APIs
View an organization (GET):
https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id>
List all devices (GET) / Registr a device (POST):
https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id>/devices
Historical data for a device (GET):
https://internetofthings.ibmcloud.com/api/v0001/historian/<org-id>/<type-id>/<id>?filter
REST API Examples
https://developer.ibm.com/iot/recipes/api-documentation
curl --user "<key>:<token>" https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id>/devices
Example: get all devices
27 ยฉ 2015 IBM Corporation
IoT Foundation: MQTT Starfighter
http://m2m.demos.ibm.com/collaboration.html#starfighter
https://hub.jazz.net/project/spirit/MQTT%20Starfighter%20Server/overview
28 ยฉ 2015 IBM Corporation
IBM Connected Car
http://m2m.demos.ibm.com/connectedCar.html#connectedCar
http://tiny.cc/ws0zpx
29 ยฉ 2015 IBM Corporation
IBM Connected Car: some more pictures
30 ยฉ 2015 IBM Corporation
IoT Foundation: Quick Start
https://quickstart.internetofthings.ibmcloud.com
https://github.com/ibm-messaging/iot-arduino
31 ยฉ 2015 IBM Corporation
Example: moquitto & node.js clients
> c:bluemixiot>echo {"d":{"temperature": 33 }} 2>&1 |
mosquitto_pub -d -h quickstart.messaging.internetofthings.ibmcloud.com
-i "d:quickstart:example:aa00bb11cc88" -q 0 -t "iot-2/evt/status/fmt/json" -l
quickstart.js
32 ยฉ 2015 IBM Corporation
Example: java Paho client
Quickstart.java
33 ยฉ 2015 IBM Corporation
IoT Foundation Organization
34 ยฉ 2015 IBM Corporation
Example: app (subscriber) & device (publisher)
> mosquitto_sub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883
-i "a:org:myapp" -u "key" -P "token" -t "iot-2/type/+/id/+/evt/+/fmt/json"
> mosquitto_pub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883
-i "d:org:type:id" -u "use-token-auth" -P "auth-token" -q 0
-t "iot-2/evt/status/fmt/json" -m "hello"
org=myorg
type=mydevicetype
id=mydeviceid
auth-method=token
auth-token=Gj6e(EA998fart4
device
key: a-myorg-hketyuionf
token: AB3ddr51jL+3ape0kl
app
publish subscribedevice app
35 ยฉ 2015 IBM Corporation
Example: device (subscriber) & app (publisher)
> mosquitto_sub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883
-i "d:org:type:id" -u "use-token-auth" -P "auth-token"
-t "iot-2/cmd/reboot/fmt/json"
> mosquitto_pub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883
-i "a:org:myapp" -u "key" -P "token"
-t "iot-2/type/type/id/id/cmd/reboot/fmt/json" -m "test123"
org=myorg
type=mydevicetype
id=mydeviceid
auth-method=token
auth-token=Gj6e(EA118fart4
device
key: a-myorg-hjetyuionf
token: AB3ffr51jL+3ape0kl
app
publishsubscribedevice app
36 ยฉ 2015 IBM Corporation
Example: Visualization Application
https://github.com/ibm-messaging/iot-visualization
37 ยฉ 2015 IBM Corporation
Example: node.js registered client
registered.js
38 ยฉ 2015 IBM Corporation
Example: java Paho registered client
Registered.java
39 ยฉ 2015 IBM Corporation
Writing IoT-enabled applications is challenging
Spaghetti-code is around the corner, debugging is a hell
40 ยฉ 2015 IBM Corporation
UML is dead, long live to UML
IBM Rhapsody for Model-Driven Development in C, C++, Java and Ada
41 ยฉ 2015 IBM Corporation
IBM Rhapsody and Arduino Uno Demo
42 ยฉ 2015 IBM Corporation
Connected Train Demo โ€“ Overview
IBM Bluemix IBM IoT Foundation
IBM Rhapsody Raspberry Pi
HTTP/HTTPS MQTT
IR
43 ยฉ 2015 IBM Corporation
Raspberry-Pi Setup & Configuration
43
44 ยฉ 2015 IBM Corporation
IBM Rhapsody Developer
http://www.ibm.com/developerworks/downloads/r/rhapsodydeveloper
45 ยฉ 2015 IBM Corporation
IBM Redbooks
http://www.redbooks.ibm.com
Redpaper: MQTT and Arduino Devices
http://www.redbooks.ibm.com/abstracts/redp4929.html?Open
46 ยฉ 2015 IBM Corporation
Jeremy Rifkin
47 ยฉ 2015 IBM Corporation
Bluemix works.
Start a free trial today
ibm.biz/Bluemix2015

More Related Content

What's hot

What's hot (20)

Iot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloudIot 1906 - approaches for building applications with the IBM IoT cloud
Iot 1906 - approaches for building applications with the IBM IoT cloud
ย 
Ibm iot overview
Ibm   iot overviewIbm   iot overview
Ibm iot overview
ย 
Capgemini Connected Car Demo Using IBM Internet of Things Foundation on Bluemix
Capgemini Connected Car Demo Using IBM Internet of Things Foundation on BluemixCapgemini Connected Car Demo Using IBM Internet of Things Foundation on Bluemix
Capgemini Connected Car Demo Using IBM Internet of Things Foundation on Bluemix
ย 
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
Display device (mqtt) data with Real Time Insights on IBM Internet of Things ...
ย 
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
Connecting Devices to the IBM IoT via MQTT - Session 1231 @IBMInsight2015
ย 
IoT the driver of Business Innovation: better products, new services and...
IoT the driver of  Business Innovation: better products, new  services  and...IoT the driver of  Business Innovation: better products, new  services  and...
IoT the driver of Business Innovation: better products, new services and...
ย 
Reshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to ConsiderReshaping Business Through IoT: Key Technology Factors to Consider
Reshaping Business Through IoT: Key Technology Factors to Consider
ย 
Real World IoT Architecture Use Cases
Real World IoT Architecture Use CasesReal World IoT Architecture Use Cases
Real World IoT Architecture Use Cases
ย 
Top 10 reasons your IoT project will fail
Top 10 reasons your IoT project will failTop 10 reasons your IoT project will fail
Top 10 reasons your IoT project will fail
ย 
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the RescueIndustrial IoT Mayhem? Java IoT Gateways to the Rescue
Industrial IoT Mayhem? Java IoT Gateways to the Rescue
ย 
Smart Construction Site
Smart Construction SiteSmart Construction Site
Smart Construction Site
ย 
IoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoTIoT Solutions Made Simple with Everyware IoT
IoT Solutions Made Simple with Everyware IoT
ย 
Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?Is your OT/IT offering IoT-ready?
Is your OT/IT offering IoT-ready?
ย 
People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013People Counting: Internet of Things in Motion at JavaOne 2013
People Counting: Internet of Things in Motion at JavaOne 2013
ย 
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
Eurotech and Red Hat collaboration simplifies Internet of Things integration ...
ย 
Simplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent GatewaySimplify Internet of Things with an Intelligent Gateway
Simplify Internet of Things with an Intelligent Gateway
ย 
GetSenso IOT platform & Monitoring Solutions presentation 2.0
GetSenso IOT platform & Monitoring Solutions presentation 2.0GetSenso IOT platform & Monitoring Solutions presentation 2.0
GetSenso IOT platform & Monitoring Solutions presentation 2.0
ย 
Big Communications Event, Keynote Communications Track
Big Communications Event, Keynote Communications TrackBig Communications Event, Keynote Communications Track
Big Communications Event, Keynote Communications Track
ย 
World of Watson - Integrating IBM Watson IOT Platform and IBM Blockchain
World of Watson - Integrating IBM Watson IOT Platform and IBM BlockchainWorld of Watson - Integrating IBM Watson IOT Platform and IBM Blockchain
World of Watson - Integrating IBM Watson IOT Platform and IBM Blockchain
ย 
Oow con7393
Oow con7393Oow con7393
Oow con7393
ย 

Viewers also liked

Introducing MQTT
Introducing MQTTIntroducing MQTT
Introducing MQTT
Andy Piper
ย 

Viewers also liked (15)

BIG DATA & IoT: Tecnologias eย  Aplicaรงรตes
BIG DATA & IoT: Tecnologias eย  AplicaรงรตesBIG DATA & IoT: Tecnologias eย  Aplicaรงรตes
BIG DATA & IoT: Tecnologias eย  Aplicaรงรตes
ย 
Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?Is your MQTT broker IoT ready?
Is your MQTT broker IoT ready?
ย 
IBM Bluemix Meetup Paris #20 - 20161214
IBM Bluemix Meetup Paris #20 - 20161214 IBM Bluemix Meetup Paris #20 - 20161214
IBM Bluemix Meetup Paris #20 - 20161214
ย 
IoT Gent meetup
IoT Gent meetupIoT Gent meetup
IoT Gent meetup
ย 
IBM Bluemix Garage in London
IBM Bluemix Garage in LondonIBM Bluemix Garage in London
IBM Bluemix Garage in London
ย 
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT DeploymentsPulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
Pulga, a Tiny Open-Source MQTT Broker for Flexible and Secure IoT Deployments
ย 
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014An Introduction to Eclipse Kura - Eclipse Day Florence 2014
An Introduction to Eclipse Kura - Eclipse Day Florence 2014
ย 
Creating end-to-end IoT applications with Eclipse Kura & Solair IoT Platform
Creating end-to-end IoT applications with Eclipse Kura & Solair IoT PlatformCreating end-to-end IoT applications with Eclipse Kura & Solair IoT Platform
Creating end-to-end IoT applications with Eclipse Kura & Solair IoT Platform
ย 
Building the internet of things with ibm (slideshare)
Building the internet of things with ibm (slideshare)Building the internet of things with ibm (slideshare)
Building the internet of things with ibm (slideshare)
ย 
Introducing MQTT
Introducing MQTTIntroducing MQTT
Introducing MQTT
ย 
MQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message QueueingMQTT - MQ Telemetry Transport for Message Queueing
MQTT - MQ Telemetry Transport for Message Queueing
ย 
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
IoT Open Source Integration Comparison (Kura, Node-RED, Flogo, Apache Nifi, S...
ย 
IBM Internet of Things Offerings
IBM Internet of Things OfferingsIBM Internet of Things Offerings
IBM Internet of Things Offerings
ย 
IBM Paris Bluemix Meetup #13 - Epitech - 9 mars 2016
IBM Paris Bluemix Meetup #13 - Epitech - 9 mars 2016IBM Paris Bluemix Meetup #13 - Epitech - 9 mars 2016
IBM Paris Bluemix Meetup #13 - Epitech - 9 mars 2016
ย 
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-gInternet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g
Internet-of-things- (IOT) - a-seminar - ppt - by- mohan-kumar-g
ย 

Similar to IBM Bluemix and the Internet of Things - Workshop

IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
IDTEX IoT & WSN conf - Connecting People & Things - Joe SpeedIDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
Joe Speed
ย 
Open-source IoT cookbook
Open-source IoT cookbookOpen-source IoT cookbook
Open-source IoT cookbook
Benjamin Cabรฉ
ย 
Ibm connected car is a big data problem for autotech council dec 13 2013 jo...
Ibm connected car is a big data problem for autotech council dec 13 2013   jo...Ibm connected car is a big data problem for autotech council dec 13 2013   jo...
Ibm connected car is a big data problem for autotech council dec 13 2013 jo...
Joe Speed
ย 

Similar to IBM Bluemix and the Internet of Things - Workshop (20)

Tec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examplesTec118 Teched2015 IOT use case and examples
Tec118 Teched2015 IOT use case and examples
ย 
IBM Bluemix saves the game
IBM Bluemix saves the gameIBM Bluemix saves the game
IBM Bluemix saves the game
ย 
MQTT with Eclipse Paho: A protocol for IoT and M2M communication
MQTT with Eclipse Paho: A protocol for IoT and M2M communicationMQTT with Eclipse Paho: A protocol for IoT and M2M communication
MQTT with Eclipse Paho: A protocol for IoT and M2M communication
ย 
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
ย 
MQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT ExtensionMQTT and SensorThings API MQTT Extension
MQTT and SensorThings API MQTT Extension
ย 
Seriously Open Cloud Native Java Microservices
Seriously Open Cloud Native Java MicroservicesSeriously Open Cloud Native Java Microservices
Seriously Open Cloud Native Java Microservices
ย 
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
ย 
Codemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and DockerCodemotion Rome 2015 IBM Bluemix and Docker
Codemotion Rome 2015 IBM Bluemix and Docker
ย 
IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
IDTEX IoT & WSN conf - Connecting People & Things - Joe SpeedIDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
IDTEX IoT & WSN conf - Connecting People & Things - Joe Speed
ย 
Evolution des datacenters et des attentes du marchรฉ : La stratรฉgie EMC
Evolution des datacenters et des attentes du marchรฉ : La stratรฉgie EMCEvolution des datacenters et des attentes du marchรฉ : La stratรฉgie EMC
Evolution des datacenters et des attentes du marchรฉ : La stratรฉgie EMC
ย 
Rtp bluemix meetup june 2016 anki and node red
Rtp bluemix meetup june 2016 anki and node redRtp bluemix meetup june 2016 anki and node red
Rtp bluemix meetup june 2016 anki and node red
ย 
Open-source IoT cookbook
Open-source IoT cookbookOpen-source IoT cookbook
Open-source IoT cookbook
ย 
M2M for Java Developers: MQTT with Eclipse Paho - Eclipsecon Europe 2013
M2M for Java Developers: MQTT with Eclipse Paho - Eclipsecon Europe 2013M2M for Java Developers: MQTT with Eclipse Paho - Eclipsecon Europe 2013
M2M for Java Developers: MQTT with Eclipse Paho - Eclipsecon Europe 2013
ย 
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...
ย 
Node home automation with Node.js and MQTT
Node home automation with Node.js and MQTTNode home automation with Node.js and MQTT
Node home automation with Node.js and MQTT
ย 
IoT for V2V and Connected Car - AW Megatrends `14 panel
IoT for V2V and Connected Car - AW Megatrends `14 panelIoT for V2V and Connected Car - AW Megatrends `14 panel
IoT for V2V and Connected Car - AW Megatrends `14 panel
ย 
Industrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplugIndustrial transformation-simplified-with-mqtt-and-sparkplug
Industrial transformation-simplified-with-mqtt-and-sparkplug
ย 
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehnenode.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
node.js is made for IoT - node.hh 07/16, Hamburg by Michael Kuehne
ย 
IoT with Ruby/mruby - RubyWorld Conference 2015
IoT with Ruby/mruby - RubyWorld Conference 2015IoT with Ruby/mruby - RubyWorld Conference 2015
IoT with Ruby/mruby - RubyWorld Conference 2015
ย 
Ibm connected car is a big data problem for autotech council dec 13 2013 jo...
Ibm connected car is a big data problem for autotech council dec 13 2013   jo...Ibm connected car is a big data problem for autotech council dec 13 2013   jo...
Ibm connected car is a big data problem for autotech council dec 13 2013 jo...
ย 

More from gjuljo

InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT ApplicationsInterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
gjuljo
ย 

More from gjuljo (20)

Azure deployments and ARM templates
Azure deployments and ARM templatesAzure deployments and ARM templates
Azure deployments and ARM templates
ย 
Azure Monitoring Overview
Azure Monitoring OverviewAzure Monitoring Overview
Azure Monitoring Overview
ย 
Going serverless with azure functions
Going serverless with azure functionsGoing serverless with azure functions
Going serverless with azure functions
ย 
Microsoft Azure Technical Overview
Microsoft Azure Technical OverviewMicrosoft Azure Technical Overview
Microsoft Azure Technical Overview
ย 
Chatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot FrameworkChatbot development workshop with the Microsoft Bot Framework
Chatbot development workshop with the Microsoft Bot Framework
ย 
Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016Bot Revolution lab at Codemotion Milan 2016
Bot Revolution lab at Codemotion Milan 2016
ย 
DevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft AzureDevOps in the Cloud with Microsoft Azure
DevOps in the Cloud with Microsoft Azure
ย 
Microservices Architecture: Labs
Microservices Architecture: LabsMicroservices Architecture: Labs
Microservices Architecture: Labs
ย 
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
Microservices Architectures: Become a Unicorn like Netflix, Twitter and HailoMicroservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
Microservices Architectures: Become a Unicorn like Netflix, Twitter and Hailo
ย 
IBM Business Connect 2015 - Bluemix Overview
IBM Business Connect 2015 - Bluemix OverviewIBM Business Connect 2015 - Bluemix Overview
IBM Business Connect 2015 - Bluemix Overview
ย 
FORUM PA 2015 - Microservices with IBM Bluemix
FORUM PA 2015 - Microservices with IBM BluemixFORUM PA 2015 - Microservices with IBM Bluemix
FORUM PA 2015 - Microservices with IBM Bluemix
ย 
IBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for HackathonsIBM Bluemix Introdution for Hackathons
IBM Bluemix Introdution for Hackathons
ย 
IBM Bluemix Hackathon Accelerator
IBM Bluemix Hackathon AcceleratorIBM Bluemix Hackathon Accelerator
IBM Bluemix Hackathon Accelerator
ย 
Codemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab TutorialCodemotion Rome 2015 Bluemix Lab Tutorial
Codemotion Rome 2015 Bluemix Lab Tutorial
ย 
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps ServicesCodemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
Codemotion Rome 2015 - Microservices with IBM Bluemix and DevOps Services
ย 
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
Hybrid Cloud with IBM Bluemix, Docker and Open StackHybrid Cloud with IBM Bluemix, Docker and Open Stack
Hybrid Cloud with IBM Bluemix, Docker and Open Stack
ย 
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT ApplicationsInterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
InterConnect2015 ICP3222 A MDD Approach to Agile Development of IoT Applications
ย 
IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015IBM Bluemix Tech Meetup 18-02-2015
IBM Bluemix Tech Meetup 18-02-2015
ย 
IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)
IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)
IBM Bluemix on the go - Giulio Santoli (Mobility Hackathon)
ย 
Codemotion Milano 2014 - IBM Keynote - Giulio Santoli
Codemotion Milano 2014 - IBM Keynote - Giulio SantoliCodemotion Milano 2014 - IBM Keynote - Giulio Santoli
Codemotion Milano 2014 - IBM Keynote - Giulio Santoli
ย 

Recently uploaded

+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
Health
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
9953056974 Low Rate Call Girls In Saket, Delhi NCR
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
anilsa9823
ย 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
mohitmore19
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
anilsa9823
ย 

Recently uploaded (20)

5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
ย 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
ย 
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธcall girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
call girls in Vaishali (Ghaziabad) ๐Ÿ” >เผ’8448380779 ๐Ÿ” genuine Escort Service ๐Ÿ”โœ”๏ธโœ”๏ธ
ย 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
ย 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
ย 
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )๐Ÿ” 9953056974๐Ÿ”(=)/CALL GIRLS SERVICE
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female serviceCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Badshah Nagar Lucknow best Female service
ย 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
ย 
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
Steps To Getting Up And Running Quickly With MyTimeClock Employee Scheduling ...
ย 
Optimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTVOptimizing AI for immediate response in Smart CCTV
Optimizing AI for immediate response in Smart CCTV
ย 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
ย 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
ย 
TECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service providerTECUNIQUE: Success Stories: IT Service provider
TECUNIQUE: Success Stories: IT Service provider
ย 
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธCALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online  โ˜‚๏ธ
CALL ON โžฅ8923113531 ๐Ÿ”Call Girls Kakori Lucknow best sexual service Online โ˜‚๏ธ
ย 
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS LiveVip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida โžก๏ธ Delhi โžก๏ธ 9999965857 No Advance 24HRS Live
ย 
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
Short Story: Unveiling the Reasoning Abilities of Large Language Models by Ke...
ย 
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
Tech Tuesday-Harness the Power of Effective Resource Planning with OnePlanโ€™s ...
ย 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
ย 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
ย 
How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
ย 

IBM Bluemix and the Internet of Things - Workshop

  • 1. 1 POLITECNICO DI BARI April 28-29, 2015 Bari IBM Bluemix and the Internet of Things Giulio Santoli (@gjuljo) ibm.biz/Bluemix2015
  • 2. 2 ยฉ 2015 IBM Corporation A new economic paradigm...
  • 3. 3 ยฉ 2015 IBM Corporation Jeremy Rifkin: the Third Industrial Revolution Herbie Airbus Phantom Eye
  • 4. 4 ยฉ 2015 IBM Corporation Hype cycle for emerging technologies 2014 Internet of Things is here!
  • 5. 5 ยฉ 2015 IBM Corporation EveryTHING is connected My tells my that the is over My tells my to open the garage and start my My tells my that an intruder is entred A tells my to tell my that a arrived
  • 6. 6 ยฉ 2015 IBM Corporation Internet of Things: Many different technologies
  • 7. 7 ยฉ 2015 IBM Corporation MQTT, a messaging protocol for IoT Open (standard, 40+ client implementations) Lightweight (minimal overhead, efficient format, tiny clients) Reliable (QoS for reliability in unrealiable neworks) Simple (43-pages specification, connect/publish/subscribe) Late 90s Aug 2010 Nov 2011 Sep 2014 Invented by and Published by Eclipse M2m Standard (v. 3.1.1)
  • 8. 8 ยฉ 2015 IBM Corporation MQTT v.s. HTTP
  • 9. 9 ยฉ 2015 IBM Corporation MQTT: publis/subscribe Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 10. 10 ยฉ 2015 IBM Corporation MQTT: payload agnostic Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 11. 11 ยฉ 2015 IBM Corporation MQTT: wildcard subscriptions Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 12. 12 ยฉ 2015 IBM Corporation MQTT: quality of service Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 13. 13 ยฉ 2015 IBM Corporation MQTT: retained message for last value caching Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 14. 14 ยฉ 2015 IBM Corporation MQTT: cleanSession for session state Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 15. 15 ยฉ 2015 IBM Corporation MQTT: last will and testament Thanks to Bryan Boyd (http://www.slideshare.net/BryanBoyd/mqtt-austin-api)
  • 16. 16 ยฉ 2015 IBM Corporation MQTT Brokers Appliance Cloud Open Source โ€ข IBM Message Sight โ€ข IBM IoT Foundation โ€ข HiveMQ โ€ข Eurotech EDC โ€ข Litmus Loop โ€ข ... โ€ข Mosquitto (C) โ€ข Mosca (NodeJS) โ€ข Moquette (Java) โ€ข RSMB (C) โ€ข ...Up & running in <30 minutes 1 rack = 273M msg/sec 21M concurrent connections DMZ-ready, FIPS 140-2 deny-based access control http://mosquitto.org http://www.mosca.io https://eclipse.org/paho
  • 17. 17 ยฉ 2015 IBM Corporation IBM MessageSight Virtual Appliance https://developer.ibm.com/messaging/messagesight
  • 18. 18 ยฉ 2015 IBM Corporation Example: simple moquitto > mosquitto -v > mosquitto_sub -d -t hello/world > mosquitto_pub -d -t hello/world -m "Hello, MQTT. This is my first message." > mosquitto_sub -d -t hello/+ > mosquitto_pub -d -t hello/aaa -m "Hello, MQTT. This is my first message." > mosquitto_pub -d -t hello/bbb -m "Hello, MQTT. This is my first message."
  • 19. 19 ยฉ 2015 IBM Corporation Example: node.js & mosquitto mosquitto-server.js mosquitto-client.js
  • 20. 20 ยฉ 2015 IBM Corporation Example: Eclipse Paho MosquittoClient.java
  • 21. 21 ยฉ 2015 IBM Corporation > mosquitto_passwd -c mypasswords.txt sender > mosquitto_passwd mypasswords.txt receiver Example: moquitto with configuration > mosquitto -v -c mymosquitto.conf > mosquitto_sub -d -t hello/world -u receiver -P receiver > mosquitto_pub -d -t hello/world -u sender -P sender -m "Hello message" โ€ฆ password_file mypasswords.txt โ€ฆ mymosquitto.conf sender:$6$25Z4WgbWINtzGhC7$Ro78KKiitIjMJ YcWL88OJC/6gQhXYVc5eduomTwzvUC2Ictax/r 3X9c8S4CW3f5ZhPwmRKkaXJNOGWBz84nGB Q== receiver:$6$ceVsPkVtifa5+ITe$7vpPSJZTWc6W 6EnUMbHyinXelp7ziv+MHbBasu5ffaZ+ke7LU8gg jC34okcPOAHFTOSKCmVhxZMmAC5SbOaBsA == mypassword.txt
  • 22. 22 ยฉ 2015 IBM Corporation IBM Internet of Things Cloud IBM BluemixIBM IoT Foundation + =
  • 23. 23 ยฉ 2015 IBM Corporation IoT Foundation: Apps, Devices and APIs Devices IBM IoT Foundation Apps PUBLISH RECEIVE events commands PUBLISH commands REGISTER devices GENERATE API keys HTTP HTTP RECEIVE events (and services) MQTT MQTT
  • 24. 24 ยฉ 2015 IBM Corporation IoT Foundation: MQTT and Apps https://developer.ibm.com/iot/recipes/improvise-application-development username ๏ƒ  <key> password ๏ƒ  <token> clientid ๏ƒ  a:<orgid>:<app-id> publishes ๏ƒ  iot-2/type/<type-id>/id/<device-id>/cmd/<cmd-id>/fmt/<format-id> subscribes ๏ƒ  iot-2/type/<type-id>/id/<device-id>/evt/<event-id>/fmt/<format-id> Apps & Services key: a-myorg-hketyuionf token: AB3ur51jL+3awe0kl Example tcp://<org-id>.messaging.internetofthings.ibmcloud.com:1883 ssl://<org-id>.messaging.internetofthings.ibmcloud.com:8883 MQTT Host
  • 25. 25 ยฉ 2015 IBM Corporation IoT Foundation: Devices Devices https://developer.ibm.com/iot/recipes/improvise-registered-devices https://developer.ibm.com/iot/recipes/improvise-commands username ๏ƒ  use-token-auth password ๏ƒ  <auth-token> clientid ๏ƒ  d:<orgid>:<type-id>:<divice-id> publishes ๏ƒ  iot-2/evt/<event-id>/fmt/<format> subscribes ๏ƒ  iot-2/cmd/<cmd-type>/fmt/<format-id> payload ๏ƒ  {"d": {"name1": "value1", "name2": intvalue } } org=myorg type=mydevicetype id=mydeviceid auth-method=token auth-token=Gh3e(EA998fart4 Example
  • 26. 26 ยฉ 2015 IBM Corporation IoT Foundation: REST APIs View an organization (GET): https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id> List all devices (GET) / Registr a device (POST): https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id>/devices Historical data for a device (GET): https://internetofthings.ibmcloud.com/api/v0001/historian/<org-id>/<type-id>/<id>?filter REST API Examples https://developer.ibm.com/iot/recipes/api-documentation curl --user "<key>:<token>" https://internetofthings.ibmcloud.com/api/v0001/organizations/<org-id>/devices Example: get all devices
  • 27. 27 ยฉ 2015 IBM Corporation IoT Foundation: MQTT Starfighter http://m2m.demos.ibm.com/collaboration.html#starfighter https://hub.jazz.net/project/spirit/MQTT%20Starfighter%20Server/overview
  • 28. 28 ยฉ 2015 IBM Corporation IBM Connected Car http://m2m.demos.ibm.com/connectedCar.html#connectedCar http://tiny.cc/ws0zpx
  • 29. 29 ยฉ 2015 IBM Corporation IBM Connected Car: some more pictures
  • 30. 30 ยฉ 2015 IBM Corporation IoT Foundation: Quick Start https://quickstart.internetofthings.ibmcloud.com https://github.com/ibm-messaging/iot-arduino
  • 31. 31 ยฉ 2015 IBM Corporation Example: moquitto & node.js clients > c:bluemixiot>echo {"d":{"temperature": 33 }} 2>&1 | mosquitto_pub -d -h quickstart.messaging.internetofthings.ibmcloud.com -i "d:quickstart:example:aa00bb11cc88" -q 0 -t "iot-2/evt/status/fmt/json" -l quickstart.js
  • 32. 32 ยฉ 2015 IBM Corporation Example: java Paho client Quickstart.java
  • 33. 33 ยฉ 2015 IBM Corporation IoT Foundation Organization
  • 34. 34 ยฉ 2015 IBM Corporation Example: app (subscriber) & device (publisher) > mosquitto_sub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883 -i "a:org:myapp" -u "key" -P "token" -t "iot-2/type/+/id/+/evt/+/fmt/json" > mosquitto_pub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883 -i "d:org:type:id" -u "use-token-auth" -P "auth-token" -q 0 -t "iot-2/evt/status/fmt/json" -m "hello" org=myorg type=mydevicetype id=mydeviceid auth-method=token auth-token=Gj6e(EA998fart4 device key: a-myorg-hketyuionf token: AB3ddr51jL+3ape0kl app publish subscribedevice app
  • 35. 35 ยฉ 2015 IBM Corporation Example: device (subscriber) & app (publisher) > mosquitto_sub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883 -i "d:org:type:id" -u "use-token-auth" -P "auth-token" -t "iot-2/cmd/reboot/fmt/json" > mosquitto_pub -d -h org.messaging.internetofthings.ibmcloud.com -p 1883 -i "a:org:myapp" -u "key" -P "token" -t "iot-2/type/type/id/id/cmd/reboot/fmt/json" -m "test123" org=myorg type=mydevicetype id=mydeviceid auth-method=token auth-token=Gj6e(EA118fart4 device key: a-myorg-hjetyuionf token: AB3ffr51jL+3ape0kl app publishsubscribedevice app
  • 36. 36 ยฉ 2015 IBM Corporation Example: Visualization Application https://github.com/ibm-messaging/iot-visualization
  • 37. 37 ยฉ 2015 IBM Corporation Example: node.js registered client registered.js
  • 38. 38 ยฉ 2015 IBM Corporation Example: java Paho registered client Registered.java
  • 39. 39 ยฉ 2015 IBM Corporation Writing IoT-enabled applications is challenging Spaghetti-code is around the corner, debugging is a hell
  • 40. 40 ยฉ 2015 IBM Corporation UML is dead, long live to UML IBM Rhapsody for Model-Driven Development in C, C++, Java and Ada
  • 41. 41 ยฉ 2015 IBM Corporation IBM Rhapsody and Arduino Uno Demo
  • 42. 42 ยฉ 2015 IBM Corporation Connected Train Demo โ€“ Overview IBM Bluemix IBM IoT Foundation IBM Rhapsody Raspberry Pi HTTP/HTTPS MQTT IR
  • 43. 43 ยฉ 2015 IBM Corporation Raspberry-Pi Setup & Configuration 43
  • 44. 44 ยฉ 2015 IBM Corporation IBM Rhapsody Developer http://www.ibm.com/developerworks/downloads/r/rhapsodydeveloper
  • 45. 45 ยฉ 2015 IBM Corporation IBM Redbooks http://www.redbooks.ibm.com Redpaper: MQTT and Arduino Devices http://www.redbooks.ibm.com/abstracts/redp4929.html?Open
  • 46. 46 ยฉ 2015 IBM Corporation Jeremy Rifkin
  • 47. 47 ยฉ 2015 IBM Corporation Bluemix works. Start a free trial today ibm.biz/Bluemix2015

Editor's Notes

  1. 1st Industrial Revolution communication = steam power printing and the telegraph energy = coal and steam (vapore) mobility = locomotive and railroad 2nd Indutrial Revolution communication = centralized electicity and telephone, later radio and television energy = oil mobility = internal combustion engine 3rd Industrial Revolution communication = internet (three internets in one, including the internet of things) energy = renewable energy and distributed renewable energy mobility = automated vehicles, logistics and automated drones
  2. http://mosquitto.org/ http://www.mosca.io/
  3. http://www.redbooks.ibm.com