Top Banner
Secure WebSocket bridge for Bluemix and Watson IoTF Markus van Kempen Executive Architect & Venture Capitalist E: [email protected] T: @markusvankempen
14

LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

Apr 16, 2017

Download

Internet

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: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

Secure WebSocket bridge for Bluemix and Watson IoTF

Markus van Kempen Executive Architect & Venture Capitalist E: [email protected] T: @markusvankempen

Page 2: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

2

Concept

Page 3: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

3

-  Connect devices and Sensors via LoRa/LRSC -  Connect to a Secure-WebSocket Data source -  Send the data into Watson IoT -  Create devices automatically based on the discovered sensors in WIoTP -  Use Node-RED for orchestration -  Monitor connections and messaging -  Turn the WebSocket/LRSC message into MQTT messages

Challenge

Page 4: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

4

http://www.research.ibm.com/labs/zurich/ics/lrsc/

Page 5: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

5

-  Connect to a Secure-WebSocket Data source using certificates/private keys

-  Be able to create IoT devices on the fly when discovered on the LRSC/LoRa network

-  Monitor the connections and messages

Code functions

Page 6: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

6

LoRa/ LRSC Bridge to WIoT

GW

GW

Sensors devices

Network

AppServ

AppServ

IoT Bridge

LRSC Sensor and LoRa Network

WS<>MQTT

Creates GW & Devices

Page 7: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

7

LRSC Bridge

-  Monitoring Connection

-  Transforms LRSC into MQTT messages -  Creates LRSC sensors as devices in WIoTP

-  Can receive commands from WIoTP Commands like: ping , info etc

Page 8: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

8

Creates new Devices/Sensors base on LRSC network data/events

Page 9: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

9

Sendind/receiing CMD via mqtt to the LRSC Bridge

Page 10: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

10

Sending command/information to the bridge: like ping or info Note: the bridge will send a mqtt message back as confirmation.

{ "topic": "iot-2/type/LRSC-GWTYPE/id/LRSC-BRIDGE/evt/confirmation/fmt/json", "payload": { "d": { "myName": "info", "myInfo": { "myName": "LRSC 2 IoT BRDGE information", "ts": 1472741011025, "mqttIsActive": true, "lrscIsActive": true, "mqttConnect": 1, "lrscConnect": 1, "mqttDisconnect": 0, "lrscDisconnect": 0, "mqttReconnect": 0, "lrscReconnect": 0, "mqttError": 0, "lrscError": 0, "lrsc2IoTGwId:": "LRSC-BRIDGE", "mqttInMsgCnt": 0, "lrscInMsgCnt": 1, "mqttOutMsgCnt": 1, "lrscOutMsgCnt": 0, "version": "mvk20160818", "QoS": 1, "myStatus": "", "lastLrscMsg": { "d": { "msgtag": 0, "role": "art", "eui": "DE-DE-AA-AA-00-00-00-88", "version": "3.3.556D7240", "name": "dedeaaaa00000088", "ts": 1472571818705 } } }, "myTrigger": "mqtt", "ts": 1472741011025, "myIP": "viaMqTT" } }, "deviceId": "LRSC-BRIDGE", "deviceType": "LRSC-GWTYPE", " ....

Page 11: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

11

Dashboard the Data

Page 12: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

12

Code: https://github.com/markusvankempen/ Video: https://www.youtube.com/channel/UCwkBLJru8LW2FQ4l1qcYE9g LoRa/LRSC information: https://lrsc.ch/ssc/index.html

References

Page 13: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.

13

Markus van Kempen Executive Architect & Venture Capitalist IBM Corporate Strategy Innovating with People and Technology email: mvk@ ca.ibm.com Twitter: @markusvankempen HashtagJ: #MVK

Page 14: LoRa/LRSC Bridge for Bluemix and Watson IoT Plattform Some changes are not yet saved.