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

From expecco Wiki (Version 2.x)
Jump to navigation Jump to search
(One intermediate revision by the same user not shown)
Line 30: Line 30:
   
 
* A window opens
 
* A window opens
** Enter here the node name ''node-red-contrib-amazon-echo''
+
** Enter here the node name ''node-red-contrib-speedtest-updated''
 
** '''Hint:''' If you want to install all nodes which contains e.g. ''smarthome'' in their names just enter ''*smarthome*''
 
** '''Hint:''' If you want to install all nodes which contains e.g. ''smarthome'' in their names just enter ''*smarthome*''
   
   
 
 
[[Datei:enter node name.png|800px]]
+
[[Datei:specify node name.png|800px]]
   
   

Revision as of 15:09, 14 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-speedtest-updated
    • Hint: If you want to install all nodes which contains e.g. smarthome in their names just enter *smarthome*


Specify 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