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. Announcements
  3. 💬 Building an Ethernet Gateway

💬 Building an Ethernet Gateway

Scheduled Pinned Locked Moved Announcements
133 Posts 42 Posters 36.0k Views 35 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.
  • M Offline
    M Offline
    mebert1977
    wrote on last edited by
    #124

    I created a case for this gateway.
    https://www.thingiverse.com/thing:2923130

    1 Reply Last reply
    1
    • F Offline
      F Offline
      flyyboyy
      wrote on last edited by
      #125

      OK, who's up for a WHOLE LOTTA handholding? Dang, guess I'm getting denser the older I get.
      Is this page the place to solicit help, or should I start a new topic in the forum? I searched there for answers to my yet-unstated questions but found nothing. Guess I am the only one that doesn't get it. . .
      TIA for any takers

      flyy

      1 Reply Last reply
      0
      • F Offline
        F Offline
        flyyboyy
        wrote on last edited by
        #126

        By the way, the questions at this point relate directly to the Ethernet Gateway -- that's why I was asking if this page was the proper place to ask

        mfalkviddM 1 Reply Last reply
        0
        • F flyyboyy

          By the way, the questions at this point relate directly to the Ethernet Gateway -- that's why I was asking if this page was the proper place to ask

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

          @flyyboyy here or in a new thread doesn't matter that much - as long as you don't post the same thing in multiple places.

          https://forum.mysensors.org/category/5/troubleshooting is a good category for troubleshooting

          The post at the top of that page lists the most common problems, how to troubleshoot them, and what information is usually required to help so you can get help as quick as possible.

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flyyboyy
            wrote on last edited by
            #128

            I kinda expected that it should go into the forum; I posted it in the General Discussion category, then even missed indicating I was looking for help -- it's simply titled "Ethernet Gateway." Oh, well. . .

            Thanks

            1 Reply Last reply
            1
            • bazzokaB Offline
              bazzokaB Offline
              bazzoka
              wrote on last edited by
              #129

              WizNET W5500 Ethernet module

              For your information.
              A W5500 module can also be used. The wiring is the same as for the W5100 module (with A0, A1, A2). The Arduino code must be changed in two places:

              1. use as Ethernet module type
                #define MY_GATEWAY_ENC28J60

              2. #include <Ethernet2.h> instead of #include <Ethernet.h>

              1 Reply Last reply
              1
              • C Offline
                C Offline
                Chris83
                wrote on last edited by
                #130

                Thanks @bazzoka, you are right, it works the way you said :-)

                1 Reply Last reply
                1
                • serismanS Offline
                  serismanS Offline
                  serisman
                  wrote on last edited by
                  #131

                  @bazzoka and @Chris83:

                  The newest version of the standard Arduino Ethernet (2.0.0) now has built-in support for the W5500 (in addition to W5200 and W5100) modules.
                  This eliminates the need to pull in the Ethernet2 library and change the sketch code to build an Ethernet Gateway with the newer/cheaper/better W5500 modules.
                  Supposedly it also has some substantial performance improvements as well (see here: https://www.pjrc.com/arduino-ethernet-library-2-0-0/).
                  The only downside I have run across so far is the increased progmem flash size that makes the sketch about 2.8 KB larger.

                  1 Reply Last reply
                  1
                  • pepsonP Offline
                    pepsonP Offline
                    pepson
                    wrote on last edited by
                    #132

                    Hi
                    I try building gateway on my Arduino Mega and i defined this:
                    // Controller ip address. Enables client mode (default is "server" mode).
                    // Also enable this if MY_USE_UDP is used and you want sensor data sent somewhere.
                    #define MY_CONTROLLER_IP_ADDRESS 192, 168, 13, 252

                    This is ip my Controller on RPI4 with installed Hassos(Home Assistant). But when it is defined i can not controll my relay on gateway. When delete this define all works ok and i can controll relay from home assistant. Please help me... I want define it to block controll only from one device in my network(controller automation Home Assistant).

                    1 Reply Last reply
                    0
                    • pw44P Offline
                      pw44P Offline
                      pw44
                      wrote on last edited by
                      #133

                      i built the ethernet gateway with the ENC28J60 module, arduino nano v3.0 and RF24 radio, using this guide and there are three problems which i'm not being able to solve (i used the https://github.com/mysensors/MySensorsArduinoExamples/tree/master/libraries/UIPEthernet, as suggested).

                      • fixed ip, connected to power supply, ethernet cable and usb - ping works, but HA does not "sees"
                      • fixed ip, connected to power supply, ethernet cable but no usb - ping does not works ????
                      • commented ip definition, to enable dchp - does not work.
                        seams the instructions are outdated -
                        i really need help to make it work.
                        thx
                      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.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
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular