Skip to content
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. General Discussion
  3. diagram of MQTT Gateway and MQTT Broker in the overall scheme of things ?
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

diagram of MQTT Gateway and MQTT Broker in the overall scheme of things ?

Scheduled Pinned Locked Moved General Discussion
10 Posts 4 Posters 1.2k Views 4 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sionut
    wrote on last edited by
    #1

    Hi,
    I noticed this tutorial here and I don't really understand how all these components work together and what's their role.

    Could anybody explain ? A diagram would help tremendously, if there is one..

    mfalkviddM 1 Reply Last reply
    0
    • S sionut

      Hi,
      I noticed this tutorial here and I don't really understand how all these components work together and what's their role.

      Could anybody explain ? A diagram would help tremendously, if there is one..

      mfalkviddM Online
      mfalkviddM Online
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      Hi @sionut

      If you haven't already, read through the getting started guide. It explains the MySensors components. A mqtt broker can be inserted between a MySensors gateway and a controller, but a mqtt broker is not necessary for MySensors to work.

      1 Reply Last reply
      0
      • S Offline
        S Offline
        sionut
        wrote on last edited by
        #3

        Does this mean that I don't need a gateway at all ? Or you meant that I don't necessarily need an mqtt gateway in particular ?

        1 Reply Last reply
        0
        • G Offline
          G Offline
          Guillermo Schimmel
          wrote on last edited by
          #4

          You definitely need a gateway, it's the only way of connecting the RF24 (or whatever radio you are using) world to the IP/PC world.

          That gateway can either be serial or mqtt.

          I for one use mqtt for everything but it's not mandatory.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            sionut
            wrote on last edited by
            #5

            Perfect. It's clean now. (an MQTT gateway is what I need too)

            One more question: what kind of radio are you using ? The tutorial page for the ethernet gateway mentions RF24, but I understood from other members in the forum (example) that the RF24 doesn't have a very strong signal and that I should use RFM69 instead. However, since I'm a noob on this part, I'm not sure if it's so easy to replace one component with the other.

            G 1 Reply Last reply
            0
            • S sionut

              Perfect. It's clean now. (an MQTT gateway is what I need too)

              One more question: what kind of radio are you using ? The tutorial page for the ethernet gateway mentions RF24, but I understood from other members in the forum (example) that the RF24 doesn't have a very strong signal and that I should use RFM69 instead. However, since I'm a noob on this part, I'm not sure if it's so easy to replace one component with the other.

              G Offline
              G Offline
              grumpazoid
              wrote on last edited by
              #6

              @sionut
              I have just got up and running with a serial (USB) gateway (No MQTT) and 1 sensor. Domoticz detected everything straight away!!!
              I'm using 2.4 radios as they are cheap to start with.

              I also have parts to build an ethernet gateway.

              I am still trying to understand what the benefits are of adding in MQTT. Possibly to use with other non mysensors devices e.g. ESP8266?

              Raspberry Pi 3B - Domoticz + Node Red
              Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
              Arduino Mega, RFLink 433Mhz
              Sonoff/ESP8266/Tasmota switches

              G 1 Reply Last reply
              0
              • G grumpazoid

                @sionut
                I have just got up and running with a serial (USB) gateway (No MQTT) and 1 sensor. Domoticz detected everything straight away!!!
                I'm using 2.4 radios as they are cheap to start with.

                I also have parts to build an ethernet gateway.

                I am still trying to understand what the benefits are of adding in MQTT. Possibly to use with other non mysensors devices e.g. ESP8266?

                G Offline
                G Offline
                Guillermo Schimmel
                wrote on last edited by
                #7

                @grumpazoid I guess it depends on your controller choice. If you are a domoticz user and it works without mqtt I wouldn't do anything else.

                In OpenHAB there are no bindings/connections to mysensors so you have to use MQTT. I'm also a big fan of MQTT and I use it for all kind of connections: vacuum cleaners, owntracks, transmission api, etc.

                G 1 Reply Last reply
                0
                • G Guillermo Schimmel

                  @grumpazoid I guess it depends on your controller choice. If you are a domoticz user and it works without mqtt I wouldn't do anything else.

                  In OpenHAB there are no bindings/connections to mysensors so you have to use MQTT. I'm also a big fan of MQTT and I use it for all kind of connections: vacuum cleaners, owntracks, transmission api, etc.

                  G Offline
                  G Offline
                  grumpazoid
                  wrote on last edited by
                  #8

                  @guillermo-schimmel I have had a look at openHAB but it took me half a day to work out how to get it to send an email. Domoticz seems somewhat easier for a beginner like me. I also like the way it has user accounts built in.

                  I must say I like the idea of communication with a vacuum cleaner. Maybe I need to get that dust sensor ordered?

                  Raspberry Pi 3B - Domoticz + Node Red
                  Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                  Arduino Mega, RFLink 433Mhz
                  Sonoff/ESP8266/Tasmota switches

                  1 Reply Last reply
                  1
                  • G Offline
                    G Offline
                    Guillermo Schimmel
                    wrote on last edited by
                    #9

                    It is indeed a little more complex than other solutions, but on the long run I like it because it is so powerfull and stable.

                    That is another advantadge of MQTT also. You can kind of isolate your devices from the controller. So if I in the future I get tired of openhab, or -hope not- they abandon the development, I could just integrate all the devices over mqtt.

                    But whatever works its the best solution! Good luck with domoticz!

                    P.S. if you want to take a look, here is my vacuum cleaner interface, I'm sure it works perfectly for domoticz

                    https://github.com/guillebot/openhab-sucks

                    1 Reply Last reply
                    1
                    • G Offline
                      G Offline
                      grumpazoid
                      wrote on last edited by grumpazoid
                      #10

                      Thanks...it is starting to make a bit more sense of why I may want to use MQTT.
                      Your Vacuum project looks great.

                      Raspberry Pi 3B - Domoticz + Node Red
                      Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                      Arduino Mega, RFLink 433Mhz
                      Sonoff/ESP8266/Tasmota switches

                      1 Reply Last reply
                      0
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      16

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      Posts


                      Copyright 2019 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                      • Login

                      • Don't have an account? Register

                      • Login or register to search.
                      • First post
                        Last post
                      0
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular