Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
imageAttachmentIdatt110795228
namebluemix_setup
diagramAttachmentIdatt110795224

...

Tip
titleCrash Course 33.2.1 (given by your instructor)

Why call it a "canopy" network?

Building your Gateway

Architecture

This diagram shows what you will run on your gateway

Gliffy
imageAttachmentIdatt110795674
namebluemix_gateway
diagramAttachmentIdatt110795670

...

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):

...

iconfalse
titleAnswer 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

Image Removed

...

A new tab "gateway" appears

Note
titleI get an error!

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.

...

titleWhat 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
titleCrash Course 1 (given by your instructor)

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

...