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


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.

on IBM BluemixWatson IoT Platformalready runningserves as an MQTT broker to which gateways and applications connect
makeameshalready runninga Python program which interacts with the gateways to maintain an overall view of the topology
Node-RED instancealready runningused to monitor the status of the platform (we will not work with it)
next to the managergatewayyou will launch it in Part 2the software you run to connect to Watson IoT
anywhere on the planetapplicationyou will launch it in Part 4the software you run to interact with your devices and do interesting things


Why call it a "canopy" network?

Building your Gateway

Architecture

This diagram shows what you will run on your gateway

JsonServerA Python program which connects to the manager's serial API port, and offers an HTTP JSON interface
Node-REDBridges between the IBM Watson IoT Platform and the JsonServer HTTP API

Start the JsonServer

Configure Node-RED

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

See Motes in the Watson IoT Web Interface