MQTT Tutorial: Part 1 Intro to MQTT

Поділитися
Вставка
  • Опубліковано 15 жов 2024

КОМЕНТАРІ • 8

  • @ameador01
    @ameador01 5 років тому +1

    This is VERY informative! I'm glad you spent the time to put this together and share it with everyone. I am just now really getting into MCU projects with RaspberryPi (RPi), NodeMCUs, other ESP8266 based MCUs, components (relays, temp sensors, etc) as well as working on a LAN centric management system. I had been considering setting up a DB server and coding my devices to update/get data via the DB - but then, in the process of doing an install on a RPi of openHAB, I started seeing more about MQTT and mosquitto. I'm glad I looked into this and am getting such a great introduction to the MQTT server/protocol (as well as so many related resources) instead of spending time re-inventing the wheel! I hope you get more views, likes, and subscriptions - this/you are a great resource!

  • @jamesdouitsis8180
    @jamesdouitsis8180 5 років тому

    Thanks for making this video, it was very well put together and easy to follow along especially for someone who just started looking into MQTT yesterday

  • @MrBobWareham
    @MrBobWareham 3 роки тому

    So do I have to run MQTT on my computer to get the information from my raspberry pi server?

    • @AlanC98
      @AlanC98  3 роки тому +1

      MQTT has a broker or server, and clients. Assuming the MQTT broker, or server is on your Raspberry Pi (the mosquitto broker), and you have programs that are sending data to the MQTT broker (such as a temperature data for example) then you do need some sort of MQTT program (or client) on your computer to get that data.
      An example:
      On the Pi:
      - a python script reads data from a temperature sender and publishes an MQTT message to the broker (also on the pi)
      On your computer:
      - you can run an MQTT client ( such as windows MQTTbox ) and subscribe to that temperature data to see the live updates on your PC
      You could also run a python script on your PC that subscribes to the MQTT data too
      So yes, anywhere you want to receive the MQTT messages (data) you need to run a MQTT client. That client can be a program you download and run, or it can be a python, C++, etc program you write that knows how to communicate with the MQTT broker.

  • @harisgulzar4605
    @harisgulzar4605 4 роки тому

    Thank you very much. That was an excellent demo. I have recently jumped into this field and I hope to watch more videos from you.

  • @davidmccomas9069
    @davidmccomas9069 5 років тому

    Very informative and clearly presented. Thanks You!

  • @lfmtube
    @lfmtube 4 роки тому

    Thank you very much for your video. Really help me to initiate in the matter of communication between devices. It was clear and very well explained

  • @davidtomkins985
    @davidtomkins985 2 роки тому

    It's called "Mosquitto" because of
    M o s Q u i T T o
    Wanted to add - great video.
    This is a field I'm just getting my head around, so thanks for taking the time to explain things in an understandable way.