HowTo: Node Red – Install new nodes

Das tolle an NodeRed ist neben der einfachen Programmierung, dass es allerhand Plugins (In NodeRed „nodes“ genannt) gibt mit denen sich der Funktionsumfang von NodeRed erweitern lässt.

A list of the currently – officially – available nodes can be found at: https://flows.nodered.org/

Habt Ihr eine Node gefunden die Ihr installieren wollt könnt Ihr dies über den, in jeder NodeRed-Installation vorhandenen, „Palette Manager“ machen.

How this works is described in the following article.


Safety instructions

I know the following notes are always kind of annoying and seem unnecessary. Unfortunately, many people who knew "better" have lost eyes, fingers or other things due to carelessness or injured themselves. Data loss is almost negligible in comparison, but even these can be really annoying. Therefore, please take five minutes to read the safety instructions. Because even the coolest project is not worth injury or other trouble.
https://www.nerdiy.de/sicherheitshinweise/

Affiliate links/advertising links

The links to online shops listed here are so-called affiliate links. If you click on such an affiliate link and make a purchase via this link, Nerdiy.de will receive a commission from the relevant online shop or provider. The price does not change for you. If you make your purchases via these links, you support Nerdiy.de in being able to offer other useful projects in the future. 🙂 


Requirements

Helpful articles:
So that you can install new nodes, NodeRed should of course already be installed.
How to prepare a RaspberryPi and then install NodeRed on it is described in the following articles.

The following three articles describe what needs to be done to prepare the RaspberryPi:
RaspberryPi – setup for nerdiys!
RaspberryPi – The first configuration!
RaspberryPi – Control the RaspberryPi via SSH

NodeRed – Installing NodeRed on the RaspberryPi

Required tool:
-no-

Required material:

In the following list you will find all the parts you need to implement this article.


Log into the NodeRed configuration interface

Before you can edit your NodeRed configuration, you must - if activated - first log into the NodeRed configuration interface.

View of the login dialog. Here you have to enter the login data that you specified during the configuration of the login. You can find information about this in the article NodeRed - set up user login.

Install new nodes via the configuration interface

Open the configuration interface of your NodeRed installation.

Klickt nun oben-rechts auf die drei grauen waagerechten Balken und dann auf „Manage Palette“.
In dem sich nun öffnendem Fenster wählt Ihr den Reiter „Install“ aus.
In das darunter liegende Textfeld könnt Ihr nun Suchbegriffe eingeben um eure gewünschte Node zu finden. In diesem Beispiel wird eine „Alexa“ Node installiert, welche es ermöglicht NodeRed von einem Alexa-Gerät steuern zu können.
Nachdem Ihr Eure gewünschte Node in der Vorschlagsliste gefunden habt klickt ihr auf den zugehörigen „Install“-Button.
Bevor die Installation dann startet müsst Ihr dies noch ein mal in einem kleinen Fenster bestätigen. Hier habt Ihr auch die Möglichkeit durch einen Klick auf „Open node information“ weitere Informationen zu der gewünschten Node anzeigen zu lassen.
Hab ihr die Installation durch einen klick auf „Install“ bestätigt, startet diese. Dies wird durch eine Animation in der Suchvorschlagsliste angezeigt.
If the installation was successful, you will then be shown which specific nodes were added to your palette.
Außerdem ist der „Install“-Button Eurer Suchvorschlagsliste nun ausgegraut. Dies zeigt an, dass Ihr diese Node bereits installiert habt.

Have fun with the project

I hope everything worked as described for you. If not or you have questions or suggestions please let me know in the comments. I will then add this to the article if necessary.
Ideas for new projects are always welcome. 🙂

PS Many of these projects - especially the hardware projects - cost a lot of time and money. Of course I do this because I enjoy it, but if you think it's cool that I share the information with you, I would be happy about a small donation to the coffee fund. 🙂

Buy Me a Coffee at ko-fi.com       

4 comments

  1. So far I have used this module for my MagicMirror: https://github.com/Jopyth/MMM-Buttons
    Unfortunately, this no longer works with the current version of MagicMirror. Apparently you also use the touch function together with a MagicMirror.
    How can I use your code to make it work with the MagicMirror?

    Thanks for your help
    Nemul

    1. Hi Nemul,
      what exactly do you want to do with the button press? 🙂
      Or what do you mean by "touch function"?
      Best regards
      Fab

    1. Hi Nemul,
      Unfortunately, I have never used the direct control of the MagicMirror modules. The only thing I do in terms of "control-wise" is turn the screen on and off. In addition, I have connected an MPR121, which is evaluated via NodeRed.
      You should then actually be able to send commands to the MagicMirror instance. I have stored information on how to use the MPR121 with NodeRed here: https://nerdiy.de/howto-raspberry-pi-mpr121-touchsensor-via-i2c-und-node-red-auswerten/
      Best regards
      Fabian

Kommentar hinterlassen

Your email address will not be published. Erforderliche Felder sind mit * markiert

This site uses Akismet to reduce spam. Learn how your comment data is processed.