User Tools

Site Tools


ee:nodered

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
ee:nodered [2020/10/19 19:59] – FKR@staff.hsrwee:nodered [2020/10/19 21:01] (current) – FKR@staff.hsrw
Line 6: Line 6:
 https://www.youtube.com/watch?v=aHiAVTuKL7M https://www.youtube.com/watch?v=aHiAVTuKL7M
  
 +Node-Red installieren:
 <code> <code>
 sudo apt-get update sudo apt-get update
 sudo apt-get upgrade sudo apt-get upgrade
-sudo apt-get install build-essential +sudo apt-get install build-essential curl npm 
-sudo apt-get install curl+bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)
 </code> </code>
  
-Node-Red installieren:+Dasboard installieren: 
 +<code> 
 +node-red-stop 
 +cd ~/.node-red 
 +npm install node-red-dashboard 
 +</code>
  
-sudo apt-get install build-essential 
-bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered) 
-Mosquito installieren: 
  
-sudo apt install mosquitto mosquitto-clients sudo systemctl enable mosquitto+Mosquito installieren: 
 +<code> 
 +sudo apt install mosquitto mosquitto-clients 
 +sudo systemctl enable mosquitto
 sudo systemctl status mosquitto sudo systemctl status mosquitto
-Mosquito testen+</code>
  
 +Mosquito testen:
 +<code>
 Subscribe im Terminal 1 Subscribe im Terminal 1
-mosquitto_sub -h localhost -t “test/message”+mosquitto_sub -h localhost -t "test/message"
 Publish im Terminal 2 Publish im Terminal 2
-mosquitto_pub -h localhost -t “test/message” -m “Hello, world”+mosquitto_pub -h localhost -t "test/message" -m "Hello, world" 
 +</code> 
 + 
 +Node-red starten: 
 +<code> 
 +node-red-start 
 +<code>
  
 Code für ESP Code für ESP
 https://github.com/Edistechlab/Relais-per-MQTT-schalten/blob/master/MQTT_Output.ino https://github.com/Edistechlab/Relais-per-MQTT-schalten/blob/master/MQTT_Output.ino
ee/nodered.1603137546.txt.gz · Last modified: (external edit)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki