What is MQTT and How It Works

  Рет қаралды 652,585

Rui Santos

Rui Santos

Күн бұрын

Пікірлер: 158
@RuiSantosdotme
@RuiSantosdotme 6 жыл бұрын
For a written version of this video and extra resources, visit my blog ► randomnerdtutorials.com/what-is-mqtt-and-how-it-works/
@msmadaram
@msmadaram 5 жыл бұрын
hae you any code for broker on android?
@parameshwaranmarannan7624
@parameshwaranmarannan7624 4 жыл бұрын
Nice intro..
@reme2493
@reme2493 7 жыл бұрын
First class tutorial on how the mqtt framework works, clear to follow and no wondering off topic
@RuiSantosdotme
@RuiSantosdotme 7 жыл бұрын
Thanks for your kind words. I'm glad it was helpful!
@marcelbron6128
@marcelbron6128 4 жыл бұрын
It's always a pleasure to watch your tutorials Rui! It only takes one time to understand and that is pretty awesome, thanks for this nice way of explaining!
@zeno_aratus
@zeno_aratus 4 жыл бұрын
Rui I have to apologise. Initially I was about to drop watching this video because I was not sure I would be able to understand your accent. but after watching further the pace and level of your introduction was perfect. I hate having to wait for people to get to the point.
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
I'm glad you found it helpful! Thanks for your honest feedback!
@fpser4888
@fpser4888 2 жыл бұрын
I have an exam in 2 days and needed to know some more info on MQTT since the teachers's slides were awful and didn't explain much, thank you so much for this
@MuslumBerdibek
@MuslumBerdibek 2 жыл бұрын
I watched several video but i couldnt understand. You are the best narrator about this topic.
@asdfgh9209
@asdfgh9209 2 жыл бұрын
Your explanation is simple, clear and perfect keep going ;) Respect from Syria
@isurujn
@isurujn 5 жыл бұрын
Short and concise intro. Thank you.
@wardrich
@wardrich 5 жыл бұрын
Trying to dive into IoT home automation head-first has been a challenge. I was having a real hard time trying to wrap my head around how MQTT works, and this video did a great job at breaking it down. Thanks so much for putting this quick presentation together.
@RuiSantosdotme
@RuiSantosdotme 5 жыл бұрын
You're welcome. I'm glad it was helpful!
@Mysteria9
@Mysteria9 2 жыл бұрын
Very well explained to me who is a complete beginner, thank you!
@FlorenceDosh
@FlorenceDosh Жыл бұрын
Thanks as always. This would have been clearer if the block diagram at 1:15 should have indicated the grey box was the Broker. So the same diagram from 3:34 would work. A block diagram with an example of many subscribers might also help get an idea across of the power of the broker topology. And then a word or two about many to one and many to many topologies which should be easy to grasp after the many subscribers is understood. Please add a link to the next unit in the "more information" dialog.
@abduMalik070
@abduMalik070 2 жыл бұрын
Great and simple exploration brother...
@joseantoniogarcia7488
@joseantoniogarcia7488 6 жыл бұрын
Excellent video, simple, clear and concrete, congrats!
@harmssam
@harmssam 3 жыл бұрын
Great intro!
@RuiSantosdotme
@RuiSantosdotme 3 жыл бұрын
Thank you for watching!
@javierguerrerob
@javierguerrerob 4 жыл бұрын
Great Job Rui! Thanks for you support!
@t4ir1
@t4ir1 4 жыл бұрын
Obrigado Rui! Os teus videos são muito bons, ajudaram-me bastnte no meu projecto. Um abraço!
@80871445
@80871445 4 жыл бұрын
Really nice explanation, very clear. thank you!
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
Thank you! I'm glad it was helpful
@vanluutran726
@vanluutran726 2 жыл бұрын
The information is so clear, thank you for the very helpful video
@maxcederhage
@maxcederhage 3 жыл бұрын
Thanks for sharing. Exactly what I needed
@RuiSantosdotme
@RuiSantosdotme 3 жыл бұрын
You're welcome. I'm glad it was helpful!
@sempi968
@sempi968 2 жыл бұрын
Thank you for these explanation
@TheKverbeeck
@TheKverbeeck 4 жыл бұрын
crystal clear explanation, thx Rui 👍👍👍
@pdp8a
@pdp8a 5 жыл бұрын
Excellent, excellent, excellent introduction to MQTT!
@carlosfranceschini205
@carlosfranceschini205 8 жыл бұрын
Great introduction to MQTT, Rui!
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
Thanks!
@sujitramesh9392
@sujitramesh9392 7 жыл бұрын
Very nice and simple explanation. Thank you very much Rui.
@noealves8400
@noealves8400 7 жыл бұрын
obrigado pelo video Rui. muito interessante. belos slides também.
@zeynabrahimi5591
@zeynabrahimi5591 5 жыл бұрын
A very useful and clear explanation. Thanks a lot.
@RuiSantosdotme
@RuiSantosdotme 5 жыл бұрын
You're welcome! I'm glad it was easy to follow
@hoiweng
@hoiweng Жыл бұрын
Great video!
@RuiSantosdotme
@RuiSantosdotme Жыл бұрын
thanks for watching!
@kamalkumar-ew8ry
@kamalkumar-ew8ry 6 жыл бұрын
Very quick introduction and very nice. Thanks for this video.
@h3ctor1991
@h3ctor1991 4 жыл бұрын
Great video, thanks! i liked how you explained the concept. You're right!
@saiakhilr7772
@saiakhilr7772 2 жыл бұрын
Glad to find this, thanks :)
@rupalisable4903
@rupalisable4903 6 жыл бұрын
nice explanation , easy to understand the concept . Thank you very much Rui.
@RuiSantosdotme
@RuiSantosdotme 6 жыл бұрын
You're welcome! I'm glad it was helpful :)
@ggeducation9544
@ggeducation9544 4 жыл бұрын
Verry good educational video, well explained!
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
Thank you! I'm glad it was helpful
@wekekke
@wekekke 4 жыл бұрын
great video. Thanks to you for sharing
@HolyManta
@HolyManta 6 жыл бұрын
very good explanation, thank you
@engineerkca2232
@engineerkca2232 5 жыл бұрын
VERY WELL EXPLAINED
@anadani81917
@anadani81917 3 жыл бұрын
Excelente vídeo! Muito bom :)
@Pravallika_0000
@Pravallika_0000 5 ай бұрын
If I haven't watched it till the end I would have never known it's real time application.....thankyou ji
@hetismaarten7834
@hetismaarten7834 4 жыл бұрын
amazing! helped me a lot
@omarcruz6326
@omarcruz6326 4 жыл бұрын
Great Video. Thanks !
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
You're welcome. Thanks for watching!
@sefatanam
@sefatanam 3 жыл бұрын
you are great ! ❤
@RAM9031
@RAM9031 7 жыл бұрын
Great my friend I'll be waiting for more videos.
@shaheerkk
@shaheerkk 2 жыл бұрын
Nice and simple
@RuiSantosdotme
@RuiSantosdotme 2 жыл бұрын
Thank you, I'm glad it was helpful
@duartedias3460
@duartedias3460 6 жыл бұрын
Grande Rui!
@meetmeer
@meetmeer Жыл бұрын
cool stuff, thanks man
@amressam90
@amressam90 6 жыл бұрын
Good Explanation ....thanks :)
@ExplainingMathematics
@ExplainingMathematics 7 жыл бұрын
you lured me in hahah subscribed.
@AdvancedSoul
@AdvancedSoul 6 жыл бұрын
Olá Rui, bom vídeo!
@jamescathode6917
@jamescathode6917 4 жыл бұрын
Is home/office/lamp a single topic separated by '/' ?
@ioanniskyriakidis1495
@ioanniskyriakidis1495 5 жыл бұрын
Is there a follow up on this excellent intro?
@GeertDroid
@GeertDroid 6 жыл бұрын
What about the video Node Red and MQTT as you mentioned at the and of this video?
@plourenco
@plourenco 7 жыл бұрын
Vi logo que era Português pelo sotaque eheh ;)
@RuiSantosdotme
@RuiSantosdotme 7 жыл бұрын
Não dá para enganar xD
@the_perigoso
@the_perigoso 6 жыл бұрын
tambem me pareceu ahah esbetaclo
@vitorlory
@vitorlory 6 жыл бұрын
Também podia ser Russo, muito parecido ;-)
@vitorlory
@vitorlory 6 жыл бұрын
Obrigado pelo video, Rui!
@jp_engineer
@jp_engineer 6 жыл бұрын
Tú istáblixi 0:20 isso é tão Russo. Super bacana, valeu Rui. Se quer ver trem feio olha meus vídeos fazendo review ...kkkk nem eu gosto de ficar ouvindo
@radhikeshsingh3255
@radhikeshsingh3255 6 жыл бұрын
where do I get other video related to MQTT?
@KAEV666
@KAEV666 4 жыл бұрын
is it possible to direct access to mqtt url? if possible it is Vulnerability i guess
@huddensinyuan364
@huddensinyuan364 8 жыл бұрын
Hi Rui, Nice introduction! I have a question. Is there only one broker in the whole MQTT network? if not, which broker should the messages send to ?
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
You can have multiple brokers in your network. In your devices, you define which broker do you want to connect to (by entering the ip address and port number)
@huddensinyuan364
@huddensinyuan364 8 жыл бұрын
Thanks for your reply! So another question. Can multiple brokers publish the same topic ? Or in other words, is the topic in the MQTT unique?
@msmadaram
@msmadaram 5 жыл бұрын
have you ever work on android broker such as moquette or something like that ?
@robertogarcia4637
@robertogarcia4637 6 жыл бұрын
Hello Rui, thank you very much for this instructional. I am currently working in a document about application layer protocols in IoT and I'm struggling with some topics (I'm a Industrial Engineerig). Where can I grab some resources about this topic. Saludos desde Guatemala, muchas gracias
@srinidhiskanda754
@srinidhiskanda754 5 жыл бұрын
Hi thanks for the tutorial What's difference between ros [ robot operating system] and mqtt is both are same
@kaykann7880
@kaykann7880 7 жыл бұрын
Muito obrigado Santos. I also downloaded your free books.
@tonyfreeman8609
@tonyfreeman8609 5 жыл бұрын
Thank you so much!!! it is so clear!!!, are you French? Merci!
@RuiSantosdotme
@RuiSantosdotme 5 жыл бұрын
I'm Portuguese (from Porto, Portugal). I'm glad the video helped!
@tonyfreeman8609
@tonyfreeman8609 5 жыл бұрын
@@RuiSantosdotme haha,sorry, i am currently study in Italy, we are closed. Obrigado!
@bombom4302tt
@bombom4302tt 5 жыл бұрын
thank you man :)
@matheusfrancisco1372
@matheusfrancisco1372 8 жыл бұрын
but by the fact that you need a Broker, doesn't it deny the concept of IOT(things processing and passing messages by themselves)?
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
I see your point, with MQTT all your devices can still process all the messages, if they are all subscribed to the same topic, but they need to be connected to the broker. Thanks
@MoonDesignDev
@MoonDesignDev 2 жыл бұрын
...but what's the "mq" mean?
@hetshah9742
@hetshah9742 4 жыл бұрын
hey, you are author of some kind of books on amazon kindle?
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
Which ebooks? Can you post a link to the ebook?
@JoseGustavoAbreuMurta
@JoseGustavoAbreuMurta 8 жыл бұрын
What is MQ ? Thank You for your tutorials. Congratulations.
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
MQTT stands for MQ Telemetry Transport
@Slider2732
@Slider2732 8 жыл бұрын
Message Query ?
@JoseGustavoAbreuMurta
@JoseGustavoAbreuMurta 8 жыл бұрын
Message Queuing Telemetry Transport . Thank you. pt.wikipedia.org/wiki/MQTT
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
Yes, I think you're right and it's called: "Message Queuing Telemetry Transport". According to the official website, a few years ago MQ didn't stand for anything: mqtt.org/faq read the first common question "MQTT stands for MQ Telemetry Transport." Since it was adopted as a standard protocol, it has been renamed and it's now called: "Message Queuing Telemetry Transport" www.oasis-open.org/committees/tc_home.php?wg_abbrev=mqtt
@cri8tor
@cri8tor 6 жыл бұрын
I'm new to all this and greatly appreciate your tutorial, but I'm also suspicious of this technology. Are there a lot of MQTT Brokers, are they fee based and are there MQTT Brokers that should be avoided? Once a device like a motion sensor and/or camera is setup using an ESP8266, can MQTT Brokers access the router and/or modem to intercept data transferred from other devices for the purpose of data mining?
@mudassirfaiz2546
@mudassirfaiz2546 6 жыл бұрын
Thanks!
@asifadam93
@asifadam93 6 жыл бұрын
Super, thanks
@RuiSantosdotme
@RuiSantosdotme 6 жыл бұрын
You're welcome. Thanks for watching!
@hassanlaghbi7047
@hassanlaghbi7047 6 жыл бұрын
thank you!
@warxero123
@warxero123 8 жыл бұрын
Hi Rui, I dont understand a thin: 1. the broker is in the ability to save the information, for after send to a subscriber ? 2. Or Is It all in real time? 3. A question for solution this, for example, I have that develop a code that it conects as subscriber and saved the information? Help me, please!
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
1) No, the broker only transmits the data to all subscribed devices 2) Yes, it's real time 3) The subscribed device/client should be the one saving the data
@edilmarlulab1981
@edilmarlulab1981 4 жыл бұрын
So it's like API?
@mehrdaddowlatabadi2319
@mehrdaddowlatabadi2319 7 жыл бұрын
is slides available to download?
@mostinho7
@mostinho7 5 жыл бұрын
done thanks
@heliodoro58
@heliodoro58 8 жыл бұрын
Obrigado Rui, Could you make a video connecting the mqtt with multiple sonoff devices? Thanks
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
Vou fazer o conceito para varias ESPs. O conceito do sonoff será igual
@sandeshskc
@sandeshskc 6 жыл бұрын
is AMQ a broker?
@amackzie
@amackzie 4 жыл бұрын
MQTT does not actually stand for MQ Telemetry Transport, that was its former definition but the primary focus of the protocol has changed from proprietary embedded systems to open Internet of Things (IoT) use cases. MQTT is no longer considered an acronym. MQTT is simply the name of the protocol. Read more about this here www.hivemq.com/blog/mqtt-essentials-part-1-introducing-mqtt/
@RuiSantosdotme
@RuiSantosdotme 4 жыл бұрын
Thanks for the tips. At the time of recording this video what I said was true, but as you said it had changed a few years ago.
@EngBilal-pg8os
@EngBilal-pg8os 8 жыл бұрын
can connect gsm with this tutorials??
@patrickrobinson317
@patrickrobinson317 7 жыл бұрын
Thanks !!!!
@brunorosa1605
@brunorosa1605 7 жыл бұрын
Boa noite Rui, sou um novato neste mundo da domótica e gostaria de saber se eu ao criar o meu próprio broker o posso acessar através de qualquer lado ou se continuo a estar restringido ao meu router de casa. Obrigado e bom vídeo!
@RuiSantosdotme
@RuiSantosdotme 7 жыл бұрын
Depende de onde o router tiver instalado, se for num Raspberry Pi local está restrito ao router de casa. Se instalares MQTT broker num servidor Linux (por exemplo no Digital Ocean), consegues aceder o broker de qualquer parte.
@brunorosa1605
@brunorosa1605 7 жыл бұрын
Rui Santos, muito obrigado pelo resposta! Então quer dizer que não há maneira de ter isso instalado de borla, correto? Teremos sempre de pagar o servidor
@RuiSantosdotme
@RuiSantosdotme 7 жыл бұрын
Podes também abrir as portas do router para permitir que o teu broker esteja disponível online. Mas o mais seguro seria utilizar um servidor externo ou um MQTT cloud broker grátis
@brunorosa1605
@brunorosa1605 7 жыл бұрын
Mais uma vez muito obrigado pelas respostas e pela rapidez das mesma. Bom trabalho e boa continuação do mesmo!
@WeconTechnology
@WeconTechnology 2 жыл бұрын
Wecon V-BOX can support MQQT connect to most of PLC BRANDS.
@ahmedadeli9405
@ahmedadeli9405 7 жыл бұрын
hello my friend how make your dashboard node-red public for access by anyone on the web pleas help me no one tel me how i slove this probleme pleaz help and explain in detail
@tapiraiverde
@tapiraiverde 4 жыл бұрын
I would like to know how to protect with login and password the interface 1880 / ui dashboard in nodered I cannot find this information anywhere! I have the nodered installed in a VPS anybody enters and can control my automation how to solve it?
@kevinrowe2454
@kevinrowe2454 5 жыл бұрын
Can someone please explain in a few words the advantages and disadvantages of MQTT vs simply serving JSON data from your device based on the given HTTP request?
@RuiSantosdotme
@RuiSantosdotme 5 жыл бұрын
In summary, MQTT is the best option for IoT devices (microcontrollers) with limited resources. It also has the advantage of multiple clients receiving the same published message (when they are subscribed to the same topic). It's very reliable to establish a two way communication in MQTT and the broker ensures that all messages are properly distributed to the clients. There are many other advantages, but in my opinion these are the most important.
@minazare5118
@minazare5118 3 жыл бұрын
مرسی !
@BradleyHerbst
@BradleyHerbst 8 жыл бұрын
In another video show how to get mqtt working on an esp8266 so the clients don't have to have expensive an raspberry pi attached to them.
@RuiSantosdotme
@RuiSantosdotme 8 жыл бұрын
Hi, you can use a cloud MQTT broker and you don't need to use the Raspberry Pi as a broker
@kausvirtus5136
@kausvirtus5136 7 жыл бұрын
Muito interessante
@its-now-or-never-242
@its-now-or-never-242 4 жыл бұрын
isn't this exactly like Kafka ?
@HopkinsSusanna
@HopkinsSusanna 3 ай бұрын
3380 Wilderman Mission
@RuthLynn-o9j
@RuthLynn-o9j 4 ай бұрын
208 Kuphal Trail
@JudyWashko-i1i
@JudyWashko-i1i 4 ай бұрын
Newell Forges
@EvanLage-j5v
@EvanLage-j5v 3 ай бұрын
Mckenna Park
@philipmansfield7761
@philipmansfield7761 3 ай бұрын
006 Libby Rue
@ratbagley
@ratbagley 3 жыл бұрын
Message Queue Telemetry Transport
@dimakim-n6c
@dimakim-n6c 3 ай бұрын
Rodriguez Edward Thompson Gary Hall Matthew
@DonnaWilliams-n5r
@DonnaWilliams-n5r 3 ай бұрын
Rodriguez Melissa Wilson Laura Hernandez Laura
@PhyllisLoyd-z4x
@PhyllisLoyd-z4x 4 ай бұрын
Swift Coves
@dijims856
@dijims856 6 жыл бұрын
That is exactly same in p2p server!!!
@NancyMendozai
@NancyMendozai 4 ай бұрын
Garcia Angela Miller Barbara Gonzalez Amy
@MarkBenson-b3o
@MarkBenson-b3o 4 ай бұрын
Bednar Turnpike
@WalkerVirgil-i6q
@WalkerVirgil-i6q 4 ай бұрын
Jackson Scott Martinez Melissa Harris Maria
@jonnyc2.047
@jonnyc2.047 7 жыл бұрын
This wasn't the video I wanted to say I wanted to know what's the best way to add Wi-Fi to a rock 64 nine Wi-Fi unit nobody is put this one topic there only 30 bucks
How to Get Started with MQTT
13:38
Opto Video
Рет қаралды 413 М.
What is MQTT? - Part I - The Foundation
12:42
4.0 Solutions
Рет қаралды 41 М.
To Brawl AND BEYOND!
00:51
Brawl Stars
Рет қаралды 17 МЛН
Правильный подход к детям
00:18
Beatrise
Рет қаралды 11 МЛН
UFC 310 : Рахмонов VS Мачадо Гэрри
05:00
Setanta Sports UFC
Рет қаралды 1,2 МЛН
What is MQTT Protocol and how it works in IoT Projects
5:43
BINARYUPDATES
Рет қаралды 35 М.
MQTT with a Raspberry Pi and an Arduino
19:34
Gary Explains
Рет қаралды 74 М.
What is MQTT Protocol ? How it works ? | 2022
7:19
IT and Automation Academy
Рет қаралды 116 М.
Raspberry Pi IoT Server Tutorial: InfluxDB, MQTT, Grafana, Node-RED & Docker
12:32
Learn Embedded Systems
Рет қаралды 246 М.
HTTP, WS & MQTT for IoT
17:21
Techbeast.org
Рет қаралды 59 М.
What is an MQTT Broker Clearly Explained
10:11
Opto Video
Рет қаралды 198 М.
Simple ESP32 IoT Sensor Node Tutorial: WiFi Enabled MQTT Sensor Data Node
10:58
Learn Embedded Systems
Рет қаралды 60 М.
What is MQTT | MQTT Essentials Part 1
6:26
HiveMQ
Рет қаралды 94 М.