Difference between revisions of "IoTGateway/Node-Red for GW EIS"

From ESS-WIKI
Jump to: navigation, search
m
(add node descriptions)
Line 39: Line 39:
 
! Output
 
! Output
 
|-
 
|-
| style="white-space: nowrap;" | Alljoyn Actions
+
| Alljoyn Actions
 
| Get action descriptions from any Alljoyn services and perform action via remote call
 
| Get action descriptions from any Alljoyn services and perform action via remote call
 
| A timer or button triggered events<br/>
 
| A timer or button triggered events<br/>
 
| Outputs a&nbsp;'''msg'''&nbsp;containing&nbsp;'''msg.topic'''&nbsp;which defaults to the sensor name, and&nbsp;'''msg.payload'''containing the reading
 
| Outputs a&nbsp;'''msg'''&nbsp;containing&nbsp;'''msg.topic'''&nbsp;which defaults to the sensor name, and&nbsp;'''msg.payload'''containing the reading
 
|-
 
|-
| WISE-Cloud
+
| nr_ui_flow_creator
 
|  
 
|  
<span style="line-height: 1.6;">WISE-Cloud provide nodes&nbsp;to communicate&nbsp;with [[WISE-PaaS/RMM_Agent|RMM Agent]].&nbsp;Sending data to agent, receiving messages from agent and response RMM RESTful requests.</span>
+
<span style="line-height: 1.6;">WISequests.</span>
 
+
| 1.nder
| style="white-space: nowrap;" |  
+
| bbbb
1.WISE-Cloud-Sender<br/>2.WISE-Cloud-Receiver<br/>3.WISE-Cloud-Responder
+
|-
 
+
| ui_ui_creator_ctrl
 +
|
 +
<span style="line-height: 1.6;">WISequests.</span>
 +
| 1.nder
 +
| bbbb
 +
|-
 +
| WISE-Cloud-Sender
 +
|
 +
<span style="line-height: 1.6;">WISequests.</span>
 +
| 1.nder
 +
| bbbb
 +
|-
 +
| WISE-Cloud-Receiver
 +
|
 +
<span style="line-height: 1.6;">WISequests.</span>
 +
| 1.nder
 +
| bbbb
 +
|-
 +
| style="white-space: nowrap;" | WISE-Cloud-Responder
 +
|
 +
<span style="line-height: 1.6;">WISequests.</span>
 +
| 1.nder
 
| bbbb
 
| bbbb
 
|}
 
|}

Revision as of 11:51, 12 January 2017

Introduction

Node-RED is a visual wiring tool for the Internet of Things and is provided by IBM Emerging Technologies. Node-Red has several features, including browser-based flow editing, built on Node.js and social development. Because of browser-based, the user can use it more easily. Node-Red is based on Node.js, so user can use its nodes by using JavaScript. Node-Red also have many active communities. If the user finds bugs, he can find a solution and fix it easily. The user can use JSON format string to import or export the created flow easily.
RMM server provides many restful API. But some API is maybe required complex parameter, it usually makes the user to call restful API more difficultly. Hance RMM team creates several common nodes in Node-Red. These nodes can help the user to use restful API that RMM server provided more easily and fast.


NodeRedSample.png


Node-Red Plug-ins Catogries

Node-RED_Nodes_for_IoTGW.jpg

Category Description Nodes
UI-Flow-Creator Provid  functions to auto-generate a dashboard flow with node-red-dashboard nodes. UI-Flow-Creator nodes depend on node-susi and node-susiiot packages to read data and control devices. 1.nr_ui_flow_creator
2.ui_ui_creator_ctrl
WISE-Cloud

WISE-Cloud provide nodes to communicate with RMM Agent. Sending data to agent, receiving messages from agent and response RMM RESTful requests.

1.WISE-Cloud-Sender
2.WISE-Cloud-Receiver
3.WISE-Cloud-Responder

NodeRed Plug-ins Description

Node Name Description Input Output
Alljoyn Actions Get action descriptions from any Alljoyn services and perform action via remote call A timer or button triggered events
Outputs a msg containing msg.topic which defaults to the sensor name, and msg.payloadcontaining the reading
nr_ui_flow_creator

WISequests.

1.nder bbbb
ui_ui_creator_ctrl

WISequests.

1.nder bbbb
WISE-Cloud-Sender

WISequests.

1.nder bbbb
WISE-Cloud-Receiver

WISequests.

1.nder bbbb
WISE-Cloud-Responder

WISequests.

1.nder bbbb

Demo Video Clips

Video Demo Title Link
IoTGW Node-RED - Alljoyn Control Panel and Action on Node-RED demo link
IoTGW Node-RED - WSN senhub node Demo

link


Usage Example

Example Link
Get SenHub List

link

Get CO2 Reading

link

Connect to Freeboard

link