User Tools

Site Tools


homeautomatisation:node-red

Node-Red

Install Adapter Node Red

extra NPM: node-red-contrib-amazon-echo https://flows.nodered.org/node/node-red-contrib-alexa-local

docker exec -it iobroker sh
npm install node-red-contrib-alexa-local

(!) The importance for node red to communicate via Port 80 is essential!

(!) Alexa Echo will broadcast your local network on Port 80 for local smart devices.

(!) With iobroker in docker and “network_mode: host” the container is able to open 80.

Here are some Examples for Alexa local use:

Functions:

if(msg.payload === "on"){
msg.payload = true;
}
if(msg.payload === "off"){
msg.payload = false;
}
return msg;

homeautomatisation/node-red.txt · Last modified: 2023/12/16 23:28 by illu