adds code


This video demonstrates how to install a MQTT broker (Mosquitto) on a Raspberry PI. The connectivity is tested with Node Red standard MQTT nodes and also external connectivity using MQTT explorer. It also demonstrates how to fix unexpected Port 1883 busy feature, discovered during the installing of Mosquitto. Video Contents 0:00 Intro 0:53 Installing Mosquitto - Getting ready 1:42 Installing Mosquitto 2:00 Installing Mosquitto - Port busy error 3:38 Installing Mosquitto - Setting user & password 6:06 Installing Mosquitto - auto start 6:22 Using MQTT with Node Red 11:43 Test using MQTT Explorer Help... sudo apt update sudo apt upgrade sudo apt-get install mosquitto mosquitto -v ifconfig cd /etc/mosquitto sudo mosquitto_passwd -c passwordfile RasPi sudo mosquitto_passwd -b passwordfile RasPi2 password - Hello sudo mosquitto_passwd -D passwordfile RasPi2 cd /etc/mosquitto sudo nano mosquitto.conf Changes to mosquitto.conf file. listener 1883 allow_anonymous false password_file /etc/mosquitto/passwordfile autostart sudo systemctl enable mosquitto.service
Previous Post Next Post