š¬ Building an Ethernet Gateway
-
Same problem like Reza, same error messages AND I USING ethernet shield, ARDUINO MEGA AND nrf24
-
And using ARDUINO 1 the same problem.
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:FAIL
0;255;3;0;9;!TSM:FAILURE
0;255;3;0;9;TSM:PDT
0;255;3;0;9;TSM:INIT
0;255;3;0;9;!TSM:RADIO:FAIL
0;255;3;0;9;!TSM:FAILURE
0;255;3;0;9;TSM:PDT -
Had lots of issues getting this to work. The issue seems to be with the ethernet part, as I only have an ethernet board attached I removed the lines for the radio and the pin redirection. Still the code kept restarting all the time or just not being able to connect the controller.
AVR version of the Arduino 1.8.0 kit needs to be downgraded. I had 1.6.16 and downgraded to 1.6.11.
Open Arduino. Tools > Board: xxxxx > Boards manager... > Click "Arduino AVR Boards" > Select Version > 1.6.11
Recompile and you are good.
-
@LaMB95
For the moment, i don't think there is an howto regarding w5500 as we're mostly using w5100, but maybe you can find some infos in this topic https://forum.mysensors.org/topic/2901/my-ethernet-gateway-board-w5500 -
Hi All,
I have an ethernet gateway base on arduino Pro mini with NRF24L01 radio and Funding ethernet card with W5100 chips. (As per description of this page)
All works fine when I'm connected to it with Arduino IDE. Works for hours/days.
If I unplug the IDE (disconnect USB) and run it alone it stop working after for minutes or few hours.
I have only one sensor (temperature) to test. It send Temperature and battery level every 10s (testing). Led attached to Gateway to show the traffic lit up twice each time it receive the information from the sensor. The LED lit up twice like half a second when everything is fine. Easy to see.
When the issue starts, the led lit up time to time but very quickly, and even very difficult to see. Some time I can ping the Gateway, some time not.
Any idea from anybody ? -
The first one will not compile since the #include <SPI.h> is missing
-
Hello guys,
Can anyone help me with modify this to work with W5500 Ethernet module?
Please advice us what need to be modified and why it needs to be modified.
Thanks you very much.@WizarDEAD the information in https://forum.mysensors.org/topic/2901/my-ethernet-gateway-board-w5500 might be useful.
-
Hi Guys,
I'm using a Wiznet W5100 Ethernet module.
The pins are described as following (I added a numbering myself:

The MySensors Gateway uses different terms, am I 'translating' them correctly?

@Chucky_69
Looks right! -
Maybe I just overlooked that, but is it possible to statically define netmask and gateway in the sketch? I'm using ENC28J60.
-
@mfalkvidd , yes I also found this in MQTT GW example, thanks.
This seems to be not working on my ENC28J60 - as I can see the the default gateway setting is not taken into account. I will test with W5100.Edit: I confirm that these settings work properly with W5100, just tested.