...
The Smart Building Canopy
The canopy network consist consists of a number of SmartMesh IP networks deployed throughout your building, all connect to the IBM Watson IoT platform.
...
Gliffy | ||||||
---|---|---|---|---|---|---|
|
...
Tip | ||
---|---|---|
| ||
Why call it a "canopy" network? |
Building your Gateway
Architecture
This diagram shows what you will run on your gateway
Gliffy | ||||||
---|---|---|---|---|---|---|
|
...
Start the JsonServer
From Part 1: Your First Standalone Network, write down the fourth serial port of your manager. This is your manager's API port (not CLI):
...
icon | false |
---|---|
title | Answer 33.2.1 |
Type the following command:
Code Block |
---|
C:\Users\Thomas\Desktop\smartmeshsdk-master\app\JsonServer>python JsonServer.py --serialport=<your manager's API serial port> |
Configure Node-RED
...
Start Node-RED on your local machine by typing
Code Block |
---|
node-red |
...
A new tab "gateway" appears
Note | ||
---|---|---|
| ||
If Node-RED complains that it doesn't know what the "Watson IoT" node, you didn't install that extension. Go back to Things to prepare before the session. |
...
title | What just happened? |
---|
...
Throughout the following labs you will:
- attach sensors to you mote
- deploy the mote in your building so it joins the canopy network
- create your own account on IBM Bluemix and start an Node-RED instance which runs continuously
- build a web interface using Node-RED
- interact with your mote(s) from your phone
Tip | ||
---|---|---|
| ||
Connecting to the Watson IoT instance. |
Visualizing the Network Topology
- Open https://makeamesh.eu-gb.mybluemix.net/, i.e. the web front-end of the "makeamesh" server running on IBM Bluemix
- Once all groups have connected to the IBM Watson IoT Platform, you You will see a topology similar to the following:
See Motes in the Watson IoT Web Interface
...