3. Agenda
The IBM Bluemix platform provides many tools and services for a modern
IoT developer. I will showcase an application with simulated connected
cars displayed on a map. I will also demo the geospatial analytics service
and a simple node-red app for analytics.
4. IBM Bluemix
Bluemix is an open-standard, cloud-based platform for building, managing,
and running applications of all types (iot, web, mobile, big data, cognitive, new
smart devices, and so on).
Bluemix is an implementation of IBM's Open Cloud Architecture based on
Cloud Foundry, an open source Platform as a Service (PaaS). Bluemix delivers
enterprise-level services that can easily integrate with your cloud applications
without you needing to know how to install or configure them.
For developers, Bluemix further optimizes the time you spend creating cloud
application. You no longer have to be concerned about installing software or
having to deal with virtual machine images or hardware. With a few clicks or
keystrokes, you can provision instances of your applications with the necessary
services to support them. This streamlining translates countless hours of
setting up, configuring, and troubleshooting into time spent rapidly innovating
and reacting to never-ending requirement changes.
5. Watson IoT Platform
Watson IoT Platform provides powerful application access to IoT devices
and data to help you rapidly compose analytics applications, visualization
dashboards, and mobile IoT apps.
With it you can perform powerful device management operations, and
store and access device data, connect a wide variety of devices and
gateway devices. Watson IoT Platform provides secure communication to
and from your devices by using MQTT and TLS.
7. Node-Red
Node-RED is a visual tool for wiring the internet of things – connecting
hardware devices, APIs and online services in a new and interesting way.
Node-RED provides a browser-based flow editor that makes it easy to wire
together flows using the wide range nodes in the palette. Flows can be
then deployed to the runtime in a single-click.
The light-weight runtime is built on Node.js, taking full advantage of its
event-driven, non-blocking model. This makes it ideal to run at the edge of
the network on low-cost hardware such as the Raspberry Pi as well as in
the cloud.
8. Demo Introduction
The Connected Vehicle application we will configure and deploy has three
components:
Node.js vehicle simulator
HTML5 Map app
HTML5 Tester app
These three components use the IBM Internet of Things Foundation (IoT
Foundation) for real-time publish/subscribe messaging with the MQTT
protocol. The simulated vehicles publish telemetry data frequently (two
messages per second) and subscribe to a command topic whereby they
accept commands (for example, "set speed to 60") from the tester
application.
9. The Map app subscribes to the vehicle telemetry topic to display position
and status in real time. The Tester app enables you to publish control
commands to the vehicles and notifications to the Map app.
This overview diagram shows the relationships among the application's
components:
10. Prerequisites
Register on IBM Bluemix at https://bluemix.net
Cloud Foundry command line: https://github.com/cloudfoundry/cli
Get the source code from https://hub.jazz.net/project/mpoutanen/iot-
vehicle-geospatial-starter-kit/overview (provided by IBM)
11. Demo time!
Step 1. Create an Internet of Things service instance
Step 2. Configure the IoT Foundation organization
Step 3. Download, configure and deploy the starter kit
Step 4. Create and configure Geospatial Analytics
Step 5. Use the tester app
Step 6. Create a Node-RED analytics application