Raspberry Pi as a MQTT Broker | Cheap MQTT Broker

แชร์
ฝัง
  • เผยแพร่เมื่อ 28 เม.ย. 2020
  • In this video, we will be installing the Mosquitto MQTT broker in Raspberry pi and use it locally; this is the cheapest broker you can have. You can use Raspberry pi 4 or Raspberry pi zero, which is affordable yet powerful.
    read blog: wp.me/pb9JKo-Ac
    In the last video, we discussed what MQTT is, how it works, and how it was developed. We also discussed the components of MQTT. If you haven't watch that video, Here is the link.
    • MQTT for beginners | W...
    Download MQTT-explorer:
    mqtt-explorer.com/
    Amazon and Banggood Purchase links:
    *****************
    Buy anything from amazon
    amzn.to/2SGees7
    Buy arduino UNO R3
    amzn.to/2zmeipW
    Arduino starter kit with book
    amzn.to/3cg8Svt
    Raspberry pi
    amzn.to/2zjiYx2
    Browse arduino products
    amzn.to/2zgCLx9
    Esp8266 boards
    amzn.to/2WGpOo6
    Arduino many in 1 sensor kit
    amzn.to/3ccMvag
    RFID module
    amzn.to/35Ip06r
    Bangood
    UNOR3 Basic Starter Kits
    www.banggood.com/custlink/3Dm...
    Arduino 37 in 1 sensor modules
    www.banggood.com/custlink/KDK...
    MFRC522 RFID Reader
    www.banggood.com/custlink/KK3...
    Arduino Mega kit (19 % off)
    www.banggood.com/custlink/vmD...
    Basic Electronic kit
    www.banggood.com/custlink/DmG...
    RFID starter kits V2
    www.banggood.com/custlink/3Km...
    Nodemcu ESP8266
    www.banggood.com/custlink/3GG...
    DISCLAIMER: This video and description contain affiliate links, which means that if you click on one of the product links, I will receive a small commission. This helps support the channel and allows me to continue to make videos like this. Thank you for your support!
    ****************
    For More Projects and Tutorials visit our Website:
    www.highvoltages.co
    Follow us on Facebook
    / highvoltagestech
    For business enquires and sponsorships, email me
    highvoltages670@gmail.com
    For Arduino, Raspberry Pi, IoT, and programming projects check my Fiverr profile,
    www.fiverr.com/emmiasim67
    #HowToMQTT #MosquittoRaspberrypi #MosquittoMQTT ---------------------------------------------------------------------------
    --------------------------------------------------------------------------- Hire me on fiverr: www.fiverr.com/emmiasim67 Hire me on Fiverr: www.fiverr.com/s/z2dj0R
    ~-~~-~~~-~~-~
    Please watch: "How to Set Up Wokwi for IoT Simulation in VS Code with PlatformIO"
    • Simulating IoT project...
    ~-~~-~~~-~~-~
  • วิทยาศาสตร์และเทคโนโลยี

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

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

    This playlist is awesome! Super easy to understand. Thank you!

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

    It's really easy to follow!
    Hope you do more videos about this MQTT topic.
    It would be great if you make a tutorial setting up Raspberry Pi as web server to monitor and control devices through MQTT protocol.

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

      Thank you for appreciation. Yes, that is my plan, i will be making a complete Mqtt series in which i will cover webservers, gui and android app. Also later in this series we will be using esp8266, raspberry pi, arduino and other development boards.

  • @satheeshchellan2198
    @satheeshchellan2198 5 วันที่ผ่านมา

    I follow steps one by one but when i try to connect from mqtt explorer I can’t
    (Disconnected from server).

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

    Starting in local only mode. Connections will only be possible from clients running on this machine.
    any help plz i wanna connect with external client like ESP8266 !! plz help

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

    Awesome! 🙂

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

      Thank you for appreciation :)

  • @surendramaharjan3129
    @surendramaharjan3129 8 หลายเดือนก่อน +1

    4:49 I can ping my raspberry pi from ubuntu machine but I cant connect using mqtt explorer. port i am using is 1883 in mqtt explorer. I am doing exactly what you are saying.

    • @noone7692
      @noone7692 22 วันที่ผ่านมา

      did you get any solution to it?

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

    Hi, the MQTT explorer application does not connect to my pi IP address (done everything as per your procedure)....can you tell what I am doing wrong?

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

      There is a mqtt broker running on Pi ?

    • @Winkeltje84
      @Winkeltje84 9 หลายเดือนก่อน

      @@HighVoltages I have the same issue. smqtt broker is running on the Raspberry Pi and is on the same network as the laptop. When trying to connect I keep getting "Disconnected from server". Fyi: I am using a Windows machine.

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

    Thanks!

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

    can i use my RPI as a MQTT broker with KALI LINUX as operating system ?

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

      you can try and let us know.

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

    Will this work on Raspian lite?

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

    please write mqtt in java and connect it to cloud

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

    Can i install mqtt Explorer on raspberry?

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

      I am not sure if they have the Linux version, but you will find others.

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

    have you a méthod to make a distant broker , not localy ?

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

      I will make a video about it.

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

    Can you tell what is the minimum Ram I need to run the mosquito broker? Will the 1 GB pi4 be good for this?

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

    why we used -y flag? what it means?

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

      when you install a library , it asks you again to write y or n for whether you want to continue or not , if we put -y it automatically take yes as our answer.

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

    how to create more MQTT user ?

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

      Like we created one user , we can create multiple users. By typing "mosquitto_passwd -c passwordfile " then type password and confirm it.

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

      @@HighVoltages No no, I was do it. I can't login account first and just login success with account second. I hope you create tutorial about this

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

      ok i will check that and let you know.

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

      @@HighVoltages how's it going ?

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

    can i use Raspberry Pi Pico?

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

      i have not tried but you can try and let us all know.

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

      @@HighVoltages it works

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

      @@boopeshkumarprabhakaran Thanks for letting us know!

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

    Thanks for making it simple to learn.

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

    I follow steps one by one but when i try to connect from mqtt explorer I can’t
    (Disconnected from server)

    • @satheeshchellan2198
      @satheeshchellan2198 5 วันที่ผ่านมา

      i also have the same issue.. any one can help to resolve...