Это видео недоступно.
Сожалеем об этом.

What is MQTT and How It Works

Поделиться
HTML-код
  • Опубликовано: 14 авг 2024
  • For a written version of this video and extra resources, visit ► randomnerdtuto...
    Go to this link to see all my tutorials ► randomnerdtuto...
    Like my page on Facebook:
    / randomnerdtutorials
    Add me on Google+:
    plus.google.co...
    Follow me on twitter:
    / ruisantosdotme
    Subscribe for more projects like this!
    bit.ly/subscrib...

Комментарии • 139

  • @RuiSantosdotme
    @RuiSantosdotme  6 лет назад +25

    For a written version of this video and extra resources, visit my blog ► randomnerdtutorials.com/what-is-mqtt-and-how-it-works/

  • @reme2493
    @reme2493 7 лет назад +45

    First class tutorial on how the mqtt framework works, clear to follow and no wondering off topic

    • @RuiSantosdotme
      @RuiSantosdotme  7 лет назад +1

      Thanks for your kind words. I'm glad it was helpful!

  • @zeno_aratus
    @zeno_aratus 3 года назад +2

    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  3 года назад

      I'm glad you found it helpful! Thanks for your honest feedback!

  • @fpser4888
    @fpser4888 2 года назад +3

    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

  • @marcelbron6128
    @marcelbron6128 4 года назад +11

    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!

  • @MuslumBerdibek
    @MuslumBerdibek 2 года назад +1

    I watched several video but i couldnt understand. You are the best narrator about this topic.

  • @asdfgh9209
    @asdfgh9209 Год назад +1

    Your explanation is simple, clear and perfect keep going ;)
    Respect from Syria

  • @isurujn
    @isurujn 5 лет назад +12

    Short and concise intro. Thank you.

  • @Pravallika_0000
    @Pravallika_0000 24 дня назад

    If I haven't watched it till the end I would have never known it's real time application.....thankyou ji

  • @wardrich
    @wardrich 4 года назад +1

    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  4 года назад +1

      You're welcome. I'm glad it was helpful!

  • @harmssam
    @harmssam 3 года назад +1

    Great intro!

  • @Mysteria9
    @Mysteria9 2 года назад

    Very well explained to me who is a complete beginner, thank you!

  • @joseantoniogarcia7488
    @joseantoniogarcia7488 5 лет назад +1

    Excellent video, simple, clear and concrete, congrats!

  • @abduMalik070
    @abduMalik070 2 года назад

    Great and simple exploration brother...

  • @user-sy3io4hg8b
    @user-sy3io4hg8b Год назад

    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.

  • @t4ir1
    @t4ir1 3 года назад +2

    Obrigado Rui! Os teus videos são muito bons, ajudaram-me bastnte no meu projecto.
    Um abraço!

  • @carlosfranceschini205
    @carlosfranceschini205 7 лет назад +4

    Great introduction to MQTT, Rui!

  • @javierguerrerob
    @javierguerrerob 4 года назад

    Great Job Rui! Thanks for you support!

  • @kamalkumar-ew8ry
    @kamalkumar-ew8ry 6 лет назад

    Very quick introduction and very nice. Thanks for this video.

  • @sujitramesh9392
    @sujitramesh9392 7 лет назад

    Very nice and simple explanation. Thank you very much Rui.

  • @80871445
    @80871445 3 года назад +1

    Really nice explanation, very clear. thank you!

  • @vanluutran726
    @vanluutran726 Год назад

    The information is so clear, thank you for the very helpful video

  • @TheKverbeeck
    @TheKverbeeck 3 года назад

    crystal clear explanation, thx Rui 👍👍👍

  • @pdp8a
    @pdp8a 5 лет назад

    Excellent, excellent, excellent introduction to MQTT!

  • @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 :)

  • @shaheerkk
    @shaheerkk 2 года назад +1

    Nice and simple

  • @zeynabrahimi5591
    @zeynabrahimi5591 4 года назад

    A very useful and clear explanation. Thanks a lot.

    • @RuiSantosdotme
      @RuiSantosdotme  4 года назад

      You're welcome! I'm glad it was easy to follow

  • @noealves8400
    @noealves8400 7 лет назад +4

    obrigado pelo video Rui. muito interessante. belos slides também.

  • @hoiweng
    @hoiweng Год назад +1

    Great video!

  • @h3ctor1991
    @h3ctor1991 4 года назад

    Great video, thanks! i liked how you explained the concept. You're right!

  • @sempi968
    @sempi968 2 года назад

    Thank you for these explanation

  • @maxcederhage
    @maxcederhage 3 года назад

    Thanks for sharing. Exactly what I needed

    • @RuiSantosdotme
      @RuiSantosdotme  3 года назад

      You're welcome. I'm glad it was helpful!

  • @saiakhilr7772
    @saiakhilr7772 Год назад

    Glad to find this, thanks :)

  • @WeconTechnology
    @WeconTechnology 2 года назад

    Wecon V-BOX can support MQQT connect to most of PLC BRANDS.

  • @ggeducation9544
    @ggeducation9544 4 года назад

    Verry good educational video, well explained!

  • @HolyManta
    @HolyManta 5 лет назад

    very good explanation, thank you

  • @RAM9031
    @RAM9031 7 лет назад

    Great my friend I'll be waiting for more videos.

  • @wekekke
    @wekekke 3 года назад

    great video. Thanks to you for sharing

  • @engineerkca2232
    @engineerkca2232 5 лет назад

    VERY WELL EXPLAINED

  • @meetmeer
    @meetmeer 11 месяцев назад

    cool stuff, thanks man

  • @srinidhiskanda754
    @srinidhiskanda754 4 года назад

    Hi thanks for the tutorial
    What's difference between ros [ robot operating system] and mqtt is both are same

  • @sefatanam
    @sefatanam 2 года назад

    you are great !

  • @hetismaarten7834
    @hetismaarten7834 4 года назад

    amazing! helped me a lot

  • @KAEV666
    @KAEV666 3 года назад

    is it possible to direct access to mqtt url? if possible it is Vulnerability i guess

  • @ExplainingMathematics
    @ExplainingMathematics 7 лет назад

    you lured me in hahah subscribed.

  • @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

  • @duartedias3460
    @duartedias3460 6 лет назад +1

    Grande Rui!

  • @anadani81917
    @anadani81917 3 года назад +1

    Excelente vídeo! Muito bom :)

  • @GeertDroid
    @GeertDroid 5 лет назад

    What about the video Node Red and MQTT as you mentioned at the and of this video?

  • @jamescathode6917
    @jamescathode6917 4 года назад

    Is home/office/lamp a single topic separated by '/' ?

  • @omarcruz6326
    @omarcruz6326 3 года назад

    Great Video.
    Thanks !

  • @ioanniskyriakidis1495
    @ioanniskyriakidis1495 5 лет назад

    Is there a follow up on this excellent intro?

  • @amrmanchester2008
    @amrmanchester2008 6 лет назад

    Good Explanation ....thanks :)

  • @kaykann7880
    @kaykann7880 6 лет назад

    Muito obrigado Santos. I also downloaded your free books.

  • @msmadaram
    @msmadaram 5 лет назад

    have you ever work on android broker such as moquette or something like that ?

  • @tapiraiverde
    @tapiraiverde 3 года назад

    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?

  • @AdvancedSoul
    @AdvancedSoul 5 лет назад

    Olá Rui, bom vídeo!

  • @andrewmakenzi
    @andrewmakenzi 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.

  • @plourenco
    @plourenco 6 лет назад +15

    Vi logo que era Português pelo sotaque eheh ;)

    • @RuiSantosdotme
      @RuiSantosdotme  6 лет назад +3

      Não dá para enganar xD

    • @the_perigoso
      @the_perigoso 6 лет назад

      tambem me pareceu ahah esbetaclo

    • @vitorlory
      @vitorlory 6 лет назад +1

      Também podia ser Russo, muito parecido ;-)

    • @vitorlory
      @vitorlory 6 лет назад

      Obrigado pelo video, Rui!

    • @jp_engineer
      @jp_engineer 5 лет назад

      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

  • @warxero123
    @warxero123 7 лет назад

    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  7 лет назад

      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

  • @mostinho7
    @mostinho7 4 года назад

    done thanks

  • @EngBilal-pg8os
    @EngBilal-pg8os 7 лет назад

    can connect gsm with this tutorials??

  • @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

  • @mudassirfaiz2546
    @mudassirfaiz2546 6 лет назад

    Thanks!

  • @radhikeshsingh3255
    @radhikeshsingh3255 6 лет назад

    where do I get other video related to MQTT?

  • @minazare5118
    @minazare5118 2 года назад

    مرسی !

  • @bombom4302tt
    @bombom4302tt 4 года назад

    thank you man :)

  • @hassanlaghbi7047
    @hassanlaghbi7047 6 лет назад

    thank you!

  • @edilmarlulab1981
    @edilmarlulab1981 4 года назад

    So it's like API?

  • @mehrdaddowlatabadi2319
    @mehrdaddowlatabadi2319 6 лет назад

    is slides available to download?

  • @cri8tor
    @cri8tor 5 лет назад

    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?

  • @heliodoro58
    @heliodoro58 7 лет назад

    Obrigado Rui, Could you make a video connecting the mqtt with multiple sonoff devices?
    Thanks

    • @RuiSantosdotme
      @RuiSantosdotme  7 лет назад +1

      Vou fazer o conceito para varias ESPs. O conceito do sonoff será igual

  • @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.

  • @huddensinyuan364
    @huddensinyuan364 7 лет назад +1

    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  7 лет назад

      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 7 лет назад

      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?

  • @matheusfrancisco1372
    @matheusfrancisco1372 7 лет назад +1

    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  7 лет назад +1

      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

    • @podotresno
      @podotresno 7 лет назад

      You're right dude, but brokers has many advantages such as eliminate the need of static IP addr, if your devices installed on the remote area you can use GSM/3G modem which has dynamic IP addresses
      and also broker reduce processing power and memory need if your devices connected to many other devices

  • @brunorosa1605
    @brunorosa1605 6 лет назад +1

    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  6 лет назад

      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 6 лет назад

      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  6 лет назад

      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 6 лет назад

      Mais uma vez muito obrigado pelas respostas e pela rapidez das mesma. Bom trabalho e boa continuação do mesmo!

  • @JoseGustavoAbreuMurta
    @JoseGustavoAbreuMurta 7 лет назад

    What is MQ ? Thank You for your tutorials. Congratulations.

    • @RuiSantosdotme
      @RuiSantosdotme  7 лет назад

      MQTT stands for MQ Telemetry Transport

    • @Slider2732
      @Slider2732 7 лет назад

      Message Query ?

    • @JoseGustavoAbreuMurta
      @JoseGustavoAbreuMurta 7 лет назад

      Message Queuing Telemetry Transport . Thank you.
      pt.wikipedia.org/wiki/MQTT

    • @RuiSantosdotme
      @RuiSantosdotme  7 лет назад +1

      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

  • @asifadam93
    @asifadam93 6 лет назад

    Super, thanks

  • @sandeshskc
    @sandeshskc 6 лет назад

    is AMQ a broker?

  • @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?

  • @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!

  • @BradleyHerbst
    @BradleyHerbst 7 лет назад

    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  7 лет назад

      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 ?

  • @ratbagley
    @ratbagley 2 года назад

    Message Queue Telemetry Transport

  • @dijims856
    @dijims856 5 лет назад

    That is exactly same in p2p server!!!

  • @jonnyc2.047
    @jonnyc2.047 6 лет назад

    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

  • @erfanshayegani3693
    @erfanshayegani3693 5 лет назад

    wowwwwwwwwwwwwww

  • @CrazyCoupleDIY
    @CrazyCoupleDIY 5 лет назад

    You just confused me

  • @SriRam-dv6mb
    @SriRam-dv6mb 7 лет назад

    MESSAGE QUEUE TELEMETRY TRANSPORT

    • @RuiSantosdotme
      @RuiSantosdotme  7 лет назад +1

      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

  • @patrickrobinson317
    @patrickrobinson317 6 лет назад

    Thanks !!!!