Comments on: Getting Started with Node-RED on Raspberry Pi https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/ Learn ESP8266, ESP32, Arduino, and Raspberry Pi Fri, 30 Jun 2023 15:12:15 +0000 hourly 1 https://wordpress.org/?v=6.8.2 By: Givi https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-828194 Tue, 04 Apr 2023 01:26:53 +0000 http://randomnerdtutorials.com/?p=26062#comment-828194 Thanks for your tutorial. What saved me was your direction on how to get the right package installed to begin with::

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Worked like a charm.

Givi

]]>
By: Sara Santos https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-710077 Thu, 16 Dec 2021 22:24:11 +0000 http://randomnerdtutorials.com/?p=26062#comment-710077 In reply to indika de silva.

Hi.
Thanks for the info.
I’ll update the tutorial soon.
Regards,
Sara

]]>
By: indika de silva https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-709998 Thu, 16 Dec 2021 15:09:13 +0000 http://randomnerdtutorials.com/?p=26062#comment-709998 Hi,
New node-red installation link should be

bash <(curl -sL https://raw.githubusercontent.com/node-red/linux-installers/master/deb/update-nodejs-and-nodered)

Also before type node-red URL in browser, it needs to start node-red from RPI using following command.
node-red-start

]]>
By: Michael https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-706208 Sat, 04 Dec 2021 23:22:25 +0000 http://randomnerdtutorials.com/?p=26062#comment-706208 In reply to John.

Hi John, thank you, your answer was a great help to me. It looks like, that Node-RED is a good “dashboard” for looking at status and controlling IoT devices.
But I am looking for something different: I want to write a program (for example C++) that broadcasts messages to all connected devices. If I understand correctly I can write a program that talks to a broker, and the broker sends messages to the clients. I think that using the Rest API from a broker like Mosqitto could work.
This looks a little bit oversized to me, all I want is a simple way to broadcast messages from one client in a network to all others and to receive answers from them.

]]>
By: John https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-706090 Sat, 04 Dec 2021 17:36:54 +0000 http://randomnerdtutorials.com/?p=26062#comment-706090 In reply to Michael.

In order to control the flow of messages you need a broker. The esp XXX can receive and send messages, the broker distributes them. Mosquitto MQTT broker seems to be the favorite. Everything I’ve read says that the ESP family of controllers don’t have the power to “broker” the messages. Node Red is a great interface to connect messages to their destination in whatever fashion you desire. For example rather than simply a 1 or 0 (binary), or a number, or even text, you can create web pages that load on your cell phone or other mobile (or fixed) device. I currently have 5 esp8266 modules around monitoring temperature& humidity in various places, one monitoring heating oil level in a tank, and lock status in various locations. I plan more, the beauty of it all is the broker running on a pi or equivilant is the central reporting point and “flows” can be easily added to it. I’m currently using a Raspberry Pi 2b, and and have several other versions lying around I want to try. I’ve been told that the Rpi zero will work, and the zero 1 and 2 W have wifi built in; a great advantage if you want to go wireless. Hope that helps.

]]>
By: Michael https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-706072 Sat, 04 Dec 2021 16:58:39 +0000 http://randomnerdtutorials.com/?p=26062#comment-706072 If I understand correctly: NODE-RED is a GUI and it is easy to build communication flows. But I am looking for something different: I want to send messages from one system to many subscribed ESP32 boards with a program. I understand that a broker only runs on a Raspberry or even better a PC, but do I really need a broker? If I only want to broadcast messages from one system to several others (in my project 30..40 ESP32 boards) is there an easier solution, like using the MQTT client library on an ESP32 and broadcast messages to all other connected ESP32 in the local network?

]]>
By: John https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-663034 Fri, 20 Aug 2021 14:34:07 +0000 http://randomnerdtutorials.com/?p=26062#comment-663034 In reply to Rui Santos.

In the latest distro (buster) dubbed “Raspberry Pi OS, Node Red is not part of the image, it has to be installed. I am a novice with the Pi, and found it a bit frustrating to try to put it on a Raspberry Pi 0 W. After ignoring many warnings and error reports, it seemed to run, but much too slow to functional. I wanted to use the Pi 0 W in my project due to it’s size and built-in wifi but that may not be feasible. In the meantime I’ll try learning about Node Red and the next phase “Dashboard” using a Laptop with Ubuntu with Node Red and Dashboard installed on it.
Thank you Rui and Sara for all your work!

]]>
By: James Cullins https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-339071 Sun, 14 Oct 2018 20:24:10 +0000 http://randomnerdtutorials.com/?p=26062#comment-339071 loaded a freshly made SD card and after it finished installing, I looked under the programming flyout and there is no node-red. I had to load it with the link you provided.

]]>
By: Sara Santos https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-334328 Fri, 14 Sep 2018 16:26:48 +0000 http://randomnerdtutorials.com/?p=26062#comment-334328 In reply to Leonardo.

Hi Leonardo.
Our MQTT tutorials use Raspberry Pi, Node-RED, and Mosquitto.
We don’t have tutorials with OpenHAB or Home Assistant.
Regards,
Sara 🙂

]]>
By: Leonardo https://randomnerdtutorials.com/getting-started-node-red-raspberry-pi/#comment-334304 Fri, 14 Sep 2018 14:44:57 +0000 http://randomnerdtutorials.com/?p=26062#comment-334304 Do you use anything else besides mosquitto and node-red(Home Assistant or OpenHAB)?

]]>