0626 2014 01_toronto-smac meetup_io_t

79
#TOSMAC Toronto SMAC Meetup – Welcome! Rapidly developing Internet of Things (IoT) applications

description

Rapidly Developing Internet of Things (IoT) Applications. Demos include using the Raspberry Pi, Beacons, the Oculus Rift, and other sensors. Apps were developed using Bluemix services.

Transcript of 0626 2014 01_toronto-smac meetup_io_t

Page 1: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Toronto SMAC Meetup – Welcome!Rapidly developing Internet of Things (IoT) applications

Page 2: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation2

Page 3: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Toronto SMAC Team

| © 2014 IBM Corporation3

Raul Chong Lila Adamec Grant Hutchison Grace BarkerLuiz Aoqui

Page 4: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Let’s be social!Start tweeting with: #TOSMAC

| © 2014 IBM Corporation 4

Page 5: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation5

Page 6: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Why this Meetup?

• SMAC - A holistic approach• Build a strong community (eg: Like BigDataUniversity.com)• Encourage collaboration & partnership• Showcase SMAC technology• Product development feedback + sponsored users

| © 2014 IBM Corporation6

Page 7: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Key areas: SMAC & Cognitive ComputingInnovate

how we engage, make decisions and workOptimize

our IT infrastructure, data and processes

Line of Business LeadersMarketing Leaders

Sales LeadersFinance & HR Leaders

Technology LeadersChief Information Officers

Technology ArchitectsDev & Ops Leaders Drives InvestmentDrives Investment

Drives NeedDrives Need

Page 8: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Who is this meetup for?

• SMAC enthusiasts • Mitigating diverse audience challenge:

– Guest presentation (Proposals are welcomed!)– High-level intro: For everyone– Technical presentation with story telling and demos:

• Story telling: For everyone• Technical demo: Specific audience (but not in-depth)

– Separate workshops: Technical deep dive, hands-on

| © 2014 IBM Corporation8

Page 9: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

IBM SMAC and Global Entrepreneur Programs

| © 2014 IBM Corporation 9

Page 10: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

IBM SMAC Program: Community Outreach

10

Awareness (1 hour) Intro presentation at events

Training (1 day) Workshops- Using your own db/app

Support(1 week) Play with the system on the Cloud

- Free IBM Cloud access and mentorship

Adoption (1 year) Continuous development and mentorship

Page 11: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

IBM Global Entrepreneur ProgramBenefits (Program duration: 3 years)•Free access to some IBM software•Project resource managers to assist with product development•40 IBM innovation centers WW to connect with tech resources•IBM mentor network: Investors, industry influencers, academics and tech experts•Smartcamp events: Network with investors and industry leaders WW

– Selected companies are offered 12 weeks of IBM mentorship– IBM SmartCamp winners have raised over $115 million in venture capital funding

Requirements•Business must be an early stage company, less than 5 years old•Privately held

Page 12: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

About tonight’s meetup• Brazilian students – Big Data University interns• Alpha version of apps/projects• Articles will be available related to apps/projects

Page 13: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation13

Page 14: 0626 2014 01_toronto-smac meetup_io_t

© 2014 IBM Corporation

Internet of ThingsCloud

Internet of ThingsCloud

IBM BlueMix andThe Internet of ThingsRob Peeren, Consulting IoT Specialist, IBM [email protected]@robobob

June 26, 2014

Page 15: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

The Internet of Things is a Big Data Opportunity

Billions of smart devices

Interconnecting these devices creates an Internet of Things

Insights from real-time device big data delivers intelligence to power a Smarter Planet

Page 16: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

What’s the problem with the way companies have traditionally approached device connectivity?

SCADA Controller(Data Jail)

Data Sources

ERPSystems

BillingSystems

ExternalPartners

AssetManagement

Systems

AuditSystems

Closed System OutsideConsumers

Page 17: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

The CloudEnables many opportunities for IoT

• Access to services that were never available before

• Ability to bring and access the data that you need

• Launch new initiatives to directly engage your clients

Page 18: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Cloud Foundry

Founding Members:

Cloud Foundry is the industry’s Open PaaS and provides a choice of clouds, frameworks and application services

Page 19: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

