rapid iot application development with ibm bluemix - mikko poutanen

11
Rapid IoT Application Development with IBM Bluemix MIKKO POUTANEN

Upload: withthebest

Post on 16-Apr-2017

136 views

Category:

Technology


0 download

TRANSCRIPT

Page 1: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

Rapid IoT Application Development with IBM BluemixMIKKO POUTANEN

Page 2: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

Introduction

Mikko Poutanen / Analytics Trainee / Etteplan LinkedIn: https://fi.linkedin.com/in/mikko-poutanen-460444117 Github: https://github.com/migiz [email protected] Etteplan Open LoRa Network: http://lora.etteplan.io/

Page 3: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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.

Page 4: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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.

Page 5: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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.

Page 6: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

Watson IoT Architecture

Page 7: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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.

Page 8: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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.

Page 9: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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:

Page 10: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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)

Page 11: Rapid IoT Application Development with IBM Bluemix - Mikko Poutanen

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