homeautomatisation:node-red
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
homeautomatisation:node-red [2022/02/24 20:39] – illu | homeautomatisation:node-red [2023/12/16 23:28] (current) – illu | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Node-Red ====== | ====== Node-Red ====== | ||
- | Install Adapter | + | Install Adapter |
+ | |||
+ | {{: | ||
extra NPM: node-red-contrib-amazon-echo | extra NPM: node-red-contrib-amazon-echo | ||
+ | [[https:// | ||
+ | |||
+ | <code bash> | ||
+ | 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 " | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | Here are some Examples for Alexa local use: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | Functions: | ||
+ | |||
+ | <code javascript> | ||
+ | if(msg.payload === " | ||
+ | msg.payload = true; | ||
+ | } | ||
+ | if(msg.payload === " | ||
+ | msg.payload = false; | ||
+ | } | ||
+ | return msg; | ||
+ | </ | ||
+ | |||
+ | {{: | ||
+ | |||
+ | {{: | ||
- | [[HomeAutomatisation: |
homeautomatisation/node-red.1645731589.txt.gz · Last modified: 2022/02/24 20:39 by illu