Ethernet problem



  • Hi all

    Setup:
    Arduino UNO with 5100 Ethernet Module and NRF24 Radio, wired as described https://www.mysensors.org/build/ethernet_gateway#wiring-things-up

    Using static IP address

    Gateway Output (COM6):

    0 MCO:BGN:INIT GW,CP=RNNGA---,REL=255,VER=2.3.1
    4 TSM:INIT
    5 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSM:INIT:GW MODE
    15 TSM:READY:ID=0,PAR=0,DIS=0
    17 MCO:REG:NOT NEEDED
    580 GWT:TIN:IP=88.24.1.12
    1583 MCO:BGN:STP
    1585 MCO:BGN:INIT OK,TSP=1
    1587 TSM:READY:NWD REQ
    1624 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
    42372 TSF:MSG:READ,11-11-0,s=3,c=1,t=23,pt=2,l=2,sg=0:42
    44372 TSF:MSG:READ,11-11-0,s=1,c=1,t=0,pt=7,l=5,sg=0:27.4
    44381 TSF:MSG:READ,11-11-0,s=0,c=1,t=1,pt=7,l=5,sg=0:16.5
    108341 TSF:MSG:READ,6-6-0,s=1,c=1,t=0,pt=7,l=5,sg=0:26.5
    108400 TSF:MSG:READ,6-6-0,s=2,c=1,t=1,pt=2,l=2,sg=0:38
    180666 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    192955 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    205265 TSF:MSG:READ,5-5-0,s=2,c=1,t=16,pt=0,l=1,sg=0:0
    212962 GWT:TSA:ETH OK
    212967 GWT:RFC:MSG=0;0;3;0;2;
    212972 GWT:RFC:MSG=0;0;3;0;18;PING
    212978 GWT:RFC:MSG=0;0;3;0;2;Get Version
    213651 !GWT:TSA:ETH FAIL
    And it continue, if I reset a sensor I can see that data are coming in, but also that I regular get a “ETH FAIL” messages from Gateway, it seams to restart.

    On my Domoticz Controller:

    Log file says:
    2019-11-24 14:19:14.397 Status: MySensors: trying to connect to: 172.24.1.12:5003
    2019-11-24 14:19:14.401 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:21:17.658 Status: MySensors: disconnected
    2019-11-24 14:21:17.658 Status: MySensors: Connection reset!
    2019-11-24 14:21:47.659 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:21:54.415 Status: MySensors: disconnected
    2019-11-24 14:21:54.415 Status: MySensors: Connection reset!
    2019-11-24 14:22:24.416 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:22:34.418 Status: MySensors: disconnected
    2019-11-24 14:22:34.418 Status: MySensors: Connection reset!
    2019-11-24 14:23:04.424 MySensors: Gateway Ready...
    2019-11-24 14:23:04.429 MySensors: Gateway Version: 2.3.1
    2019-11-24 14:23:04.420 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:23:05.117 Status: MySensors: disconnected
    2019-11-24 14:23:05.117 Status: MySensors: Connection reset!
    2019-11-24 14:23:35.118 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:23:44.425 Status: MySensors: disconnected
    2019-11-24 14:23:44.425 Status: MySensors: Connection reset!
    2019-11-24 14:24:14.426 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:24:24.428 Status: MySensors: disconnected
    2019-11-24 14:24:24.429 Status: MySensors: Connection reset!
    2019-11-24 14:24:54.430 Status: MySensors: connected to: 172.24.1.12:5003
    2019-11-24 14:25:04.432 Status: MySensors: disconnected
    2019-11-24 14:25:04.432 Status: MySensors: Connection reset!

    So the “ETH Fail” seems to be correct, and related to Domoticz problems in using the Gateway. I have of cause:

    1. Checked the wiring more that one time
    2. Changed to another Erhernet hardware module

    What’s going on?



  • SOLVED
    I did not managed to get i working, shifted to a Raspberry PI, that works perfect - It seems that I also get version 1.x data from the gateway, Interesting if the gateway both can receive 1.x and 2.x data from sensors.


Log in to reply
 

Suggested Topics

  • 5
  • 4
  • 1
  • 5
  • 1
  • 2

0
Online

11.4k
Users

11.1k
Topics

112.6k
Posts