lora/lrsc bridge for bluemix and watson iot plattform some changes are not yet saved
TRANSCRIPT
Secure WebSocket bridge for Bluemix and Watson IoTF
Markus van Kempen Executive Architect & Venture Capitalist E: [email protected] T: @markusvankempen
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
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
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
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
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", " ....
12
Code: https://github.com/markusvankempen/ Video: https://www.youtube.com/channel/UCwkBLJru8LW2FQ4l1qcYE9g LoRa/LRSC information: https://lrsc.ch/ssc/index.html
References
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