[Solved] MySensors 2.0 Ethernet gateway (ENC28J60) restart / IP issue
-
@intellium Issues with ENC: https://forum.arduino.cc/index.php?topic=398258.0
sounds pretty much the same...
-
@intellium Issues with ENC: https://forum.arduino.cc/index.php?topic=398258.0
sounds pretty much the same...
-
Just a little update:
I build a serial gateway and attached it to Domoticz. Been working ever since, even during the night. Guess this is the way to go for now.
-
@intellium Sounds good - fyi, I'm using both, W5100 and ESP8266-based GWs, w/o issues.
@tekka I've got a bunch of esp8266 modules laying around. Maybe I'll just search how to wire those up to my nano's and find some code to run it as a dedicated gateway / sensor node. I've noticed the site uses a NodeMCU board for this instead of an Arduino (Nano) ?
-
Having the exact issue as the OP, but then with a W5100 shield and a NRF24.
Reverting back to MySensors 1.5.4 solves the problem.
Now i was on a beta of 2.0 that i uploaded to the gateway quite some time ago, and this worked without issues
Something has changed in the final 2.0 release... and i want to revert that change ;) -
Having the exact issue as the OP, but then with a W5100 shield and a NRF24.
Reverting back to MySensors 1.5.4 solves the problem.
Now i was on a beta of 2.0 that i uploaded to the gateway quite some time ago, and this worked without issues
Something has changed in the final 2.0 release... and i want to revert that change ;) -
No, the Node is resetting itself with the messages in the first post.
If i disable debug, it is logging the IP Address over and over again (each second), connection is reset at that moment -
The sketch is 99,999% the same as 'GatewayW5100' except i changed:
#define MY_IP_ADDRESS 192,168,0,50The default Arduino ethernet server examples work perfectly
Thanks in advance !
-
@tekka said:
@GizMoCuz did you uncomment
#define MY_DEBUGas suggested above?
Yep, see three posts up (If i disable debug, it is logging the IP Address over and over again (each second), connection is reset at that moment)
And unfortunately does not explain why version 1.5 is running (but missing important features/fixes)
-
@tekka said:
@GizMoCuz did you uncomment
#define MY_DEBUGas suggested above?
Yep, see three posts up (If i disable debug, it is logging the IP Address over and over again (each second), connection is reset at that moment)
And unfortunately does not explain why version 1.5 is running (but missing important features/fixes)
-
I have the same problem:
Mega 2560+ w5100
Lib 1.5.4 all good
Lib 2.0 restart again and again -
@intellium Sounds good - fyi, I'm using both, W5100 and ESP8266-based GWs, w/o issues.
@tekka After my original report that the serial gateway worked through the night, I have had to reset it every ~24 hours. Somewhere around that timeframe, the serial gateway just doesn't respond anymore. Restarting the controller doesn't help. When I reset the serial gateway, it instantly works again and continues to do so for around 24 hours. So it seems that although the serial gateway works longer, it eventually also suffers the same issue.... Is this some kind of memory leak perhaps ?
-
@tekka After my original report that the serial gateway worked through the night, I have had to reset it every ~24 hours. Somewhere around that timeframe, the serial gateway just doesn't respond anymore. Restarting the controller doesn't help. When I reset the serial gateway, it instantly works again and continues to do so for around 24 hours. So it seems that although the serial gateway works longer, it eventually also suffers the same issue.... Is this some kind of memory leak perhaps ?
@intellium - as said before, I strongly as well suspect power issues. I would try out different power supplies and try changing out different parts in your setup.
-
@intellium - as said before, I strongly as well suspect power issues. I would try out different power supplies and try changing out different parts in your setup.
@sundberg84 I've tried different power supplies already with the same problem.
I'll source some more components from different shops and will build another gateway to test. Will report back once done.
-
@tekka After my original report that the serial gateway worked through the night, I have had to reset it every ~24 hours. Somewhere around that timeframe, the serial gateway just doesn't respond anymore. Restarting the controller doesn't help. When I reset the serial gateway, it instantly works again and continues to do so for around 24 hours. So it seems that although the serial gateway works longer, it eventually also suffers the same issue.... Is this some kind of memory leak perhaps ?
@intellium said:
seems that although the serial gateway works longer, it eventually also suffers the same issue
Getting into a 'reboot loop' and 'no longer responding' are probably two different things. We should be careful not to mix things up!