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. Gateway USB and Gateway Ethernet

Gateway USB and Gateway Ethernet

Scheduled Pinned Locked Moved General Discussion
gateway
15 Posts 2 Posters 168 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.
  • Daniel RUIZ9D Daniel RUIZ9

    Hello,

    I have a little problem with my two Gateway my sensors.
    I have a USB Gateway and an Ethernet Gateway.
    The two Gateways work very well individually.
    When I have the two gateways in operation, there is always one of the two which is blocked and no longer communicates with Domoticz.
    I am not familiar with knots in Mysensor, and I think there is a problem with the knots.
    If you can help me find the solution.
    Daniel

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

    @Daniel-RUIZ9 could you post the domoticz log, and a picture of the hardware so we can see the settings for the gateways?

    What radios are you using? Are the radios on different channels?

    1 Reply Last reply
    0
    • Daniel RUIZ9D Offline
      Daniel RUIZ9D Offline
      Daniel RUIZ9
      wrote on last edited by
      #3

      Thank you for your help, because it is beyond my knowledge.

      2020-08-22_14h23_17.png
      2020-08-23_10h08_34.png
      2020-08-23_10h09_14.png
      2020-08-23_10h09_50.png
      2020-08-23_10h10_28.png

      I use this NRF24L01 radio

      I did not know that it was necessary to use different frequencies, I did not change anything, I used the Mysensors file without modification.

      Daniel

      mfalkviddM 1 Reply Last reply
      0
      • Daniel RUIZ9D Daniel RUIZ9

        Thank you for your help, because it is beyond my knowledge.

        2020-08-22_14h23_17.png
        2020-08-23_10h08_34.png
        2020-08-23_10h09_14.png
        2020-08-23_10h09_50.png
        2020-08-23_10h10_28.png

        I use this NRF24L01 radio

        I did not know that it was necessary to use different frequencies, I did not change anything, I used the Mysensors file without modification.

        Daniel

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

        @Daniel-RUIZ9 there can only be one gateway per MySensors network. You can create two MySensors networks by using different frequencies.

        Daniel RUIZ9D 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          @Daniel-RUIZ9 there can only be one gateway per MySensors network. You can create two MySensors networks by using different frequencies.

          Daniel RUIZ9D Offline
          Daniel RUIZ9D Offline
          Daniel RUIZ9
          wrote on last edited by Daniel RUIZ9
          #5

          @mfalkvidd
          Sorry but I do not understand...
          Are you talking about the radio frequency of the NRF24L01?
          Could you give me a tutorial to use different frequencies.
          thank you

          mfalkviddM 1 Reply Last reply
          0
          • Daniel RUIZ9D Daniel RUIZ9

            @mfalkvidd
            Sorry but I do not understand...
            Are you talking about the radio frequency of the NRF24L01?
            Could you give me a tutorial to use different frequencies.
            thank you

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

            @Daniel-RUIZ9 it depends a bit on what you are trying to achive.

            Could you tell us about your setup? How come you are using two gateways?

            1 Reply Last reply
            0
            • Daniel RUIZ9D Offline
              Daniel RUIZ9D Offline
              Daniel RUIZ9
              wrote on last edited by
              #7

              I am using a USB gateway for the sensors that are in the house. I have an outhouse far from home with an ethernet network. In this dependency I have sensors that are too far away for USB gateway.
              It is for this reason that I need this Ethernet gateway.
              Hopefully the GOOGLE translation of this post is understandable.
              Thanks again for your help.
              Daniel

              1 Reply Last reply
              0
              • Daniel RUIZ9D Offline
                Daniel RUIZ9D Offline
                Daniel RUIZ9
                wrote on last edited by
                #8

                I am attaching a diagram of the mysensor part of my installation.
                At the moment, I have the cellar's ethernet gateway working.
                The usb gateway also works but only towards the 4relais card which controls my 3D printer, The card which controls the mechanical ventilation of the ground floor no longer works.
                If I remove the cellar gateway The card that controls the mechanical ventilation of the ground floor works again.
                Daniel
                SCHEMA.jpg

                mfalkviddM 1 Reply Last reply
                1
                • Daniel RUIZ9D Daniel RUIZ9

                  I am attaching a diagram of the mysensor part of my installation.
                  At the moment, I have the cellar's ethernet gateway working.
                  The usb gateway also works but only towards the 4relais card which controls my 3D printer, The card which controls the mechanical ventilation of the ground floor no longer works.
                  If I remove the cellar gateway The card that controls the mechanical ventilation of the ground floor works again.
                  Daniel
                  SCHEMA.jpg

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

                  My guess is that the 4relais gets confused on which gateway to use. You could check that by looking at the gateway debug output.

                  If that's the case, you need to configure one of the two networks to use a different channel.

                  Add

                  #define MY_RF24_CHANNEL   (83)
                  

                  to the sketches of all nodes (including the gateway) of one of the network. Which one doesn't matter. I would choose the one with the fewest nodes, or where the nodes are easily accessible for reprogramming.

                  The default channel is 76.

                  1 Reply Last reply
                  0
                  • Daniel RUIZ9D Offline
                    Daniel RUIZ9D Offline
                    Daniel RUIZ9
                    wrote on last edited by Daniel RUIZ9
                    #10

                    Thanks for your help, I'll do the test tomorrow.
                    I make this modification in the gateway and in the relay card assigned to it

                    modification ligne radio.png

                    mfalkviddM 1 Reply Last reply
                    0
                    • Daniel RUIZ9D Daniel RUIZ9

                      Thanks for your help, I'll do the test tomorrow.
                      I make this modification in the gateway and in the relay card assigned to it

                      modification ligne radio.png

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

                      @Daniel-RUIZ9 great. Just to be clear: you need to add the new line. Keep the existing define without modification.

                      1 Reply Last reply
                      0
                      • Daniel RUIZ9D Offline
                        Daniel RUIZ9D Offline
                        Daniel RUIZ9
                        wrote on last edited by
                        #12

                        have followed your advice the two gateways are working properly together. I leave several days in the test to see if it holds up over time.
                        I thank you for your help because alone I could not find the solution.

                        mfalkviddM 1 Reply Last reply
                        1
                        • Daniel RUIZ9D Daniel RUIZ9

                          have followed your advice the two gateways are working properly together. I leave several days in the test to see if it holds up over time.
                          I thank you for your help because alone I could not find the solution.

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

                          Nice work @Daniel-RUIZ9. Thanks for reporting back.

                          Helping eachother is the whole point of the forum. Everybody was a beginner once :)

                          Daniel RUIZ9D 1 Reply Last reply
                          0
                          • mfalkviddM mfalkvidd

                            Nice work @Daniel-RUIZ9. Thanks for reporting back.

                            Helping eachother is the whole point of the forum. Everybody was a beginner once :)

                            Daniel RUIZ9D Offline
                            Daniel RUIZ9D Offline
                            Daniel RUIZ9
                            wrote on last edited by Daniel RUIZ9
                            #14

                            @mfalkvidd Hello,

                            After a test period, I still have crashes when both gateways are in use.
                            The catwalks function correctly only if there is only one working.
                            I made the changes you told me, there was an improvement but after a few days there were crashes again.
                            is there a tutorial that explains how to make two gateways work on the same network.
                            I did some research and I can not find any tutorial on this subject.

                            Thank you for your help

                            Daniel RUIZ9D 1 Reply Last reply
                            0
                            • Daniel RUIZ9D Daniel RUIZ9

                              @mfalkvidd Hello,

                              After a test period, I still have crashes when both gateways are in use.
                              The catwalks function correctly only if there is only one working.
                              I made the changes you told me, there was an improvement but after a few days there were crashes again.
                              is there a tutorial that explains how to make two gateways work on the same network.
                              I did some research and I can not find any tutorial on this subject.

                              Thank you for your help

                              Daniel RUIZ9D Offline
                              Daniel RUIZ9D Offline
                              Daniel RUIZ9
                              wrote on last edited by Daniel RUIZ9
                              #15

                              @Daniel-RUIZ9
                              I may have found a solution to my problem, I have to test a few days to be sure.
                              Hard my domoticz installation I have two raspberry one in server the second in client.
                              The raspberry server is connected to the USB gateway and on the second I have configured the ethernet gateway.
                              I keep you informed if I still have crashes.

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


                              23

                              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