Support – Node-RED
The general setup is super easy and consists of these steps:
1. Install Node-RED
2. Install the myStrom Node
3. Connect with 3rd-party Nodes to create the home automation setup of your dreams!
This manual is intended to get you up to speed in as little time as possible. If you want to gather more in-depth knowledge about everything Node-RED, please refer to their detailed online resources available here.
1.1 Install Node-RED
You can install Node-RED on a slew of devices. Go to this page to learn how to install the software on your specific device.
Important: The Node-RED server and the myStrom devices need to be connected to the same network, hence you cannot use a cloud-hosted Node-RED instance.
1.2 Install the myStrom Node
Access your Node-RED Web Interface and select “Manage palette” from the main menu. This view lists all the installed Nodes in the “Nodes” tab. Click on the “Install“ tab on the right to search for the myStrom Node.
Protip: Alternatively, you can install the node-red-contrib-mystrom via command line by running npm install node-red-contrib-mystrom
1.3 Connect the Nodes
These two examples will demonstrate how Node-RED may serve as an input as well as an output interface.
1.3.1 Configure your myStrom Node
Proceed as follows to assign myStrom devices to your myStrom Node:
These additional steps are necessary for the myStrom WiFi Button and WiFi Button Plus:
1.3.2 Make a myStrom Button trigger an action (input device)
Protip: Hovering over a ports displays its corresponding action.
1.3.3 Make Node-RED trigger an action on a myStrom device (output device)
2.1 Overview
Control Home Assistant with myStrom – and vice versa.
Follow the same 3 steps as we have in the General Setup to get everything up and running:
2.1.1 Install Node-RED
Installing Node-RED via hass.io
Protip: Make sure you have the community add-ons enabled, otherwise this section won’t show up!
Installing Node-RED without hass.io
Protip: Alternatively, you can install the node-red-contrib-home-assistant via command line by running npm install node-red-contrib-home-assistant
2.1.2 Install the myStrom Node (if you haven’t already)
Access your Node-RED Web Interface and select “Manage palette” from the main menu. This view lists all the installed Nodes in the “Nodes” tab. Click on the “Install“ tab on the right to search for the myStrom Node.
Protip: Alternatively, you can install the node-red-contrib-mystrom via command line by running npm install node-red-contrib-mystrom
2.1.3 Connect the myStrom and HomeAssistant Nodes
You can follow the same procedure as shown in the general setup for the myStrom Nodes, but you may have to interact with the Home Assistant Node in a different way. Information on how to set up the Home Assistant Node can be found on this page .
2.2 Overview
Control Homematic with myStrom – and vice versa.
Follow the same 3 steps as we have in the General Setup to get everything up and running:
2.2.1 Install Node-RED
Follow this guide to learn how to install Node-RED on your Homematic („redmatic“).
2.2.2 Install the myStrom Node (if you haven’t already)
Access your Node-RED Web Interface and select “Manage palette” from the main menu. This view lists all the installed Nodes in the “Nodes” tab. Click on the “Install“ tab on the right to search for the myStrom Node.
Protip: Alternatively, you can install the node-red-contrib-mystrom via command line by running npm install node-red-contrib-mystrom
2.2.3 Connect the myStrom and Homematic Nodes
You can follow the same procedure as shown in the general setup for the myStrom Nodes, but you may have to interact with the Homematic Node in a different way. Information on how to set up the Homematic Node can be found on this page .
2.3 Overview
There are two ways of controlling Loxone devices: either by using Node-RED or by using web requests.
The better way may well be with Node-RED. But this approach will require you set up a Node-RED server, as it’s currently not possible to install Node-RED on a Loxone bridge.
The alternative – working with web requests – may not require you do any of this, but will render interacting with the system much less comfortable.
2.3.1 Set up Loxone for Node-RED
The general setup is super easy and consists of these steps:
2.3.1.1 Install Node-RED
You can install Node-RED on a slew of devices. Go to this page to learn how to install the software on your specific device.
Important: The Node-RED server and the myStrom devices need to be connected to the same network, hence you cannot use a cloud-hosted Node-RED instance.
2.3.1.2 Install the myStrom Node (if you haven’t already)
Access your Node-RED Web Interface and select “Manage palette” from the main menu. This view lists all the installed Nodes in the “Nodes” tab. Click on the “Install“ tab on the right to search for the myStrom Node.
Protip: Alternatively, you can install the node-red-contrib-mystrom via command line by running npm install node-red-contrib-mystrom
2.3.1.3 Install the Loxone Node
Access your Node-RED Web Interface and select “Manage palette” from the main menu. This view lists all the installed Nodes in the “Nodes” tab. Click on the “Install“ tab on the right to search for the Loxone Node.
Protip: Alternatively, you can install the node-red-contrib-loxone via command line by running npm install node-red-contrib-loxone
2.3.1.4 Connect the myStrom and Loxone Nodes
You can follow the same procedure as shown in the general setup for the myStrom Nodes, but you may have to interact with the Loxone Node in a different way. Information on how to set up the Loxone Node can be found on this page .
2.3.2 Web requests
As an alternative to Node-RED, you can use the Loxone configurator to send and receive web requests as documented here. This will however require you getting used to the terminal and will be more technical. Proceed as follows: