ENC28J60 Ethernet gateway problem with Domoticz?



  • Trying to get the Ethernet gateway to work. Can someone tell me what the logg tells me. It seems to connect and when i start a binary sensor the last five lines pop up. Does it work? the binary sensor don’t pop up in Domoticz.

    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.0.166
    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;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;TSP:SANCHK:OK
    0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSP:MSG:BC
    0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1)
    0;255;3;0;9;TSP:CHKUPL:OK
    0;255;3;0;9;TSP:MSG:GWL OK


  • Mod

    Hi @jonehr

    Detailed information on how to read the debug log is available at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/4

    The output looks fine, the gateway starts up without problems.

    Have you pressed the button on the switch? Domoticz does not show nodes unless they have sent at least one value update. I am not sure why, but that's how Domoticz works.

    What does the Domoticz log look like? (setup->Log in the web interface)

    What does the debug output from the node look like?



  • @mfalkvidd

    Have tried to press the button...

    Log Domoticz:
    2016-10-27 19:00:37.439 MySensors: trying to connect to: 192.168.0.166:5003
    2016-10-27 19:00:38.441 MySensors: connected to: 192.168.0.166:5003
    2016-10-27 19:00:39.442 MySensors: Gateway Ready...
    2016-10-27 19:00:39.442 MySensors: Gateway Version: 2.0.0
    2016-10-27 19:00:40.443 MySensors: Gateway Version: 2.0.0

    Log node:
    ��Starting sensor (RNNNA-, 2.0.0)
    TSM:INIT
    TSM:RADIO:OK
    TSP:ASSIGNID:OK (ID=1)
    TSM:FPAR
    TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
    TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    TSP:MSG:FPAR RES (ID=0, dist=0)
    TSP:MSG:PAR OK (ID=0, dist=1)
    TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0
    TSP:MSG:FPAR RES (ID=0, dist=0)
    TSM:FPAR:OK
    TSM:ID
    TSM:CHKID:OK (ID=1)
    TSM:UPL
    TSP:PING:SEND (dest=0)
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
    TSP:MSG:READ 0-0-1 s=255,c=3,t=25,pt=1,l=1,sg=0:1
    TSP:MSG:PONG RECV (hops=1)
    TSP:CHKUPL:OK
    TSM:UPL:OK
    TSM:READY
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
    TSP:MSG:SEND 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:0
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=11,pt=0,l=13,sg=0,ft=0,st=ok:Binary Sensor
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.0
    TSP:MSG:SEND 1-1-0-0 s=3,c=0,t=0,pt=0,l=0,sg=0,ft=0,st=ok:
    TSP:MSG:SEND 1-1-0-0 s=4,c=0,t=0,pt=0,l=0,sg=0,ft=0,st=ok:
    Request registration...
    TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
    TSP:MSG:READ 0-0-1 s=255,c=3,t=27,pt=1,l=1,sg=0:1
    Node registration=1
    Init complete, id=1, parent=0, distance=1, registration=1
    TSP:MSG:SEND 1-1-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,ft=0,st=ok:1
    TSP:MSG:SEND 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,ft=0,st=ok:0


  • Mod

    @jonehr everyhing looks good to me
    This happens when you press and release the button, right?

    TSP:MSG:SEND 1-1-0-0 s=3,c=1,t=16,pt=2,l=2,sg=0,ft=0,st=ok:1
    TSP:MSG:SEND 1-1-0-0 s=4,c=1,t=16,pt=2,l=2,sg=0,ft=0,st=ok:0
    

    What does the gateway and the domoticz log say when you press the button?



  • @mfalkvidd
    There is nothing in Domoticz and gateway log that indicate the pressed button.


  • Mod

    @jonehr very strange. Could there be another gateway within range? The node log says "ok" which means that the node got an acknowledgement from a gateway that the message was received ok.



  • No other gataway in range.
    Tried to upload again and got:

    WARNING: Category '' in library UIPEthernet is not valid. Setting to 'Uncategorized'
    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC\GatewayENC.ino:92:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Client.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC\GatewayENC.ino:92:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/mempool.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC\GatewayENC.ino:92:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Server.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\MySensors-master\examples\GatewayENC\GatewayENC.ino:92:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "UIPClient.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\Dhcp.cpp:8:0:

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\utility/util.h:5:0: warning: "ntohs" redefined

    #define ntohs(x) htons(x)

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPUdp.h:28:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\Dhcp.h:7,
    
                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\Dhcp.cpp:6:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\utility/uip.h:1087:0: note: this is the location of the previous definition

    #define ntohs htons

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:22:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip-conf.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip_arp.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "string.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:27:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Client.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:27:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/mempool.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:27:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Server.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.cpp:27:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "UIPClient.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.cpp:21:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Client.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.cpp:21:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/mempool.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.cpp:21:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Server.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.cpp:21:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "UIPClient.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.cpp:19:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Client.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.cpp:19:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/mempool.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.cpp:19:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Server.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.cpp:19:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "UIPClient.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPUdp.cpp:20:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Client.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:33:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPUdp.cpp:20:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/mempool.h"

    ^

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPUdp.cpp:20:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "Server.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPEthernet.h:34:0,

                 from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPUdp.cpp:20:
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "UIPClient.h"

    ^

    In file included from C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\utility\uip_debug.cpp:4:0:

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master/utility/uip_debug.h:4:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    C:\Users\Hampus\Documents\Arduino\libraries\arduino_uip-master\utility\uip_debug.cpp:6:4: warning: #import is a deprecated GCC extension [-Wdeprecated]

    #import "utility/uip.h"

    ^
    

    Sketch uses 30,034 bytes (97%) of program storage space. Maximum is 30,720 bytes.
    Global variables use 1,761 bytes (85%) of dynamic memory, leaving 287 bytes for local variables. Maximum is 2,048 bytes.
    Low memory available, stability problems may occur.
    Invalid version found: 1.04
    Invalid version found: 1.04



  • Hello,

    I already post my problem on MYSBootloader 1.3pre2 testing theme, but I'm not sure does my issue is on right topic.

    I wondering where should I post this message.

    Problem: I can't connect to my GW with MYSController 1.0.0beta (build 3315). In MYSC log I get: "Error on connect: connection refused"
    Screenshot:
    0_1481056405084_2016-12-05_2306.png

    My GW software is ENC28J60 Ethernet module. I check GW LOG and how I understand there is no special info (beside 2 messages for relay on and off) which could help me:

    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.1.3
    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;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;TSP:SANCHK:OK
    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: 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;TSP:SANCHK:OK
    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: 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;TSP:SANCHK:OK
    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: 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;TSP:SANCHK:OK
    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: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;Eth: 6;9;1;1;2;1
    0;255;3;0;9;TSP:MSG:SEND 0-0-4-6 s=9,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=ok:1
    0;255;3;0;9;TSP:MSG:READ 6-4-0 s=9,c=1,t=2,pt=0,l=1,sg=0:1
    0;255;3;0;9;TSP:MSG:READ 6-4-0 s=9,c=1,t=3,pt=1,l=1,sg=0:100
    0;255;3;0;9;Eth: 6;9;1;1;2;0
    0;255;3;0;9;TSP:MSG:SEND 0-0-4-6 s=9,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=ok:0
    0;255;3;0;9;TSP:MSG:READ 6-4-0 s=9,c=1,t=2,pt=0,l=1,sg=0:0
    0;255;3;0;9;TSP:MSG:READ 6-4-0 s=9,c=1,t=3,pt=1,l=1,sg=0:0
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    0;255;3;0;9;TSP:SANCHK:OK
    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: 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;TSP:SANCHK:OK
    0;255;3;0;9;Eth: 0;0;3;0;18;PING
    

    I'm using 2.0.0 MySensors library.
    My GW is Arduino Pro Mini + ENC28J60 Ethernet module + NRF24L01+
    My Arduino software: 1.6.11 (Windows)
    I have few nodes in NRF24 network, and all of them are on 2.0.0 library.

    One thing that could be related with this issue that I getting an error becose of library when I upload my code to Arduino ENC28J60 Ethernet module. I tried install again that library few times, but got the same error. Library UIPEthernet is from (MySensors GitHub Uploaded librarys). Error code which I get when uploading:

    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Google Drive\Smart Home\Sketches\GatewayENC28J60__modifikuotas\GatewayENC28J60__modifikuotas.ino:92:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Client.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Google Drive\Smart Home\Sketches\GatewayENC28J60__modifikuotas\GatewayENC28J60__modifikuotas.ino:92:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/mempool.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Google Drive\Smart Home\Sketches\GatewayENC28J60__modifikuotas\GatewayENC28J60__modifikuotas.ino:92:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Server.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Google Drive\Smart Home\Sketches\GatewayENC28J60__modifikuotas\GatewayENC28J60__modifikuotas.ino:92:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "UIPClient.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\Dhcp.cpp:8:0:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\utility/util.h:5:0: warning: "ntohs" redefined
    
     #define ntohs(x) htons(x)
    
     ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPUdp.h:28:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\Dhcp.h:7,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\Dhcp.cpp:6:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\utility/uip.h:1087:0: note: this is the location of the previous definition
    
     #define ntohs htons
    
     ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:22:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/uip-conf.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/uip.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/uip_arp.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "string.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:27:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Client.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:27:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/mempool.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:27:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Server.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.cpp:27:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "UIPClient.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.cpp:21:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Client.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.cpp:21:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/mempool.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.cpp:21:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Server.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.cpp:21:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "UIPClient.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.cpp:19:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Client.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.cpp:19:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/mempool.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.cpp:19:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Server.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.cpp:19:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "UIPClient.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPUdp.cpp:20:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:25:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Client.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:33:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPUdp.cpp:20:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:26:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "utility/mempool.h"
    
      ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPClient.h:29:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPUdp.cpp:20:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:23:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "Server.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPEthernet.h:34:0,
    
                     from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPUdp.cpp:20:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\UIPServer.h:24:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
     #import "UIPClient.h"
    
      ^
    
    In file included from C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\utility\uip_debug.cpp:4:0:
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet/utility/uip_debug.h:4:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    C:\Users\Moni\Documents\Arduino\libraries\UIPEthernet\utility\uip_debug.cpp:6:4: warning: #import is a deprecated GCC extension [-Wdeprecated]
    
       #import "utility/uip.h"
    
        ^
    
    
    Sketch uses 25,750 bytes (83%) of program storage space. Maximum is 30,720 bytes.
    Global variables use 1,292 bytes (63%) of dynamic memory, leaving 756 bytes for local variables. Maximum is 2,048 bytes.
    Invalid version found: 1.04
    Invalid version found: 1.04
    
    

    I tried to change Arduino Pro Mini, but still have same situation.
    Also I notice that gateway randomly stops working after 3-4 days run. I can see that becose Domoticz can't connect to GW. It starts working again when I press reset button on APM GW.

    Could it be the main reason of theese problems becose of library errors?
    How could I solve library problem?

    Thank You!



  • Maybe someone have minds on my recent post here?



  • Same problem here.

    Sketch uses 25750 bytes (83%) of program storage space. Maximum is 30720 bytes.
    Global variables use 1292 bytes (63%) of dynamic memory, leaving 756 bytes for local variables. Maximum is 2048 bytes.
    Invalid version found: 1.04
    Invalid version found: 1.04

    Nano v3 + ENC28J60 Ethernet module + NRF24L01+

    Just an advice - where to dig? Is it hardware version which differs?

    Thank you!


  • Hardware Contributor


Log in to reply
 

Suggested Topics

  • 3
  • 6
  • 2
  • 8
  • 5
  • 1

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts