Versions Compared

Key

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

Gliffy
imageAttachmentIdatt264339461
baseUrlhttps://dustcloud.atlassian.net/wiki
namebluemix_gateway Copy
migration1
diagramAttachmentIdatt263913482
containerId110792825


...

Info
titleGoal


Excerpt

Each group attaches its manager to the IBM Watson IoT Platform, forming a coordinated canopy network!

Table of Contents

The Setup

You will build the following setup, in which networks and applications are coordinated through the IBM Watson IoT Platform running on IBM Bluemix.

Gliffy
imageAttachmentIdatt110795228
namebluemix_setup
diagramAttachmentIdatt110795224

...

How the canopy network, which is already deployed in your building works.


Table of Contents

Deployment

The canopy network serves as a backbone for the low-power wireless mesh network you are deploying throughout your building. It consists of a number of SmartMesh IP managers connected to raspberry Pi single board computers, and a some DC9018 boars deployed on different floors of your building.

Image Added

Image Added

different DC2274+raspberry Pi gateways are installed on different floors a number of DC9018 provide coverage to the entire floors


Info

The low-power wireless network in each floor is independent. They do, however, share the same netid. This means your mote can attach any of the networks.

Networking Architecture of the Canopy Network

The following diagram shows the networking architecture of the canopy network: each gateway device is connected to the IBM Cloud, to which your Node-RED instance connects.

Gliffy
imageAttachmentIdatt110795228
namebluemix_setup
diagramAttachmentIdatt110795224


...

Tip
titleCrash Course 33.23.1 (given by your instructor)

Why call it a "canopy" network?

Building your Gateway

Ask away until you have a good understanding of how the canopy network is put together.

Software Architecture of a Gateway

This diagram shows what you will run runs on your a 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.

...

Tip
titleWhat just happened?

Your manager is now connected to the IBM Watson IoT Platform instance! This allows you to interact with your manager and motes entirely from there!

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 will see a topology similar to the following:

Image Removed

See Motes in the Watson IoT Web Interface

...

Visualizing the Network Topology

stars.solsystem.io is a website which shows the topology of the canopy network

Image Added


Tip
titleCrash Course 33.3.2 (given by your instructor)

Walk around your building with a mote. On each floor there is a canopy network, switch on your mote and verify:

  • that it successfully joins network (look at the LEDs)
  • that it appears on stars.solsystem.io


Note
iconfalse
titleNavigation

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
excerptTypesimple
cqllabel = "unplugfest"