How to use MQTT in Node-Red: basics, examples, tip & tricks
Csongor Varga
View ChannelAbout
Home automation, Node-Red, Influxdb, Grafana, Model railways, electronics, DIY and work related stuff
Latest Posts
Video Description
Want to learn how to communicate with MQTT in Node-Red? Here you can learn how to connect to an MQTT broker, subscribe to topic, send data to the server, handle different data types, use dynamic subscription and other tips and tricks. By the end of this tutorial, you'll be able to send and subscribe to MQTT messages with ease! MQTT is a powerful messaging platform that can be used to control devices and machines remotely. In this tutorial, we'll be using Node-Red to send and receive MQTT messages. By the end of this tutorial, you'll be able to use MQTT to control your Node-Red projects! Sensor toolbox video: https://youtu.be/UotFHkIXpnU If you like what I do here, you can support me with Youtube Thanks, or Patreon: https://patreon.com/csongorvarga Chapter: 0:00 Intro 0:07 Chapters 1:56 Prerequisite 2:54 Connect to an MQTT broker 5:37 Subscribe to a topic 8:11 Sending MQTT messages 10:04 MQTT Explorer 11:36 Door sensor example 13:46 Timer switch example 14:56 Data types 20:45 Dynamic subscription 25:20 Toolbox examples 28:09 Recap
Empower Your IoT Projects
AI-recommended products based on this video

10.1 Inch Touch Portable Monitor IPS Screen 1366x768P 60Hz 400 Brightness 99% sRGB HDMI USB-C Monitors Switch for Xbox PS3/4/5 Laptop Compatible with Raspberry Pi, Mini Touch Screen

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

7 Inch Portable Monitor Touchscreen HD 1024x600 LED Display Dual HDMI Port Small Monitor for PC Raspberry Pi Laptop Computer Xbox PS4/5 Switch Built-in Speakers

BrosTrend 1800Mbps WiFi 6 Linux WiFi Adapter for PC and Raspberry Pi 2+, Long Range USB WiFi Dongle Linux for Ubuntu, Mint, Debian, Kubuntu, Lubuntu, Zorin, Windows 11/10, Dual Band Wireless Antenna

ELECROW 8 Inch Portable Monitor, 1280x800 Mini HD Display with Built-in Speakers, USB Powered, Non-Touch LCD Screen for Raspberry Pi, PC, Laptop, Jetson Nano, Game Consoles

Kasa Smart Outdoor Smart Plug by TP-Link (KP400) - Smart WiFi Outlet with 2 Sockets, IP64 Waterproof, Works with Alexa and Google Home, 2.4GHz WiFi Required, No Hub Required, Sunset & Sunrise Offset

Portable Monitor 14-Inch 2K USB C HDMI Gaming Ultra-Slim IPS Display With Smart Cover & Speakers, 2160x1440P Screen for Laptop, HDR Plug&Play, External Monitor for PC Phone Mac Xbox

24 Inch Portable Monitor, Smart Touch Screen TV with Built in Battery, High Definition LCD Screen, Floor Standing Display Screen for Home (US Plug)

