Difference between revisions of "SW Service/Node-Red for SW Service"
Allen.chao (talk | contribs) (→node-red-contrib-flow-dispatcher) |
Allen.chao (talk | contribs) (→node-red-contrib-susi) |
||
Line 25: | Line 25: | ||
* '''IoT Data:''' read platfom function's data through node-susiiot. | * '''IoT Data:''' read platfom function's data through node-susiiot. | ||
* '''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]. | ||
===node-red-contrib-virtual-app-node=== | ===node-red-contrib-virtual-app-node=== |
Revision as of 05:33, 19 February 2016
Contents
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.
Node-RED nodes provided by ADVANTECH
node-red-contrib-flow-dispatcher
A collection of Node-RED nodes to read and write Node-RED flows. There are 6 nodes in this package:
- flow reader: read a Node-RED sheet from user specified URL.
- flow writer: write a Node-RED sheet to user specified URL. All current sheets on the destination server will be removed.
- flow cloner: read a Node-RED sheet from localhost and write to user specified URL. All current sheets on the destination server will be removed.
- flow communicator: dispatch a user specified sheet to destination Node-Red server and receive data returned by dispatched flows.
- delegate input: will be replaced by a configured ready websocket-in node while flow is dispatched by flow communicator node.
- delegate output: will be replaced by a configured ready websocket-out node while flow is dispatched by flow communicator node.
For more details about this package, please reference to npm website and all source codes can be downloaded from github.
There are some demo videos on YouTube to show how nodes in this package work. (flow reader/flow writer, flow cloner, flow communicator/delegate input/delegate output)
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:
- Temperature: read platfom temperature (CPU, SYS...) through node-susi.
- Voltage: read platfom voltage (12V, 5V...) through node-susi.
- Fan Speed: read platfom fan speed (CPU, SYS...) through 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.
node-red-contrib-virtual-app-node
A collection of Node-RED nodes to perform communication between Node-RED node and external applications. There are 3 nodes in this package:
- VAN Export: export data to external applications.
- VAN Import: import data from external applications.
- VAN Delegate: export data to external applications and import data to node.