Перейти к содержимому

How to install MQTT Mosquitto and test with Node Red on Linux OS

IOT Connectivity Simplified

0:00 / 0:00

How to install MQTT Mosquitto and test with Node Red on Linux OS

7 167 просмотров · 2 года назад
IOT Connectivity Simplified
4,81 тыс. подписчиков
7 167 просмотров · 2 года назад
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 Settin Password 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 Enabling Password allow_anonymous false password_file /etc/mosquitto/passwordfile Enabling autostart sudo systemctl enable mosquitto.service