Node Red MQTT on the Raspberry Pi

About this video

Node Red has quite rightly generated a huge head of steam in the 3 years since IBM released it as an Open Source project. Here I quickly review the interface and short circuit some of the installation and upgrade problems. If you need a reason to learn OO JavaScript then this too is an excellent starting point.

A BETTER UPGRADE IS HERE https://youtu.be/z9a_ztJqaII

Time & Main_Commands
22:14 raspi-config - hostname/password changes + enable ssh
23:45 node -v provide current v0.10.29 no npm
24:01 sudo rpi-update error in screen display here
reboot
24:22 sudo apt-get -y update
24:38 sudo apt-get -y upgrade
24:48 sudo apt-get -y autoremove
25:28 sudo apt-get -y install npm
25:46 sudo npm i(little I) -g npm@2.x
25:47 node -v to see upgraded and
25:49 npm -v
25:53 sudo npm install -g n
26:07 sudo n latest
reboot
26:18 sudo npm install -g npm node-gyp

Related article summary

Node-RED, developed by IBM, is a browser-based visual flow editor for IoT and home automation that integrates well with Home Assistant. The article explains Node-RED features, compatible hardware, and contrasts it with Home Assistant YAML automations. It provides two detailed projects: a Raspberry Pi Node-RED UI-driven home automation and a standalone Pi + Sonoff/ESP8266 + MQTT system (with Sonoff-Tasmota flashing, Mosquitto MQTT setup, Node-RED dashboard, security, and expansion ideas). Step-by-step installation, wiring, Node.js/npm fixes, MQTT testing, dashboard setup, Sonoff programming, and securing the broker are covered.
Scroll to Top