How to use MQTT in Node-Red: basics, examples, tip & tricks
Csongor Varga
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
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 ... https://www.youtube.com/watch?v=fkrbcnp8wpI
261027699 Bytes