NodeRED/en: Unterschied zwischen den Versionen

Aus expecco Wiki (Version 25.x)
Zur Navigation springen Zur Suche springen
Inhalt gelöscht Inhalt hinzugefügt
Frhenn (Diskussion | Beiträge)
Frhenn (Diskussion | Beiträge)
Zeile 69: Zeile 69:
The following tutorial shows how to import nodes of Node-RED
The following tutorial shows how to import nodes of Node-RED
into expecco and how to use them.
into expecco and how to use them.


* Open a new testsuite in expecco

Version vom 4. Februar 2020, 10:40 Uhr

Introduction

Node-RED is a graphical development tool. With Node-RED, use cases for the Internet of Things can be implemented according to a simple modular principle. In Node-RED there are so-called "nodes" which look like as follows. Each node fulfills a certain function e.g. making a HTTP-request.

Preparations

  • Use the command line to verify that Nodejs has been installed correctly.
    • To open the command line type "cmd" in the Windows search bar and press the enter key.


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • After you have opened the command line type "node --version" in.


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • Also type "npm --version" in the command line.
    • Hint: npm usually comes with Node.js


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • Internet connection available?

Installing Node-RED

  • Open command line


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • Enter "npm install -g --unsafe-perm node-red" and press the enter key


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • Enter "npm install node-red-node-test-helper node-red --save-dev" and press the enter key


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • Enter "node-red" and press the enter key to start Node-RED


Fehler beim Erstellen des Vorschaubildes: Die Miniaturansicht konnte nicht am vorgesehenen Ort gespeichert werden


  • After you have started Node-RED open your browser (Chrome, Firefox, Internet Explorer, ...)
    • Enter "localhost:1880" into the search bar of your browser and press the enter key



  • Close the browser and the command line now


Node-RED Tutorial Part 1

The following tutorial shows how to import nodes of Node-RED into expecco and how to use them.


  • Open a new testsuite in expecco



Copyright © 2014-2024 eXept Software AG