ee:nodered
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| ee:nodered [2020/10/19 20:00] – FKR@staff.hsrw | ee:nodered [2020/10/19 21:01] (current) – FKR@staff.hsrw | ||
|---|---|---|---|
| Line 10: | Line 10: | ||
| 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 | + | bash <(curl -sL https:// |
| - | bash <(curl -sL https:// | + | |
| </ | </ | ||
| + | |||
| + | Dasboard installieren: | ||
| + | < | ||
| + | node-red-stop | ||
| + | cd ~/.node-red | ||
| + | npm install node-red-dashboard | ||
| + | </ | ||
| + | |||
| Mosquito installieren: | Mosquito installieren: | ||
| < | < | ||
| - | sudo apt install mosquitto mosquitto-clients sudo systemctl enable mosquitto | + | sudo apt install mosquitto mosquitto-clients |
| + | sudo systemctl enable mosquitto | ||
| sudo systemctl status mosquitto | sudo systemctl status mosquitto | ||
| </ | </ | ||
| Line 24: | Line 32: | ||
| < | < | ||
| Subscribe im Terminal 1 | Subscribe im Terminal 1 | ||
| - | mosquitto_sub -h localhost -t “test/ | + | mosquitto_sub -h localhost -t "test/ |
| Publish im Terminal 2 | Publish im Terminal 2 | ||
| - | mosquitto_pub -h localhost -t “test/ | + | mosquitto_pub -h localhost -t "test/ |
| </ | </ | ||
| + | |||
| + | Node-red starten: | ||
| + | < | ||
| + | node-red-start | ||
| + | < | ||
| Code für ESP | Code für ESP | ||
| https:// | https:// | ||
ee/nodered.1603137631.txt.gz · Last modified: (external edit)
