Hi!
I use VeraEdge controller together with an Ethernet gateway WL5100 (ip:192.168.1.8:5003).
Library version 2.1 from Github.
My VeraEdge periodically loses connection with the gateway. (Messages from nodes cease to come to VeraEdge, from sensors to the gateway packets arrive).
When I do a restart of the engine (Engine Reload) to VeraEdge gateway is not automatically reconnected. MySensor Plugin it gives an error communication.
If, at the time of restarting the engine I do a reset on the gateway, the connection is fine.
I want to do on VeraEdge scene which will overload the controller 1 once a day. How do I make an automatic reconnection of the gateway to VeraEdge after Reload Engine?
VeraEdge firmware: 1.7.3014
Log VeraEdge after Reload Engine (the gateway does not reset):
50 12/27/17 22:39:39.597 luup_log:251: Arduino plugin: loading library L_Arduino ... <0x77745520>
50 12/27/17 22:39:39.621 luup_log:251: Arduino plugin: library L_Arduino loaded <0x77745520>
50 12/27/17 22:39:39.622 luup_log:251: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,PluginVersion, 1.5, 251 <0x77745520>
50 12/27/17 22:39:39.622 luup_log:251: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, -, 251 <0x77745520>
06 12/27/17 22:39:39.623 Device_Variable::m_szValue_set device: 251 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: GWAddress was: 192.168.1.8:5003 now: - #hooks: 0 upnp: 0 skip: 0 v:0x115c528/NONE duplicate:0 <0x77745520>
50 12/27/17 22:39:39.623 luup_log:251: Arduino: Using network connection: IP address is 192.168.1.8:5003 <0x77745520>
Log VeraEdge after the gateway reset:
50 12/27/17 22:40:09.065 luup_log:251: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,GWAddress, 192.168.1.8:5003, 251 <0x77745520>
06 12/27/17 22:40:09.066 Device_Variable::m_szValue_set device: 251 service: urn:upnp-arduino-cc:serviceId:arduino1 variable: GWAddress was: - now: 192.168.1.8:5003 #hooks: 0 upnp: 0 skip: 0 v:0x115c528/NONE duplicate:0 <0x77745520>
50 12/27/17 22:40:09.068 luup_log:251: Arduino: Sending: 0;0;3;0;2;Get Version <0x77745520>
01 12/27/17 22:40:10.774 LuaInterface::CallFunction_Startup device 251 function startup took 31 seconds <0x77745520>
03 12/27/17 22:40:10.774 JobHandler_LuaUPnP::m_bReloadCriticalOnly_set now 1 <0x77745520>
03 12/27/17 22:40:10.775 JobHandler_LuaUPnP::m_bReloadCriticalOnly_set now 0 <0x77745520>
50 12/27/17 22:40:10.802 luup_log:251: Arduino: Log: Gateway startup complete. <0x75d45520>
50 12/27/17 22:40:10.803 luup_log:251: Arduino: Presentation: 0;255;0;0;18;2.1.1 <0x75d45520>
50 12/27/17 22:40:10.804 luup_log:251: Arduino: urn:upnp-arduino-cc:serviceId:arduino1,ArduinoLibVersion, 2.1.1, 251 <0x75d45520>
Log gateway :
0;255;3;0;9;TSM:READY:NWD REQ
0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:750.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:1.92
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:76.6
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=0,pt=1,l=1,sg=0:91
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:750.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:1.94
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:76.3
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=0,pt=1,l=1,sg=0:96
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=4,c=1,t=39,pt=7,l=5,sg=0:0.75
->>>>> RESET <<<<<-
0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
0;255;3;0;9;TSM:INIT
0;255;3;0;9;TSF:WUR:MS=0
0;255;3;0;9;TSM:INIT:TSP OK
0;255;3;0;9;TSM:INIT:GW MODE
0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
0;255;3;0;9;MCO:REG:NOT NEEDED
IP->: 192.168.1.8
0;255;3;0;9;MCO:BGN:STP
0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
0;255;3;0;9;Eth: connect
0;255;3;0;9;Eth: 0;0;3;0;2;Get Version
0;255;3;0;9;Eth:
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:750.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:1.96
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:75.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=0,pt=1,l=1,sg=0:94
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=4,c=1,t=39,pt=7,l=5,sg=0:0.00
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:751.0
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:2.00
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:76.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=255,c=3,t=0,pt=1,l=1,sg=0:92
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:751.0
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:1.78
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:75.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=2,c=1,t=4,pt=7,l=5,sg=0:750.9
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=0,c=1,t=0,pt=7,l=5,sg=0:1.75
0;255;3;0;9;TSF:MSG:READ,1-1-0,s=1,c=1,t=1,pt=7,l=5,sg=0:75.5```