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. Help with W5100 Resetting with Domoticz

Help with W5100 Resetting with Domoticz

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 2 Posters 2.6k Views 1 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.
  • mountainmanM Offline
    mountainmanM Offline
    mountainman
    wrote on last edited by
    #1

    I have an ethernet gateway setup using an Uno with the Wiznet W5100 Shield (one with SD Card Slot). Previously been using it with Vera but due to UI7 getting corrupted during an upgrade looking to transfer to either Domoticz or openLupp.

    Currently attempting to get this working on the development branch but was seeing the same behaviour on 1.5 stable branch.

    In Domoticz I am connecting to the gateway but it resetting the connection every 30 seconds:

    2016-02-06 12:38:24.261 MySensors: connected to: 192.168.172.66:5003
    2016-02-06 12:38:26.261 MySensors: Gateway Ready...
    2016-02-06 12:38:26.261 MySensors: VERSION from NodeID: 0, ChildID: 255, Payload: 2.0.0-beta
    2016-02-06 12:38:27.262 MySensors: VERSION from NodeID: 0, ChildID: 255, Payload: 2.0.0-beta
    2016-02-06 12:38:30.262 (My Sensors) Lighting 2 (Security Sensor)
    2016-02-06 12:38:33.262 (My Sensors) Lighting 2 (Security Sensor)
    2016-02-06 12:38:56.267 MySensors: Connection reset!
    2016-02-06 12:38:56.267 TCP: Reconnecting in 30 seconds...
    2016-02-06 12:39:26.270 TCP: Reconnecting...

    Constant loop of the above in the Domoticz log.

    The serial log from the gateway

    0;255;3;0;9;Starting gateway (RNNGA-, 2.0.0-beta)
    0;255;3;0;9;Radio init successful.
    IP: 192.168.172.66
    0;255;3;0;9;Init complete, id=0, parent=0, distance=0
    0;255;3;0;9;Eth: connect
    0;255;3;0;9;Eth: 0;0;3;0;2;
    0;255;3;0;9;read: 5-5-0 s=255,c=3,t=0,pt=1,l=1,sg=0:42
    0;255;3;0;9;read: 5-5-0 s=1,c=1,t=0,pt=7,l=5,sg=0:22.9
    0;255;3;0;9;read: 5-5-0 s=2,c=1,t=1,pt=2,l=2,sg=0:26
    0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: connect
    0;255;3;0;9;Eth: 0;0;3;0;2;
    0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: connect

    I have tried various settings regards SOFTSPI and MY_W5100_SPI_EN but it is still behaving the same. Is this normal or can you please recommend what I should be looking at for troubleshooting?

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by
      #2

      Do you run a second controller? I saw this issue trying to connect Myscontroller simultaneously as Domoticz.

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • mountainmanM Offline
        mountainmanM Offline
        mountainman
        wrote on last edited by
        #3

        Thanks for the reply sunberg84.

        I have Myscontroller and openLuup but even with them off I get the same reset behaviour. I'm actually running Domoticz in response to openLuup locking up on sensor inclusion. Do your logs look similar (resets every 30 seconds) if you have a secondary controller running?

        1 Reply Last reply
        0
        • sundberg84S Offline
          sundberg84S Offline
          sundberg84
          Hardware Contributor
          wrote on last edited by
          #4

          @mountainman Yes and No - everything stops working if MysC and Domoticz talks to the same gateway and if i disconnect MysC i get the reset in my logs... before that, nothing (no sensors or communcation at all).

          Controller: Proxmox VM - Home Assistant
          MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
          MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
          RFLink GW - Arduino Mega + RFLink Shield, 433mhz

          mountainmanM 1 Reply Last reply
          0
          • sundberg84S sundberg84

            @mountainman Yes and No - everything stops working if MysC and Domoticz talks to the same gateway and if i disconnect MysC i get the reset in my logs... before that, nothing (no sensors or communcation at all).

            mountainmanM Offline
            mountainmanM Offline
            mountainman
            wrote on last edited by
            #5

            @sundberg84 For me running MSysC appears to have no impact although it will eventually lock up also (1 hr+). What revision of the libraries are you using? The ethernet gateway used to handle 4 connections simultaneously which I think may be configurable in the dev branch.

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #6

              Im using 2.0 and 2.4031 on Domoticz

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              mountainmanM 1 Reply Last reply
              0
              • sundberg84S sundberg84

                Im using 2.0 and 2.4031 on Domoticz

                mountainmanM Offline
                mountainmanM Offline
                mountainman
                wrote on last edited by
                #7

                @sundberg84 I updated MY_GATEWAY_MAX_CLIENTS from 1 to 4 in MyConfig.h

                This might help with you secondary controller issue.

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


                22

                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