💬 Building an Ethernet Gateway
-
Hi everyone,
Is it possible to build an ethernet gateway with a RFM69 radio module?
Because I tried this a while ago and that didn't work because of a software problem in the library's. Is that already solved or not?
Thanks! -
Hi everyone,
Is it possible to build an ethernet gateway with a RFM69 radio module?
Because I tried this a while ago and that didn't work because of a software problem in the library's. Is that already solved or not?
Thanks!@Jonathan-Caes I did, with an RFM69HW an arduino pro mini and a funduino Ethernetmodule. Used the setup from computourist in github https://github.com/computourist/RFM69-MQTT-client
-
hello @Ed1500, i have the same problem as @Mitja-Blazinsek. i have a w5100 module (funduino), arduino pro mini and nrf24 radio. i try to use your tip, including a delay in setup() but it doen't work yet, the gateway isn't reached using ping. is necesary another change? did you move the setup() function in the program? thanks!!
-
hello @Ed1500, i have the same problem as @Mitja-Blazinsek. i have a w5100 module (funduino), arduino pro mini and nrf24 radio. i try to use your tip, including a delay in setup() but it doen't work yet, the gateway isn't reached using ping. is necesary another change? did you move the setup() function in the program? thanks!!
@Toni-Ramos Sorry to hear that. Are you using Soft SPI or hardware SPI for both?
Can you get any connection if you just use it as webserver without the NRF24? -
@Ed1500 i'm using softSPI as the example. I can see ping works correctly if i comment "#define MY_RADIO_NRF24". If not, the gateway shows the following messages continuosly:
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 FAIL
0;255;3;0;9;TSM:FAIL:CNT=1
0;255;3;0;9;TSM:FAIL:PDT
0;255;3;0;9;TSM:FAIL:RE-INIT -
@Ed1500 after tests with different versions of the library i discovered a bad welded pin in the nrf24. It seens to work fine now,i'll conect a node to the gateway and check all
-
@Ed1500 after tests with different versions of the library i discovered a bad welded pin in the nrf24. It seens to work fine now,i'll conect a node to the gateway and check all
@Toni-Ramos Glad you got it solved. apologies I had not seen yr earlier reply yet, but thats no longer relevant.
Always good to check the joints :-) -
-
What is the best way to make the gateway wait for ip address (it's set to use dhcp) when power goes down? I noticed that the gateway starts faster than the router and doesn't get the ip address so I had to push the reset button to get it to work.
-
hi after long time i finaly get new w5100 module now the test sketch from arduino ide for ethernet like web server are working fine bur still don't work as a gateway in domoticz or mycontroler. i just open example gatewayw5100 from my sensor libary and upload to mega bard bit status in my controler is always down af course i set the gateway in my controler :Enabled
Enabled
Type
Ethernet
Network type
MySensors
Connection details
Host:192.168.178.66, Port:5003
Status
Down
Status since
7 minutes ago
Status message
ERROR: connect timed out -
hi after long time i finaly get new w5100 module now the test sketch from arduino ide for ethernet like web server are working fine bur still don't work as a gateway in domoticz or mycontroler. i just open example gatewayw5100 from my sensor libary and upload to mega bard bit status in my controler is always down af course i set the gateway in my controler :Enabled
Enabled
Type
Ethernet
Network type
MySensors
Connection details
Host:192.168.178.66, Port:5003
Status
Down
Status since
7 minutes ago
Status message
ERROR: connect timed out -
my network is using 192.168.0 but i try to change the MY_IP_ADDRESS to 192.168.0.66 but still no responese. i dont know what is the ip of mycontroler it works only when ia write localhost:8443 i of domoticz was 127.0.0.1
-
ok ip of mycontroler is 192.168.0.100
-
is it maybe problem because i'm using mega board an i wired 50 51 52 pins but if i wired 11 12 13 like on the diagram here it not working the shield if i try dhcp address printer for test
-
Sorry, but can't find any information about my problem about the gateaway.
For connecting a lot of binary switches etc. i took a mega and loaded a gateaway sketch from Mihai . Normally it runs very good, when i change the status flags from ON/Off to 1/0 (Don't know why?)
But now i had the idea, to disable the radio, because I don't need it for this mega.
Now the relais-switches do no longer work as before. They only work from time to time and rather randomly.
I want to switch and contol the switches with iOBroker, but without the radion connected and activated, it doesn't run.
Any idea?