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. Multiple gateways, 2x NRF + 1x RS485 together
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

Multiple gateways, 2x NRF + 1x RS485 together

Scheduled Pinned Locked Moved General Discussion
5 Posts 4 Posters 1.9k 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.
  • macieiksM Offline
    macieiksM Offline
    macieiks
    wrote on last edited by
    #1

    Hello,

    My plan is to install 3x Ethernet MySensors gateways (2x for NRF24L01 transmission and 1x for RS485). Reason for need of two wireless gateway is my house and thick reinforced walls, I have 3x floors (including basement). First NRF24L01 gateway will be installed in basement and connected by W5100 shield to the LAN network, second NRF24L01 gateway will be also connected by W5100 but I plan to install it on +1 floor.
    My first question here is how can I change GW default NODE_ID 0 to different value, let's say second GW could have NODE_ID 1? Few nodes could be connected to 1st gw, and others to 2nd gw just by adjusting "MY_PARENT_NODE_ID" in their sketches

    I would like to also deploy RS485 gateway, but here I have doubt if I can mix together Arduino UNO + W5100 shield + RS485 module together ? There is only example for Serial solution, so I just want to confirm if it's only about adjusting sketch code for ethernet solution?

    I really appreciate for help.

    Thank you,
    Cheers,
    Maciek

    RPI2 + RFLink + PiFace D2 + Aeon Z-Wave Gen5 + Foscams FI9821P&R2 + MySensors + UPS APC Back-UPS 950VA
    RPI2 + RFXtrx433e + Foscams FI9821P + MySensors + UPS APC Back-UPS 950VA
    RPIB+ + TP-Link MR3420 + Huawei E173 GarageDomoticz :)

    1 Reply Last reply
    0
    • tbowmoT Offline
      tbowmoT Offline
      tbowmo
      Admin
      wrote on last edited by
      #2

      I would put them on separate rf channels instead.

      Perhaps make 2 .h files, that I can include in my sketches, that contain all the basic settings (one for each rf channel) then you just include the right .h file depending on which floor you are putting the node on

      1 Reply Last reply
      0
      • rejoe2R Offline
        rejoe2R Offline
        rejoe2
        wrote on last edited by
        #3

        Might be enough to change the base Radio ID of one of the two network segments (see https://github.com/mysensors/MySensors/blob/development/MyConfig.h line 384) and use the same channel for both GW's. But how about using some of the nodes as repeater?

        Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

        1 Reply Last reply
        0
        • macieiksM Offline
          macieiksM Offline
          macieiks
          wrote on last edited by
          #4

          Thank you, @tbowmo @rejoe2 for hints, I will give a try in few weeks :)

          RPI2 + RFLink + PiFace D2 + Aeon Z-Wave Gen5 + Foscams FI9821P&R2 + MySensors + UPS APC Back-UPS 950VA
          RPI2 + RFXtrx433e + Foscams FI9821P + MySensors + UPS APC Back-UPS 950VA
          RPIB+ + TP-Link MR3420 + Huawei E173 GarageDomoticz :)

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by
            #5

            If you are going to use a different channel for each network, make sure you have them at least 10 channels apart as I noticed that if they are too close they can still talk to each other

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


            9

            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