ANNOUNCINGA New Development Tool Built on Cloud Foundary for Composable Business: IBM BlueMix

• Run apps in any language• Built on open standards • Provides integration services to

systems of record• Designed for mobile• Provides DevOps services for

integrated dev experience

Beta

Page 20: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

IBM BlueMix Services

MobileData api + app management

+ quality assurance

Big Data & AnalyticsFrom in-memory data store to

Hadoop analytics

DevOps ServicesIntegrated developer experience for

mobile and cloud apps

Integration ServicesAccess to systems of records and

enterprise data

Internet of ThingsSpanning home metering

to mass metering

Page 21: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Node-RED: Orchestration IoT without coding

• Visual tool for wiring the Internet of Things

• Deploy with just one click

• Simple API to create nodes with lines of JavaScript or HTML

• Share flows in JSON format

• Based on Node.js for event-driven, non-blocking I/O

Download from http://github.com/node-red

node-red

Page 22: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

IBMIBM

Make the Data Available through APIs

Real-timeAnalytics

Internet of Things CloudInternet of Things Cloud

ManagedAPIs

Internet Scale Messaging

Partners Customers

Developers

Employees

More Things

Page 23: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Every Great Innovation Runs

Through aDeveloper’s

Hands

Page 24: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Use APIs to drive new business models and innovation

Driver & vehicle monitoring

News

Fault analytics

Service and warranty data

“Pay as you drive”

Journey & GPS

Traffic and Weather data

Advanced diagnostics

Other cars

Mobile apps

API Mgmt

APIs

PartnerCenter

iSocialtWeb &

Charging stationFleet & trafficmanagement

Emergency services Vehicle insuranceprovider

Vehicle inspection station

GPS service provider

More Things

Petrol pump

Smart Home

Parking space

Drive thru Retail Dealers

Page 25: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

The Internet of Things needs Real-time Big Data Analytics• Ingest, analyze and act on massive volumes of streaming big

data in real-time

• Designed for real-time streaming analytics of unstructured information

• Scale-out architecture for massive linear scalability

• Sophisticated analytics with pre-built toolkits & accelerators

• Model & language designed for real-time analytics

• Analyzes unstructured information in native format

• Pre-integrated analysis and analytic model consistency

• Scales to petabytes of data

• Supports thousands of users

• Enables core data analysis with near linear processor scalability

• Distributed execution

• Efficient use of cores

• Automatic tuning

• Low latency

• Programmatically change topology at runtime

• Create new subscriptions

• Create new port properties

• Reusable analytics operators

• Combine groups of operators

• Customize with Java and C++

• Toolkits for geospatial, time series and complex events

• BigInsights, Netezza

• SPSS

• Vivisimo

• DataStage

• MessageSight… :)

Designed for Real-time Analytics

MassiveScale

IntegratedExtensible

High Speed

Dynamic

IBM InfoSphere Streams

Page 26: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

MessageSight and Streams enables amazing IoT solutions

Sensors tracking real-time location of cars

Primary Event zone

Secondary perimeter

Overview of car status

Real-time alerts personalized to each car

Car that had entered and now left danger zone

Page 27: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Demo

Page 28: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation28

Page 29: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance SystemRapidly Developing Internet of Things (IoT) Applications

| © 2014 IBM Corporation *

Page 30: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Scenario

| © 2014 IBM Corporation *

Page 31: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Scenario

| © 2014 IBM Corporation *

Page 32: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Architecture

| © 2014 IBM Corporation *

Page 33: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Raspberry Pi

| © 2014 IBM Corporation *

Page 34: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Raspberry Pi

| © 2014 IBM Corporation *

Page 35: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Cloudant

| © 2014 IBM Corporation *

Page 36: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Cloudant

| © 2014 IBM Corporation *

Page 37: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance System - Bluemix

| © 2014 IBM Corporation *

Page 38: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Live Demo

http://homeguard.mybluemix.net

| © 2014 IBM Corporation *

Page 39: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

DIY Home Surveillance SystemFuture developments

| © 2014 IBM Corporation *

● Motion detection;● Video recording and upload to cloudant;● Live streaming;● Web and android interface;

Page 40: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation40

Page 41: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Virtual Reality based learningRapidly Developing Internet of Things (IoT) Applications

