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. Troubleshooting
  3. Multiple NRF24 gateways
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Multiple NRF24 gateways

Scheduled Pinned Locked Moved Troubleshooting
4 Posts 3 Posters 991 Views 3 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.
  • H Offline
    H Offline
    Honza Liška
    wrote on last edited by
    #1

    Hi all. First, let me thank you guys for the awesome work on MySensors - it fits my purpose perfectly and it spared me a lot of time and hassle with some homemade system.

    Now, to my problem: I have my controller (home assistant) running on Raspi with attached NRF24.

    Because we have some thick walls here where I live, from time to time some nodes does not see GW properly. So I thought of adding another gateway (ESP8266 + NRF24) as a second "support" GW.

    However, when I put together my test setup, I found out that my testing node (arduino Nano with some switch and NRF24) seems to register with both gateways - I can see the button widget twice in my Home Assistant GUI and the node status is persisted in two separate status files (each GW has its own status file at the controller's filesystem).

    I tried to set a preferred/static parent node with MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC, but this does not help, as all gateways have a NODE_ID = 0. So no luck there.

    Now I wonder whether this setup is supported at all... or whether I miss some basic concept.

    I do have some ideas how to move on (set up a repeater node instead of another gateway; operate second GW on a different frequency...), but I would like to better understand the principles before I start looking for a solution.

    Thanks in advance for your insight!

    dbemowskD mfalkviddM 2 Replies Last reply
    1
    • H Honza Liška

      Hi all. First, let me thank you guys for the awesome work on MySensors - it fits my purpose perfectly and it spared me a lot of time and hassle with some homemade system.

      Now, to my problem: I have my controller (home assistant) running on Raspi with attached NRF24.

      Because we have some thick walls here where I live, from time to time some nodes does not see GW properly. So I thought of adding another gateway (ESP8266 + NRF24) as a second "support" GW.

      However, when I put together my test setup, I found out that my testing node (arduino Nano with some switch and NRF24) seems to register with both gateways - I can see the button widget twice in my Home Assistant GUI and the node status is persisted in two separate status files (each GW has its own status file at the controller's filesystem).

      I tried to set a preferred/static parent node with MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC, but this does not help, as all gateways have a NODE_ID = 0. So no luck there.

      Now I wonder whether this setup is supported at all... or whether I miss some basic concept.

      I do have some ideas how to move on (set up a repeater node instead of another gateway; operate second GW on a different frequency...), but I would like to better understand the principles before I start looking for a solution.

      Thanks in advance for your insight!

      dbemowskD Offline
      dbemowskD Offline
      dbemowsk
      wrote on last edited by
      #2

      @Honza-Liška Why not set some of your nodes up as repeaters? Check out this link:
      https://www.mysensors.org/download/sensor_api_20#create-repeating-nodes

      Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
      Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

      1 Reply Last reply
      0
      • H Honza Liška

        Hi all. First, let me thank you guys for the awesome work on MySensors - it fits my purpose perfectly and it spared me a lot of time and hassle with some homemade system.

        Now, to my problem: I have my controller (home assistant) running on Raspi with attached NRF24.

        Because we have some thick walls here where I live, from time to time some nodes does not see GW properly. So I thought of adding another gateway (ESP8266 + NRF24) as a second "support" GW.

        However, when I put together my test setup, I found out that my testing node (arduino Nano with some switch and NRF24) seems to register with both gateways - I can see the button widget twice in my Home Assistant GUI and the node status is persisted in two separate status files (each GW has its own status file at the controller's filesystem).

        I tried to set a preferred/static parent node with MY_PARENT_NODE_ID and MY_PARENT_NODE_IS_STATIC, but this does not help, as all gateways have a NODE_ID = 0. So no luck there.

        Now I wonder whether this setup is supported at all... or whether I miss some basic concept.

        I do have some ideas how to move on (set up a repeater node instead of another gateway; operate second GW on a different frequency...), but I would like to better understand the principles before I start looking for a solution.

        Thanks in advance for your insight!

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

        @Honza-Liška welcome to the forum :)

        There can only be one gateway prr MySensors network. Otherwise, you'll get all sorts of strange behavior (of which you have seen some already).

        Repeater(s), other radios (rfm69 usually has better range), or separate networks are the most common solutions.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Honza Liška
          wrote on last edited by
          #4

          Thanks for the info and confirmation! I will then move my testing setup to different frequency and the problems with coverage will resolve with repeaters.

          (I do also have some RFM69 units laying around, but I do not want to use them for the time being due to their bigger footprint)

          1 Reply Last reply
          1
          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