Skip to content
  • MySensors
  • 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. Beginner question: How does the MQTT Gateway communicate with a RFM69 Gateway

Beginner question: How does the MQTT Gateway communicate with a RFM69 Gateway

Scheduled Pinned Locked Moved General Discussion
2 Posts 2 Posters 546 Views 2 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.
  • R Offline
    R Offline
    rjgmba
    wrote on last edited by
    #1

    Hi all, I have a real beginner question and struggling to understand how the different components work together using the info on Mysensor.org just from a concept perspective. I am trying to build an architecture where I use Home Assistant as a controller to use MQTT sensors via RFM69 radio. So I think I need a MQTT gateway, and a RFM69 Gateway, as well as sensors connected to RFM69 radio. I have seen the description of both the MQTT gateway, as well as the RFM69 Gateway:

    • MQTT Gateway: https://www.mysensors.org/build/mqtt_gateway which seems a combination of ethernet GW with MQTT client
    • RFM69 Gateway: https://www.mysensors.org/build/connect_radio which seems a serial gateway(?) with RFM69 radio (but I might be mistaken) -> how does this talk to the MQTT gateway? Does it need to be combined with an ethernet GW?

    I have seen other architectures (other websites) where the RFM gateway is combined with the MQTT gateway, which I can understand. I am struggling to see how the Controller (Home Assistant) communicates with the sensors using MQTT via RFM69 radio but I must be missing something obvious...

    mfalkviddM 1 Reply Last reply
    0
    • R rjgmba

      Hi all, I have a real beginner question and struggling to understand how the different components work together using the info on Mysensor.org just from a concept perspective. I am trying to build an architecture where I use Home Assistant as a controller to use MQTT sensors via RFM69 radio. So I think I need a MQTT gateway, and a RFM69 Gateway, as well as sensors connected to RFM69 radio. I have seen the description of both the MQTT gateway, as well as the RFM69 Gateway:

      • MQTT Gateway: https://www.mysensors.org/build/mqtt_gateway which seems a combination of ethernet GW with MQTT client
      • RFM69 Gateway: https://www.mysensors.org/build/connect_radio which seems a serial gateway(?) with RFM69 radio (but I might be mistaken) -> how does this talk to the MQTT gateway? Does it need to be combined with an ethernet GW?

      I have seen other architectures (other websites) where the RFM gateway is combined with the MQTT gateway, which I can understand. I am struggling to see how the Controller (Home Assistant) communicates with the sensors using MQTT via RFM69 radio but I must be missing something obvious...

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

      @rjgmba hi and welcome to the forum!

      https://www.mysensors.org/build/connect_radio decribes how to connect the radio for any node or gateway - it is not limited to serial.

      A gateway has 1 transport and 1 controller interface.
      The transport can be rfm69, nrf24, rs485, etc
      The controller interface can be serial, ethernet(tcp), mqtt

      So what you want is probably a gateway with rfm69 transport and mqtt controller interface.

      1. Program the gateway based on the instructions on the first link you posted. Change the code from
      // Enables and select radio type (if attached)
      #define MY_RADIO_RF24
      //#define MY_RADIO_RFM69
      //#define MY_RADIO_RFM95
      

      to

      // Enables and select radio type (if attached)
      //#define MY_RADIO_RF24
      #define MY_RADIO_RFM69
      //#define MY_RADIO_RFM95
      
      1. connect the radio based on the instructions on the second link.
      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      10

      Online

      11.7k

      Users

      11.2k

      Topics

      113.1k

      Posts


      Copyright 2025 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
      • MySensors
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular