Difference between revisions of "IEdge/Node-RED"

From ESS-WIKI
Jump to: navigation, search
Line 16: Line 16:
 
* '''IoT Control:''' Set platfom function's data through node-susiiot.
 
* '''IoT Control:''' Set platfom function's data through node-susiiot.
 
For more details about this package, please reference to [https://www.npmjs.com/package/node-red-contrib-susi npm website] and all source codes can be downloaded from [https://github.com/ADVANTECH-Corp/node-red-contrib-susi github].
 
For more details about this package, please reference to [https://www.npmjs.com/package/node-red-contrib-susi npm website] and all source codes can be downloaded from [https://github.com/ADVANTECH-Corp/node-red-contrib-susi github].
 +
 +
= Sample flows =
 +
[[IEdge_NodeRED_iAlarm_Sample|How to send an Alarm Message by Node-RED]]

Revision as of 07:06, 25 April 2023

Introduction

Node-RED is available as open source and implemented by the IBM Emerging Technology organization. It provides a browser-based flow editor that easily wires together flows using the wide range nodes in the palette. Flows can be then deployed to the runtime in a single-click. The flows created in Node-RED are stored using JSON which can be easily imported and exported for sharing with others. With built in node.js, it can be run at the edge of the network or in the cloud. The node package manager (npm) ecosystem can be used to easily extend the palette of nodes available, enabling connections to new devices and services.

Ss-node-red-01.png

node-red-contrib-susi

A collection of Node-RED nodes to Access ADVANTECH platform HW function by node-susiiot & node-susi. There are 6 nodes in this package:

  • Hardware Monitor: Read platfom Voltage (12V, 5V...), Fan Speed (CPU, SYS...), Temperature (CPU, SYS...) from node-susi.
  • GPIO : Read/Control platfom GPIO from node-susi.
  • Backlight : Read/Control platfom Backlight from node-susi.
  • WatchDog : Control platfom WatchDog from node-susi.
  • IoT Info: Read platfom all function's capability through node-susiiot .
  • IoT Data: Read platfom function's data through node-susiiot.
  • IoT Control: Set platfom function's data through node-susiiot.

For more details about this package, please reference to npm website and all source codes can be downloaded from github.

Sample flows

How to send an Alarm Message by Node-RED