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. GatewayW5100 - unable to get working w/ v2.0.0

GatewayW5100 - unable to get working w/ v2.0.0

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 7 Posters 4.9k Views 10 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.
  • joe.kJ Offline
    joe.kJ Offline
    joe.k
    wrote on last edited by joe.k
    #1

    Everything has been working rock solid with v1.5 on VeraPlus U17. However, I am not having success with v2.0.0 and not sure what else to check or what I might be missing. I've been using MySensors successfully since 2013 and typically able to troubleshoot problems on my own, but could use some help.

    The GW is wired to use the Soft SPI and have double checked my wiring against the documentation, but then again it all works fine with v1.5.

    Below is the serial output for the W5100 ethernet GW in server mode. The Arduino Uno is restarting continually. Nothing shows in the the log file on the Vera (LuaUPnP.log).

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    IP: 192.168.x.x
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    IP: 192.168.x.x
    
        .... just repeats
    

    When configuring the W5100 ethernet GW in client mode I am able to get output in the serial console, but still nothing at the VeraPlus or in the LuaUPnP.log file. Sensor 6 is running v2.0.0 as well.

    // 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, x, x   
    
    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0)
    0;255;3;0;9;TSM:INIT
    0;255;3;0;9;TSM:RADIO:OK
    0;255;3;0;9;TSM:GW MODE
    0;255;3;0;9;TSM:READY
    IP: 192.168.x.x
    0;255;3;0;9;No registration required
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1
    0;255;3;0;9;TSP:MSG:READ 6-6-0 s=1,c=1,t=0,pt=7,l=5,sg=0:80.2
    0;255;3;0;9;TSP:SANCHK:OK
    

    Any help or suggestions are greatly appreciated.

    Regards,
    Joe

    1 Reply Last reply
    0
    • joe.kJ Offline
      joe.kJ Offline
      joe.k
      wrote on last edited by joe.k
      #2

      Turns out there's something in Arduino IDE v1.6.10 that's causing the problem I was experiencing. The GW is working after compiling and uploading the sketch with Arduino IDE v1.6.7.

      The problem is repeatable w/ Arduino IDE 1.6.10.

      Joe

      1 Reply Last reply
      1
      • Mark SwiftM Offline
        Mark SwiftM Offline
        Mark Swift
        wrote on last edited by
        #3

        I've also just experienced this... Rolling back to 1.6.7 now to test.

        1 Reply Last reply
        0
        • ? Offline
          ? Offline
          A Former User
          wrote on last edited by
          #4

          Had the same issue with both 1.6.9 and 1.6.10.
          1.6.8 works ok for me.

          1 Reply Last reply
          0
          • Martin TellblomM Offline
            Martin TellblomM Offline
            Martin Tellblom
            wrote on last edited by
            #5

            I'm running 1.6.9 and it works for me

            MySensors MQTT Client Gateway, Openhab, Dashing, Razberry, 1-wire

            1 Reply Last reply
            0
            • Arturas AA Offline
              Arturas AA Offline
              Arturas A
              wrote on last edited by
              #6

              The problem is repeatable w/ Arduino IDE 1.6.12.
              Works fine with 1.6.5

              Does anybody could explain why server mode gateway restarting with newer Arduino IDE? Client mode is not recognized by Domoticz.

              1 Reply Last reply
              0
              • Michiel van der WulpM Offline
                Michiel van der WulpM Offline
                Michiel van der Wulp
                wrote on last edited by
                #7

                This issue is not solved - nobody gave any other solution than try with an older version..
                I still have this problem with Arduino IDE 1.6.7 as well with 1.6.12.
                Reverting to an older IDE is not a solution, merely a temporary work-around.
                Is there a library problem?

                YveauxY joe.kJ 2 Replies Last reply
                0
                • Michiel van der WulpM Michiel van der Wulp

                  This issue is not solved - nobody gave any other solution than try with an older version..
                  I still have this problem with Arduino IDE 1.6.7 as well with 1.6.12.
                  Reverting to an older IDE is not a solution, merely a temporary work-around.
                  Is there a library problem?

                  YveauxY Offline
                  YveauxY Offline
                  Yveaux
                  Mod
                  wrote on last edited by
                  #8

                  @Michiel-van-der-Wulp You are correct this is a workaround, not a real solution.
                  However, the issue introduced in 1.6.12 is caused by an update of the compiler included with the Arduino environment, and thus outside the reach of MySensors.

                  We reported the bug, it has been fixed, but not yet included in the Arduino release.

                  Until this fix is included, all known reboot-related issues were resolved by reverting the Arduino board package (ref: https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/3)

                  If this does not solve your particular case, something else is wrong that sould be looked into.

                  http://yveaux.blogspot.nl

                  1 Reply Last reply
                  0
                  • Michiel van der WulpM Michiel van der Wulp

                    This issue is not solved - nobody gave any other solution than try with an older version..
                    I still have this problem with Arduino IDE 1.6.7 as well with 1.6.12.
                    Reverting to an older IDE is not a solution, merely a temporary work-around.
                    Is there a library problem?

                    joe.kJ Offline
                    joe.kJ Offline
                    joe.k
                    wrote on last edited by
                    #9

                    @Michiel-van-der-Wulp

                    Agreed - updated the subject by removing the "solved"

                    1 Reply Last reply
                    0
                    • Michiel van der WulpM Offline
                      Michiel van der WulpM Offline
                      Michiel van der Wulp
                      wrote on last edited by
                      #10

                      Thanks, I got it working with the downgrade described in https://forum.mysensors.org/topic/4680/mysensors-2-0-ethernet-gateway-atmega-w5100-restart-all-time/9

                      1 Reply Last reply
                      0
                      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
                      • MySensors
                      • OpenHardware.io
                      • Categories
                      • Recent
                      • Tags
                      • Popular