IEdge/Node-RED

From ESS-WIKI
Jump to: navigation, search

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.

How to send an Alarm Message by Node-RED

You can refer the NodeRED iAlarm Sample to triger an iAlarm message by Node-RED.

How to monitor a Sensoe Data by Node-RED

You can monitor sensor data by Node-RED.