Home Page Icon
Home Page
Table of Contents for
Practical Node-RED Programming
Close
Practical Node-RED Programming
by
Practical Node-RED Programming
Practical Node-RED Programming
Foreword
Contributors
About the author
About the reviewers
Preface
Who this book is for
What this book covers
To get the most out of this book
Download the example code files
Download the color images
Conventions used
Get in touch
Reviews
Section 1: Node-RED Basics
Chapter 1: Introducing Node-RED and Flow-Based Programming
What is FBP?
Workflows
Flow-based programming (FBP)
What is Node-RED?
Overview
Flow editor and runtime
History and origin of Node-RED
Node-RED benefits
Simplification
Efficiency
Common
High quality
Open source
Node-RED library
Various platforms
Node-RED and IoT
Node-RED and IoT
Summary
Chapter 2: Setting Up the Development Environment
Technical requirements
Installing npm and Node.js for Windows
Installing npm and Node.js for Mac
Installing npm and Node.js for Raspberry Pi
Installing Node-RED for Windows
Installing Node-RED for Mac
Installing Node-RED for Raspberry Pi
Summary
Chapter 3: Understanding Node-RED Characteristics by Creating Basic Flows
Technical requirements
Node-RED Flow Editor mechanisms
Using the Flow Editor
Making a flow for a data handling application
Importing and exporting a flow definition
Summary
Chapter 4: Learning the Major Nodes
Technical requirements
What is a node?
How to use nodes
Common category
Function category
Getting several nodes from the library
Summary
Section 2: Mastering Node-RED
Chapter 5: Implementing Node-RED Locally
Technical requirements
Running Node-RED on a local machine
Using the standalone version of Node-RED
Using IoT on edge devices
Making a sample flow
Use case 1 – light sensor
Use case 2 – temperature/humidity sensor
Making a flow for use case 1 – light sensor
Making a flow for use case 2 – temperature/humidity sensor
Summary
Chapter 6: Implementing Node-RED in the Cloud
Technical requirements
Running Node-RED on the cloud
What is the specific situation for using Node-RED in the cloud?
IoT case study spot on the server side
Use case 1 – Storing data
Use case 2 – Temperature/humidity sensor
Making a sample flow
Making a flow for use case 1 – storing data
Making a flow for use case 2 – visualizing data
Summary
Chapter 7: Calling a Web API from Node-RED
Technical requirements
Learning about the RESTful API
Learning about the input/output parameters of a node
How to call the web API on a node
Creating an account
Creating an API key
Checking the API endpoint URL
Checking that the API can run
Creating the flow calling the API
How to use the IBM Watson API
Logging in to IBM Cloud
Starting Node-RED on IBM Cloud
Creating the Watson API
Connecting Node-RED and the Tone Analyzer service
Creating the flow by calling the Tone Analyzer API
Testing the flow
Summary
Chapter 8: Using the Project Feature with Git
Technical requirements
Enabling the project feature
Using the Git repository
Accessing project settings
Connecting a remote repository
Summary
Section 3: Practical Matters
Chapter 9: Creating a ToDo Application with Node-RED
Technical requirements
Why you should use Node-RED for web applications
Creating a database
How to connect to the database
Configuring Node-RED
Cloning the Node-RED Project
Configuring the Node-RED and CouchDB connection
Running the application
Summary
Chapter 10: Handling Sensor Data on the Raspberry Pi
Technical requirements
Getting sensor data from the sensor module on the Raspberry Pi
Preparing the devices
Checking Node-RED to get data from the sensor device
Learning the MQTT protocol and using an MQTT node
Connecting to an MQTT broker
Mosquitto
Preparing Mosquitto on your Raspberry Pi
Making a flow to get sensor data and send it to the MQTT broker
Checking the status of data on the localhost
Summary
Chapter 11: Visualize Data by Creating a Server-Side Application in the IBM Cloud
Technical requirements
Preparing a public MQTT broker service
Publishing the data from Node-RED on an edge device
Subscribing and visualizing data on the cloud-side Node-RED
Preparing Node-RED on the IBM Cloud
Visualization of the data on the IBM Cloud
Summary
Chapter 12: Developing a Chatbot Application Using Slack and IBM Watson
Technical requirements
Creating a Slack workspace
Creating a Watson Assistant API
Enabling the connection to Slack from Node-RED
Building a chatbot application
Summary
Chapter 13: Creating and Publishing Your Own Node on the Node-RED Library
Technical requirements
Creating your own node
Node program development
Node packaging
Testing your own node in a local environment
Node installation
Node customization
Publishing your own node as a module in the Node-RED Library
Publishing the node you created
Deleting the node you published
Installing the node you published
Summary
Appendix: Node-RED User Community
Node-RED Community Slack
Node-RED Forum
Japan User Group
Why subscribe?
Other Books You May Enjoy
Packt is searching for authors like you
Leave a review - let other readers know what you think
Search in book...
Toggle Font Controls
Playlists
Add To
Create new playlist
Name your new playlist
Playlist description (optional)
Cancel
Create playlist
Sign In
Email address
Password
Forgot Password?
Create account
Login
or
Continue with Facebook
Continue with Google
Sign Up
Full Name
Email address
Confirm Email Address
Password
Login
Create account
or
Continue with Facebook
Continue with Google
Next
Next Chapter
Practical Node-RED Programming
Add Highlight
No Comment
..................Content has been hidden....................
You can't read the all page of ebook, please click
here
login for view all page.
Day Mode
Cloud Mode
Night Mode
Reset