Skip to content

Commit cb453cd

Browse files
committed
Create Watson IoT Device
1 parent 4531928 commit cb453cd

File tree

4 files changed

+11
-3
lines changed

4 files changed

+11
-3
lines changed
61.4 KB
Loading
84.2 KB
Loading

part3/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,10 +163,18 @@ Import this solution [flow](flows/quickstart-test-flow.json)
163163

164164
In this section, we will build an application in the IBM Cloud to receive sensor data from our mesh network and remotely control the LED.
165165

166+
First, we need to create an Internet of Things Platform Starter. Follow all of the steps documented in the IBM Developer Tutorial - [Create an Internet of Things Platform Starter application](https://developer.ibm.com/tutorials/how-to-create-an-internet-of-things-platform-starter-application/) and return to this page.
167+
166168
## Section 5 - Send sensor data across the mesh to the Watson IoT Platform
167169

168170
### Create a Device Instructions
169171

172+
From the IBM Cloud Dashboard, search for and launch the Watson IoT Platform instance that was just created.
173+
![Watson IoT Platform Service](/images/IBMCloud-WatsonIoTPlatform-Service.png)
174+
175+
Create a Device Type named raspi and a DeviceID named RaspiMeshNode1.
176+
![Watson IoT Platform Device](/images/IBMCloud-WatsonIoTPlatform-Device.png)
177+
170178
### Create a Node-RED Flow in the IBM Cloud application
171179

172180
While we're still working in IBM Cloud, let's launch your Internet of Things Starter Application Node-RED flow. Create a flow that will subscribe to the Raspberry Pi Mesh Node sensor MQTT data. As this temperature data arrives, the flow will determine the temperature thresholds and send a command back to the mesh node to change the LED.

part3/flows/send-dht-data-2-cloud.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@
210210
"type": "wiotp-credentials",
211211
"z": "",
212212
"name": "",
213-
"org": "5yrusp",
214-
"serverName": "5yrusp.messaging.internetofthings.ibmcloud.com",
213+
"org": "abcdef",
214+
"serverName": "abcdef.messaging.internetofthings.ibmcloud.com",
215215
"devType": "raspi",
216216
"devId": "RaspiMeshNode1",
217217
"keepalive": "60",
218218
"cleansession": true,
219219
"tls": "",
220220
"usetls": false
221221
}
222-
]
222+
]

0 commit comments

Comments
 (0)