node-red - the austrian internet of things network · runs on node.js can exploit the 29,000+...

17
Node-RED A Visual Tool for building the Internet of Things @joerg_wende

Upload: others

Post on 20-May-2020

10 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Node-RED A Visual Tool for building the Internet of Things @joerg_wende

Page 2: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide
Page 3: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

From Ideas to Products

http://theconversation.com/amazon-dash-is-a-first-step-towards-an-

internet-of-things-that-is-actually-useful-39711

Page 4: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Rapid Prototyping

Start small

Fail fast

Fail save

Start again

http://de.m.wikipedia.org/wiki/Stehaufm%C3%A4nnchen#/media/Datei:Stehauffigur_19_Jh.jpg

Page 5: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide
Page 6: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide
Page 7: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Node-Red

Page 8: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Why Node-RED

We have

Processors for editing Words

Spreadsheets for working with Numbers

Powerpoint for arranging Pictures and Ideas

But we don't have a simple tool for co-ordinating Events

Business events – status of processes, alerts from machines

Social events – tweets, alerts,

Internet of Things events – temperatures, weather, lights, doors

Something that anyone can use to build situational applications

“Wouldn't it be neat if, when x happens it can tell me...

… and alert Fred...

… and kick off the xyz process...

… or just go ping !”

Node-RED can fill that gap.

Page 9: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Wiring the Internet of Things

App Developers

Rapid prototyping

Easy to integrate with existing tools and applications

Easy to extend with richer/bespoke functionality

New developers & education

Short learning curve

Easy to use

Low barrier to entry

Community Developers

Open standards

Flexibility

Ability to share

Hackers

Runs on Raspberry Pi, Beaglebone, other low power devices.

Works with Arduino, etc

Page 10: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Nodes

Node-RED is already capable of connecting to many things, including:

• Local services:

– Network sockets

– Files

– Serial ports

– Execute local commands

– Raspbery Pi / BeagleboneBlack GPIO pins

– MongoDB

– Redis

• Online services:

– Twitter

– IRC

– XMPP Chat

– RSS/ATOM

– Email

• Processing functions:

– User-defined functions, written in JavaScript

– Sentiment analysis

– XML to JavaScript handling

Page 11: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

More Nodes

Page 12: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Architecture

Runs on node.js

Can exploit the 29,000+ open-source modules available via npm to add new functionality...

Node-RED nodes provide integration with other systems. Each node is defined in their own

pair of JavaScript and html files using a simple API and are dynamically loaded by the

engine.

Web interface can be secured or run headless.

Page 14: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Run local …

The lightweight runtime is ideal to

run on Edge-of-Network devices,

such as the BeagleBoneBlack

seen here.

The node library makes it easy to

create simply, effective

applications.

Here, the board lights LEDs in

response to the sentiment of a

Twitter stream.

Page 15: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

… or in the Cloud

http://www.bluemix.net/

Page 16: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Demo

Page 17: Node-RED - The Austrian Internet of Things Network · Runs on node.js Can exploit the 29,000+ open-source modules available via npm to add new functionality... Node-RED nodes provide

Questions ?