| © 2014 IBM Corporation 41

Page 42: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Digital Game Based Learning (DGBL)Rapidly Developing Internet of Things (IoT) Applications

| © 2014 IBM Corporation 42

Use cases:- Flight Simulator- Military training- Education?

Page 43: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Virtual Reality Geography GameInfo & Demonstration

| © 2014 IBM Corporation 43

Page 44: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Integrating VR game with BluemixThe Architecture behind it

| © 2014 IBM Corporation 44

Web applicationGame ApplicationRunning locally

Internet

Page 45: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Demo

| © 2014 IBM Corporation 45

Page 46: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation46

Page 47: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Toronto SMAC Meetup

Attendance tracking system using Beacons

Rapidly Developing Internet of Things (IoT) Applications

| © 2014 IBM Corporation47

Page 48: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

| © 2014 IBM Corporation

1. What is an iBeacon?2. Attendance Tracking System Problems3. Solution using Beacons4. Demonstration5. Questions

2

Page 49: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

What is an iBeacon

| © 2014 IBM Corporation

- Apple trademark for location and proximity detection technology.

3

Page 50: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

What is an iBeacon

| © 2014 IBM Corporation

- Apple trademark for location and proximity detection technology.

How it works?

4

Page 51: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Contextual Applications

| © 2014 IBM Corporation5

Page 52: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Contextual Applications

| © 2014 IBM Corporation6

Page 53: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Attendance Tracking System

| © 2014 IBM Corporation7

Page 54: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Attendance Tracking System - Problem

| © 2014 IBM Corporation8

Page 55: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Attendance Tracking System - Problem

| © 2014 IBM Corporation

- Expensive systems- Reliability- Maybe losing the attendance card

9

Page 56: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Attendance Tracking System – Solution

+ +

| © 2014 IBM Corporation10

Page 57: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

What’s the idea?

| © 2014 IBM Corporation11

Page 58: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

How it works?

| © 2014 IBM Corporation12

Page 59: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Attendance tracking with system using Beacons

Rapidly Developing Internet of Things (IoT) Applications

| © 2014 IBM Corporation

Demonstration

13

Page 60: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

April 21, 2014| © 2014 IBM Corporation

Register Screen

Page 61: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

April 21, 2014| © 2014 IBM Corporation

Page 62: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

April 21, 2014| © 2014 IBM Corporation

Technologies used

• Estimote SDK • http://estimote.com/api/

• Mobile Cloud Service SDK for Android • http://mbaas-gettingstarted.ng.bluemix.net/android#mobile-data

• Node.js used with Mobile Cloud Application• https://www.ng.bluemix.net/docs/#starters/mobile/mobilecloud/nodejs

mobile.html#nodejsmobile

Page 63: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

April 21, 2014| © 2014 IBM Corporation

Page 64: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Inside the Code

| © 2014 IBM Corporation 13

Page 65: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 13

Page 66: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 13

Page 67: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 13

Page 68: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Inside the Code

| © 2014 IBM Corporation 14

Page 69: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 15

Page 70: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 16

Page 71: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 16

Page 72: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 19

Page 73: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 20

Page 74: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 17

Page 75: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

| © 2014 IBM Corporation 18

Page 76: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Demo

| © 2014 IBM Corporation 21

Page 77: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Agenda

• 6:00pm - 6:05pm: Registration, Welcome, Introductions• 6:05pm - 6:15pm: Recap from prior meetup events• 6:15pm – 6:40pm: Using Node-RED to rapidly create IoT apps• 6:40pm - 7:05pm: Raspberry-Pi: Home security system• 7:05pm - 7:30pm: Oculus Rift: Developing an Educational game• 7:30pm - 7:55pm: Beacons: Attendance Tracking System• 7:55pm - 8:30pm: Questions & Networking – Demo Tables

| © 2014 IBM Corporation77

Page 78: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Resources

| © 2014 IBM Corporation 78

bluemix.net

bluforcloud.com

ibm.com/isv/startup

bigdatauniversity.com

Page 79: 0626 2014 01_toronto-smac meetup_io_t

#TOSMAC

Thank you!Let’s network!

| © 2014 IBM Corporation 79