What is an MQTT Broker Clearly Explained

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 ก.พ. 2019
  • This video takes a deeper look at MQTT to see what the central server, called the "broker", is capable of. The communication model of MQTT offers a lot of benefits over the traditional poll and response model. In this tutorial we'll take a look at an MQTT broker what advantages it can provide for IoT and IIoT applications.
    In this video you will learn:
    - How the MQTT model works
    - What an MQTT broker is and where it can run
    - Useful features and functionality that the broker provides
    - Retain Messages
    - Birth, Death, and Last Will and Testament Messages
    Learn more at
    www.opto22.com
    mqtt.org/
    www.cirrus-link.com/
    training.opto22.com/series/gr...
    www.opto22.com/products/groov...
    All Opto 22 products are designed, manufactured, and supported in the U.S.A. from our Temecula, California headquarters and factory.

ความคิดเห็น • 203

  • @thomasm1964
    @thomasm1964 4 ปีที่แล้ว +150

    Excellent, calm, measured explanation of the subject. No annoying music. No annoying verbal tics. No annoying, flashy editing. No annoying anything!
    Just subscribed.

    • @adalbertoabade
      @adalbertoabade 4 ปีที่แล้ว +4

      best comment. this is how web videos should be, this one is a perfect example by the way.

    • @tehuster
      @tehuster 4 ปีที่แล้ว +3

      Could not have said it better! Liked & dubbel.

    • @rd88elw
      @rd88elw 4 ปีที่แล้ว +1

      I prefer no music because I watch instructional/educational videos at 3x speed (with an extension). Often with closed captioning too. Music really throws it off.

    • @bubblez9266
      @bubblez9266 3 ปีที่แล้ว

      I can only agree. Perfect video tutorial! Just subscribed!

    • @bubblez9266
      @bubblez9266 3 ปีที่แล้ว

      PS, this helped me a lot with my thesis, thank you for that!

  • @bguiles1
    @bguiles1 2 ปีที่แล้ว +1

    This is such a great explanation you barely even notice that the guy starts each sentence in Los Angeles and ends it in Melbourne.

  • @troymclean9301
    @troymclean9301 ปีที่แล้ว +1

    My favorite MQTT Broker explanation...I share this weekly with my customers that want to learn more about MQTT. Great job OPTO 22!

    • @Opto22
      @Opto22  ปีที่แล้ว +1

      Glad it was helpful!

  • @surjist
    @surjist 3 ปีที่แล้ว +6

    This is the clearest explanation to date I have seen and I've been doing IoT since 2004. Going to send it to my students. Love it. So clear, thank you!

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Awesome, thank you!

  • @michaelwest7822
    @michaelwest7822 5 ปีที่แล้ว +4

    Thank you for a very clear and concise explanation...Excellent

  • @samu350
    @samu350 4 ปีที่แล้ว +6

    Enormous help, so much information yet still comprehensible, thank you!

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks Samuel!

  • @vvnnable
    @vvnnable 3 ปีที่แล้ว

    really appreciate the way you have made and edited this video, i likes the way you gave tiny sound to each graphics that makes it look it more alive

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks Vinay! I'm really glad you liked the video. Keep watching.

  • @user-if1xw3dh3b
    @user-if1xw3dh3b 7 หลายเดือนก่อน

    first time ever commenting on the video. Excellent explanation, definitely a keeper !

    • @Opto22
      @Opto22  6 หลายเดือนก่อน

      Awesome, thank you!

  • @beatgerber8895
    @beatgerber8895 5 หลายเดือนก่อน

    I rarely comment however I have to tell you what an amazing job you did on this content.

  • @PsychedelicGuy1
    @PsychedelicGuy1 4 ปีที่แล้ว +4

    That explanation was really good,Thank you

  • @pedro1p0
    @pedro1p0 ปีที่แล้ว +1

    what amazing video, 10 minutes of pure informations, congrats

    • @Opto22
      @Opto22  ปีที่แล้ว

      Much appreciated!

  • @harrysullivan110
    @harrysullivan110 4 ปีที่แล้ว +2

    Great video. Love the pace and the clarity.

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Hi Harry, Keep watching! We've been busy making more tutorial videos.

  • @abyanfernandez9931
    @abyanfernandez9931 5 ปีที่แล้ว +3

    simple and clear. thank you!

  • @valtrann745
    @valtrann745 2 ปีที่แล้ว +6

    Amazing work. Thank you so much. I've never commented before but you can't imagine how helpful your videos are to me as a beginner. I started out with Node-red and have been following your series since then. Keep up the good work.

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Thanks Ha My Tran! We are so glad that you found it helpful. Keep at it!!

  • @sarthakvarshney
    @sarthakvarshney 2 ปีที่แล้ว +2

    Insanely easy to understand video. I understood in a sec. Thanks! Kudos to your work.

    • @Opto22
      @Opto22  2 ปีที่แล้ว +1

      Glad you liked it!

  • @playaspec
    @playaspec 4 ปีที่แล้ว

    EXCELLENT video! Just the sort of lower level feature information other videos seem to gloss over. Thanks!

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks playaspec, Keep watching! We've been busy making more tutorial videos.

  • @rmatveev
    @rmatveev 4 ปีที่แล้ว +6

    I'm always liked to watch your videos: your speach is so clear and structured that after I watched any of your tuts - I feel that I'm already an expert on the topic. Thank you for that!!!

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks!

  • @SME1432
    @SME1432 4 ปีที่แล้ว +4

    Clearly explained indeed..Thank you.

  • @user-be2vh6zt9r
    @user-be2vh6zt9r 5 ปีที่แล้ว +3

    Thank you.Very clear explantion.

  • @aykarageorge
    @aykarageorge 3 ปีที่แล้ว

    Nice and simple explanation, yet covering everything required.

    • @Opto22
      @Opto22  3 ปีที่แล้ว +1

      Glad it was helpful!

  • @ratbagley
    @ratbagley ปีที่แล้ว

    This is a the best explanation of a complex topic. Watching again

    • @Opto22
      @Opto22  ปีที่แล้ว

      Thanks so much!

  • @ardentdfender4116
    @ardentdfender4116 2 ปีที่แล้ว +7

    I’ve got to say that even though I’ve seen a few vids on various people explain MQTT in concept explanation that this is by exceedingly far the most thoughtful, concise, contextual and so well explained video in clarity of all the previous videos I’ve seen on this topic. It’s calmly explained as well. I’ve got a much more through understanding also. My next question is there a low cost device and or software that can be used for the MQTT broker in a PLC System? I’ve seen 1-2 Opto Devices, but I’m not sure what you all have for MQTT oriented broker solution.

  • @hritikdj
    @hritikdj 4 ปีที่แล้ว +2

    Nice work dude !! Clearly explained each concept, Thank you so much

    • @Opto22
      @Opto22  4 ปีที่แล้ว +1

      Most welcome!

  • @orewaminato
    @orewaminato ปีที่แล้ว

    `Clearly Explained`
    I have ADHD and normally I'd lost my focus in the first couple of minutes but I kept watching this video for 10mins.

    • @Opto22
      @Opto22  ปีที่แล้ว +1

      Great to hear!

  • @keslauche1779
    @keslauche1779 2 ปีที่แล้ว

    wow this is the best video on TH-cam, you helped start my PhD hitting the ground running

    • @Opto22
      @Opto22  ปีที่แล้ว

      Great to hear!

  • @stephenhilton5820
    @stephenhilton5820 3 ปีที่แล้ว

    Thanks. I just came looking for MQTT primer and yours is excellent! Will be checking out your other videos as time permits.

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Awesome! Thank you!

  • @gereldynquizora3598
    @gereldynquizora3598 10 หลายเดือนก่อน

    Very helpful. Thank you!

  • @adamwragg12
    @adamwragg12 3 ปีที่แล้ว +1

    Very clear and informative, thanks! 👍

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Glad you enjoyed it! Thanks for watching

  • @jagdishshetty4782
    @jagdishshetty4782 4 ปีที่แล้ว +3

    Great explanation !!! Thx !!!

  • @ZackScriven
    @ZackScriven 5 ปีที่แล้ว +23

    This content is so good.

    • @Opto22
      @Opto22  5 ปีที่แล้ว +3

      Thanks Zack! That means a lot coming from you.

  • @Jukalihaha123
    @Jukalihaha123 4 ปีที่แล้ว +2

    Keep going with the excellent work that you do.

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Hi Fernando, We're busy making more MQTT tutorial videos. Keep watching this space! More new videos coming out every week.

  • @MetTurtle818
    @MetTurtle818 ปีที่แล้ว +1

    Thanks, really helpful intro. I've been trying to find something like this....easy to listen to and understand

    • @Opto22
      @Opto22  ปีที่แล้ว

      Glad it was helpful!

  • @harikrishnak3752
    @harikrishnak3752 3 ปีที่แล้ว

    short and straight video nice

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks!

  • @przd3502
    @przd3502 ปีที่แล้ว +1

    perfectly explained. Thank you

    • @Opto22
      @Opto22  ปีที่แล้ว

      Glad it was helpful!

  • @farazkhan107
    @farazkhan107 ปีที่แล้ว

    Thanks for your efforts and quality content. While watching I thought that the video must be about to end because who shares all that for free but I wasn't even halfway into the video. Thanks again. :)

    • @Opto22
      @Opto22  ปีที่แล้ว

      So nice of you

  • @sanderbloem661
    @sanderbloem661 2 ปีที่แล้ว +1

    Awesome video! thank you!

    • @Opto22
      @Opto22  ปีที่แล้ว +1

      My pleasure!

  • @ovalwingnut
    @ovalwingnut 2 ปีที่แล้ว

    Now "that" is how you explain a system correctly. OUTSTANDINGLY EXCELLENT :O) Thank you.

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      You're the best!! Thanks for the love!

  • @Danchoys
    @Danchoys 2 ปีที่แล้ว

    Awesome video! Very clear and informative

    • @Opto22
      @Opto22  2 ปีที่แล้ว +1

      Glad it was helpful!

  • @bergaouikais5951
    @bergaouikais5951 4 ปีที่แล้ว +4

    I have an exam on IoT in few hours, this video helped a lot thank you 5/5

  • @z8ty
    @z8ty 3 ปีที่แล้ว

    Great video. I needed this. So very well done. Thank you.

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Glad it was helpful!

  • @stevesfascinations1516
    @stevesfascinations1516 4 ปีที่แล้ว

    Thanks for sharing the information. Loved the way you made the video. Thumbs up and subscribed!

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Awesome, thank you!

  • @rursus8354
    @rursus8354 4 ปีที่แล้ว +1

    Nice! I can use that for my lecture on MQTT.

  • @jakomuya6444
    @jakomuya6444 2 ปีที่แล้ว +1

    perfectly explained. welldone for the good work👏👏

    • @Opto22
      @Opto22  ปีที่แล้ว

      Thanks and welcome

  • @rasmuslarsson8454
    @rasmuslarsson8454 ปีที่แล้ว

    Brilliant content, thank you.

    • @Opto22
      @Opto22  ปีที่แล้ว

      Glad you enjoyed it!

  • @PeterCogen
    @PeterCogen 2 ปีที่แล้ว +1

    Excellent work !

    • @Opto22
      @Opto22  ปีที่แล้ว

      Thanks so much!!!

  • @MrWireguy
    @MrWireguy 2 ปีที่แล้ว +1

    Well done. Very clear. No fluff.

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Glad you liked it!

  • @silverian
    @silverian 2 ปีที่แล้ว

    Thanks for great explanation!

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Glad it was helpful!

  • @learningcurve7498
    @learningcurve7498 4 ปีที่แล้ว +1

    Nice....Finally a good explanation

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks for the support!

  • @mrgehring2
    @mrgehring2 3 ปีที่แล้ว

    outstanding video, super clear explanation

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Much appreciated!

  • @rickbronx8528
    @rickbronx8528 2 ปีที่แล้ว +1

    Amazing again. Thanks

    • @Opto22
      @Opto22  ปีที่แล้ว

      Thanks so much!!!

  • @FreestyleTraceur
    @FreestyleTraceur 2 ปีที่แล้ว

    This is super helpful, thank you!

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Glad it was helpful!

  • @solidstatecode
    @solidstatecode 4 ปีที่แล้ว

    Very valuable video. Thank you.

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Glad you think so!

  • @fadedream
    @fadedream 2 ปีที่แล้ว

    You are absolutely awesomeness bud!!

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      You rock!

  • @sanmitram4172
    @sanmitram4172 7 หลายเดือนก่อน

    Awesome video.. 👍🏻👍🏻
    Thank you..

    • @Opto22
      @Opto22  6 หลายเดือนก่อน

      Thank you too!

  • @MMKurdia
    @MMKurdia 3 ปีที่แล้ว

    AMAZING VIDEO, Thank you very much.

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Glad you liked it! Thank you!

  • @Major7Sharp5
    @Major7Sharp5 4 ปีที่แล้ว +1

    again! wow! what a nice video! love it!

    • @Opto22
      @Opto22  4 ปีที่แล้ว +1

      Thanks! You're the best.

  • @kostyabakay
    @kostyabakay 4 ปีที่แล้ว

    Excellent explanation!

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Glad it was helpful!

  • @atmikes1
    @atmikes1 4 ปีที่แล้ว

    Excellent, thanks for sharing !

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Glad you enjoyed it

  • @mohan1519
    @mohan1519 3 ปีที่แล้ว

    pretty cool explanation !! Thanks :)

    • @Opto22
      @Opto22  3 ปีที่แล้ว +1

      That's awesome - super thanks!

  • @vladimirzz93
    @vladimirzz93 4 ปีที่แล้ว

    Such a great video, thanks a lot! >

    • @Opto22
      @Opto22  4 ปีที่แล้ว +1

      Glad you enjoyed it!

  • @16bitdude36
    @16bitdude36 ปีที่แล้ว +1

    very well explained

    • @Opto22
      @Opto22  ปีที่แล้ว

      Glad you think so!

  • @jiangxu3895
    @jiangxu3895 3 ปีที่แล้ว

    Well explained what I want to know, Thanks!!

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Glad it was helpful!

  • @cowboyskevin8121
    @cowboyskevin8121 2 ปีที่แล้ว

    great explanation

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Glad you think so!

  • @omarcruz6326
    @omarcruz6326 3 ปีที่แล้ว +1

    Great explanation.

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Glad you liked it

  • @or9796
    @or9796 4 ปีที่แล้ว

    Nice tutorial.

  • @lomeshwasake1298
    @lomeshwasake1298 4 ปีที่แล้ว

    Perfect explanation

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks! You're the best.

  • @Max-bw3ov
    @Max-bw3ov 3 ปีที่แล้ว

    i really love your videos and you

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks Max we really appreciate it.

  • @tusharniras
    @tusharniras 3 ปีที่แล้ว

    Good Stuff! subscribed !

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks for the sub!

  • @Teesbege
    @Teesbege 4 ปีที่แล้ว

    very well explained👍

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thank you 😃

  • @jahangirhossain4343
    @jahangirhossain4343 2 ปีที่แล้ว

    Excellent .

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Many thanks!

  • @oswevega2939
    @oswevega2939 6 หลายเดือนก่อน

    subscribed indeed ! u rock !

    • @Opto22
      @Opto22  6 หลายเดือนก่อน

      Thanks so much!

  • @ratbagley
    @ratbagley 2 ปีที่แล้ว +2

    Well done.

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Thanks Jeff!

  • @kobertolober
    @kobertolober 5 ปีที่แล้ว +3

    you made my day

  • @Major7Sharp5
    @Major7Sharp5 4 ปีที่แล้ว

    what a nice explanation about brokers and mqtt functionality! great! good work! May i use your the video info (w/the correspondig intelectual property credits) in a document i'm working on? thank you in advance!

  • @Andrew-rc3vh
    @Andrew-rc3vh 2 ปีที่แล้ว

    You have a star network in your example but a popular thing these days is a mesh network. One main advantage of a mesh is the ability to relay messages and the other advantage is it is decentralised so you can tap into the mesh in an adhoc way, able to send controls from any node to any other node with all nodes identical on the network layer. I wonder if MQTT can be used in a mesh. My interest in it is to control the network over the internet using AWS or similar. This is because most people use a dynamic IP address so it gets around that problem.

  • @Deekudla
    @Deekudla 2 ปีที่แล้ว

    Amazing video. Nice explanation. Suppose devices from the factory want to send messages to the cloud where we will deploy the broker? Is it a customers factory server or a cloud server? what is the best practice? High level diagram of real time use case would help

  • @bdyt1001
    @bdyt1001 4 ปีที่แล้ว

    Very good video, now bookmarked! Came here following references originating from home-assistant.io, which I'm just learning.

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Glad it was helpful!

  • @alanblyde8502
    @alanblyde8502 3 ปีที่แล้ว

    Well explained 🇦🇺👍

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks 👍

  • @danieldewindt3919
    @danieldewindt3919 4 ปีที่แล้ว +1

    Thank you verry much.

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks! Keep watching

  • @GregHassler
    @GregHassler ปีที่แล้ว

    Great video. Only question is where is authentication defined? Does each client need a unique uname/pword or can multiple clients share one? If shared, how are clients identified uniquely?

  • @boolve
    @boolve 2 ปีที่แล้ว +1

    Amazing. Thanks

    • @boolve
      @boolve 2 ปีที่แล้ว

      Maybe I would like to hear is what type of messages can be send, what type of data?

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Thank you too!

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      Great suggestion!

  • @airborneworks6103
    @airborneworks6103 4 ปีที่แล้ว

    Great explanation, we are attempting to use this protocol I have wondered how it works. Can anyone tell me if there are networks of IOT developers here with in the USA that we can post a project to?

  • @TheCzemike
    @TheCzemike ปีที่แล้ว

    "Premise" is a proposition, a component in a logical argument; "premises" is land, building, or real estate.

  • @altamashjawad6691
    @altamashjawad6691 2 ปีที่แล้ว

    Can you tell what your opening music is, very nice tune!

  • @alphacoder3822
    @alphacoder3822 3 ปีที่แล้ว

    wow......seems like he loves his work.

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks Alpha coder!

  • @omar10wahab
    @omar10wahab 2 ปีที่แล้ว

    I think some real life implementation for the birth, death and last will messages would be nice to help me understand the purpose a bit better. You have a broad example and I do think the explanations overall and of that was good but I'm having a hard time thinking of the overall use case. Also I was looking into this video regarding trying to learn about mqtt for home assistant and I'm confused how it's not default an mqtt system. I know I don't use topics to send and receive messages but what would using default home assistant communication be called then?

  • @msmadaram
    @msmadaram 4 ปีที่แล้ว +1

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

  • @usamaajm
    @usamaajm 4 ปีที่แล้ว +1

    thank you

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      Thanks for watching!

  • @prashantpatchi
    @prashantpatchi 3 ปีที่แล้ว

    nice vido!

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      Thanks!

  • @msmadaram
    @msmadaram 4 ปีที่แล้ว +1

    have you ever work on android broker such as moquette or something like that ?
    when we have one esp8266 and we want to connet to it with 20 mobile phone what happen?
    each esp8266 or esp 12e can just have 8 TCP/ UDP connection
    what's your idea if we have 20 mobile phones and simultaneous they want to connect to one esp publisher?
    if we run an android broker on one of mobile phones and other connect to it we can connect to esp by one TCP/UDP from broker to esp, is it true?
    have you ever work on android broker such as moquette or something like that ?
    and we don't have any cloud on the net!!!!

  • @RedPython
    @RedPython 2 ปีที่แล้ว

    How come the Certificate is optional for a TLS connection, isn’t that a pre requisite ?

  • @aakashbera2652
    @aakashbera2652 4 ปีที่แล้ว

    Excellent Video to Understand MTTQ.
    Pls Answer
    1 thing I want to ask, which software you use to make this Animation Videos.

    • @Opto22
      @Opto22  4 ปีที่แล้ว +1

      Thanks for watching! We use Final Cut Pro X, After Effects, Cinema 4D and Premier.

    • @aakashbera2652
      @aakashbera2652 4 ปีที่แล้ว

      @@Opto22 Thank You for Your Reply.

  • @taison03251970
    @taison03251970 4 ปีที่แล้ว

    So as example, what could be a broker agent, is Amazon AWS a broker?

  • @starlingwatch3921
    @starlingwatch3921 3 ปีที่แล้ว

    I am working on a wrist watch project and need a way to move 1 to 40 Mbyte data files from an Android and iOS mobile device to the watch over Bluetooth Classic. ESP32 drives the watch. Have you seen a solution? -Frank

  • @JP-vg8vl
    @JP-vg8vl 3 ปีที่แล้ว

    does all mqtt broker supports Retain Messages, Birth, Death, and Last Will and Testament Messages? i am planning to use mosquitto broker and i dont know if it support those functions

  • @tinybyteworld423
    @tinybyteworld423 3 ปีที่แล้ว

    at 7:04 you say retained messages are just a copy of the most recent message. But cant there be more than one? I could swear the Q in MQTT is for queue... Nice video though!

  • @AbhayNayak
    @AbhayNayak 3 ปีที่แล้ว

    From what i understand, MQTT just requires a network to be made, not the actual internet right? I'm using AWS greengrass and planning to have 2 devices communicate locally over mqtt, what would happen if there is no internet connectivity with the cloud?

    • @Opto22
      @Opto22  3 ปีที่แล้ว

      You are correct. MQTT doesn't require the Internet to work; it only requires a TCP/IP-based network, including private LANs, WANs, and cellular networks.

  • @peterking8586
    @peterking8586 3 ปีที่แล้ว

    We developed the Pub-Sub model, which was further developed by IBM & MS.

    • @Opto22
      @Opto22  2 ปีที่แล้ว

      cool

  • @manaswishige3745
    @manaswishige3745 4 ปีที่แล้ว

    MQTT while connected to 1883 port but at port 8883 it shows the TLS/SSL error. Could you please explain why this happens like that?

    • @Opto22
      @Opto22  4 ปีที่แล้ว

      It might be a network configuration issue -- if the client cannot reach the broker across a given network then you can get connection errors. If the connection is 100% working, I would double check the broker security configuration.

  • @andygrichting
    @andygrichting 4 ปีที่แล้ว

    Maybe someone can elaborate on this:
    a security feature of MQTT apparently is, that devices are not aware of other devices due to the publish/subscribe methodology.
    But if the broker sends out Birth/death/LWT messages out to other devices, other devices will become aware of other devices and can notify or attempt reboots. That's a contradiction, isn't it?

    • @Opto22
      @Opto22  4 ปีที่แล้ว +1

      A better way to think of the security feature is that devices are not aware of each other's identity. I may not have your IP address or host name, but if I know what topic you publish your state changes over, I know your status. The topic and message are whatever you choose, they aren't tied to the individual device, so there's some obscurity there.
      Also, if there are some devices that you *don't* want to know about your status changes, just use the access control list (ACL) to prevent other client user accounts from subscribing to those topics.