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. Troubleshooting
  3. GW not working after upgrade 1.x -> 2.1

GW not working after upgrade 1.x -> 2.1

Scheduled Pinned Locked Moved Troubleshooting
20 Posts 4 Posters 3.2k 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #8

    Are you sure the MY_USE_UDP and my controller ip address are needed?

    1 Reply Last reply
    0
    • C Offline
      C Offline
      Cinpou
      wrote on last edited by
      #9

      not at all, that's why i try with or without these settings

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

        These are the only defines I set about the ethernet

        #define MY_GATEWAY_W5100
        #define MY_IP_RENEWAL_INTERVAL 60000
        #define MY_PORT 5003
        #define MY_MAC_ADDRESS 0xDE, 0xAD, 0xBE, 0xEF, 0xFE, 0xED
        

        I am using DHCP reservation on my WiFi router.

        1 Reply Last reply
        0
        • dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by dbemowsk
          #11

          Just trying to think outside the box. Did you try to ping the node? If you have access to nmap, scan the node to see if it shows the correct open port on your network. Since you are setting a static IP, you should make sure that the IP is not in your DHCP pool, otherwise it could get pushed to another device to where the two devices could fight on the network. If your router is capable of doing DHCP reservations, it may be better to set a reservation as @gohan did.

          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
          • C Offline
            C Offline
            Cinpou
            wrote on last edited by
            #12

            Everything went worse...
            I've tried to change the W5100 module, the arduino, the radio, erase eeprom, update the soft, change the ethernet calble, nothing...
            In the monitor, i see the ip displaying random value, actually 255.255.255.255.

            I tried DHCP, it can't obtain an IP.

            Before things get worst, i've pinged the gateway successfully. And it obtained an IP in DHCP.

            I've lost the day on it... Will try tomorrow from the beginning...

            I check the router, i can't se

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

              what ide version are you using? and what boards definitions are you using?

              1 Reply Last reply
              0
              • C Offline
                C Offline
                Cinpou
                wrote on last edited by
                #14

                Once it randomly turn on an ip compatible with my network. I can connect with MYScontroller, and view the node.But the information returned has a bad encoding. Part of the message contained strange characters.

                The DHCP mode can't take an ip from the server. In my router, i've found a trace of the gw. The name of the node contains also invalid characters.

                I've install ubuntu on an other computer to test the environnement.
                Same results. The arduino return a random ip.

                I've tested with 1.6.7 and 1.8.5 IDE.
                What do you mean by board definition? I've tested with a nano 32, a uno and a mega.

                On both ubuntu and windows, i've an error in the console while transmitting the code to the board : "ATTENTION : Faux .mystools dossier dans la bibliothèque 'MySensors'" (Bad .mystools directory in the library MySensors)

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

                  In Arduino ide, look in board manager and check what is the version of the arduino board version you are using.

                  The warning you get is not an issue, I have it too, just ignore it.

                  1 Reply Last reply
                  0
                  • C Offline
                    C Offline
                    Cinpou
                    wrote on last edited by
                    #16

                    Arduino AVR release 1.6.20, is it what you mean?

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

                      Try installing the 1.6.11 or 1.6.13

                      1 Reply Last reply
                      0
                      • C Offline
                        C Offline
                        Cinpou
                        wrote on last edited by
                        #18

                        nope... i've tested 1.6.11 .13 and .2

                        thanks for your help. Do you have another idea?

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

                          I'm running out of options...

                          1 Reply Last reply
                          0
                          • bisschopsrB Offline
                            bisschopsrB Offline
                            bisschopsr
                            wrote on last edited by
                            #20

                            Hi all,

                            I. m facing similar problems. like you. I was working on upgrading my network to 2.1.1. I got stuck with strange behaviour of the GW. I programmed it with:
                            IDE version: 1.8.4
                            Arduino AVR release: 1.6.20
                            The latest 2.1.1 downloaded libraries and the latest GW version.

                            After connecting the GW to my network, i was perfectly able to ping it. MYScontroller could connect, however sending a command to the gateway rusults in an error (ERROR 10054).

                            I've been fighting with it for a day, exchanging compontents, rebuilding SW, etc.

                            Here is what solved it!
                            Changed the AVR release to 1.6.11

                            I know there are problems in AVR 1.6.X, but these should have been solved in 1.6.18 and higher. Apperantly that is not the case.

                            I hope this helps!

                            Ralph

                            Domoticz, P1 meter interface, MySensors and more to come!

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


                            24

                            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