Rapid IoT
prototyping with Node-RED
1st IoT Sarajevo Meetup Iban Tanović - 29.03.2017.
What is IoT?
• Wikipedia
• The Internet of things (IoT) is the inter-networking of physical devices,
vehicles (also referred to as "connected devices" and "smart devices"),
buildings, and other items—embedded with electronics, software, sensors,
actuators, and network connectivity that enable these objects to collect and
exchange data.
• IEEE
• An IoT is a network that connects uniquely identifiable "Things" to the
Internet. The "Things“ have sensing/actuation and potential programmability
capabilities. Through the exploitation of unique identification and sensing,
information about the "Thing" can be collected and the state of the "Thing"
can be changed from anywhere, anytime, by anything.
1st IoT Sarajevo Meetup 2
What is Node-RED?
• Node-RED is a programming
tool for wiring together
hardware devices, APIs and
online services in new and
interesting ways.
• It provides a browser-based
editor that makes it easy to
wire together flows using the
wide range of nodes in the
palette that can be deployed to
its runtime in a single-click.
• Commonly used for rapid
prototyping of IoT solutions
1st IoT Sarajevo Meetup 3
Node-RED facts
• Side-project of IBM’s Emerging Technology Services group
• Flow based and easy to use
• Runs locally, on a device, in the cloud
• Preinstalled on Raspbian
1st IoT Sarajevo Meetup 4
Node-RED facts - popularity
1st IoT Sarajevo Meetup 5
Demo 1: Motion detection – Home Security
1st IoT Sarajevo Meetup 6
Node-RED message flow
1st IoT Sarajevo Meetup 7
Node-RED UI Dashboard
1st IoT Sarajevo Meetup 8
Demo 2: Smart watering system - Agriculture
1st IoT Sarajevo Meetup 9
Rainy day scenarios – Server/Service down!
Try to make your IoT solution FAIL-SAFE!
1st IoT Sarajevo Meetup 10
Questions
?
1st IoT Sarajevo Meetup 11