Difference between revisions of "Node-RED Tutorial - Part 2"

From expecco Wiki (Version 2.x)
Jump to navigation Jump to search
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
= Introduction =
 
= Introduction =
This tutorial will show you how to import Nodes from the Node-RED library into expecco
+
The following tutorial shows how to import Nodes from the Node-RED library into expecco
   
 
= Preconditions =
 
= Preconditions =
* Open the testsuite from tutorial - part 1
 
  +
* Installed chrome browser
*Make sure you did the step '''Specify necessary paths''' from the first part of the tutorial before you make this part. [[Node-RED Tutorial - Part 1]]
+
* Make sure you did the step '''Specify necessary paths''' from the first part of the tutorial before you make this part. [[Node-RED Tutorial - Part 1]]
   
 
= Collect Nodes from the Node-RED library =
 
= Collect Nodes from the Node-RED library =
Line 56: Line 56:
 
** Click on the little house icon
 
** Click on the little house icon
 
** Navigate to ''.node-red → node_modules''
 
** Navigate to ''.node-red → node_modules''
** Search in this folder after a folder called ''node-red-contrib-amazon-echo''
+
** Search in the ''node_modules'' folder after a folder called ''node-red-contrib-amazon-echo''
 
** Select the file ''index.html'', then click OK
 
** Select the file ''index.html'', then click OK
   

Revision as of 12:49, 11 February 2020

Introduction[edit]

The following tutorial shows how to import Nodes from the Node-RED library into expecco

Preconditions[edit]

  • Installed chrome browser
  • Make sure you did the step Specify necessary paths from the first part of the tutorial before you make this part. Node-RED Tutorial - Part 1

Collect Nodes from the Node-RED library[edit]

  • Click on OperationsCollect List of Nodes in Attachment
    • The Node-RED library gets opened in a browser and the names of each node of the library get extracted and saved in the attatchment listOfNodes
    • Hint: Collecting the node names take a few minutes and offers the opportunity for a short coffee break


Navigate to Collect List of Nodes.png


  • Node-RED library


Node-RED library.png


Installing Nodes[edit]

  • Click on OperationsInstall Nodes


Install nodes.png


  • A window opens
    • Enter here the node name node-red-contrib-amazon-echo
    • Hint: If you want to install all nodes which contains e.g. smarthome in their names just enter *smarthome*


Enter node name.png


  • The entered node will be installed
    • Information about the installation can be found in the lower left corner of the window


Installation information.png

Finished installation.png^

Importing the Node[edit]

  • Click on OperationsImporting Nodes


Importing a Node.png


  • A small window opens
    • Click on the little house icon
    • Navigate to .node-red → node_modules
    • Search in the node_modules folder after a folder called node-red-contrib-amazon-echo
    • Select the file index.html, then click OK


Import alexa.png


  • A new folder should have been created
    • Open this folder to see the just generated elementary blocks


Generated nodes.png



Copyright © 2014-2018 eXept Software AG