Still searching for a working Ethernet GW with RFM69
-
Seeting up an blank, clean, new Domoticz Controller. Same Error if receiving data.
2017-03-09 19:33:29.101 MySensors: TCP/IP Worker stopped... 2017-03-09 19:33:30.103 MySensors: trying to connect to: 192.168.100.254:5003 2017-03-09 19:33:31.104 MySensors: connected to: 192.168.100.254:5003 2017-03-09 19:33:40.106 MySensors: Connection reset! 2017-03-09 19:33:40.106 TCP: Reconnecting in 30 seconds... 2017-03-09 19:34:10.110 TCP: Reconnecting... 2017-03-09 19:34:11.110 MySensors: connected to: 192.168.100.254:5003 2017-03-09 19:34:20.112 MySensors: Connection reset! 2017-03-09 19:34:20.112 TCP: Reconnecting in 30 seconds... -
Nice! Greate that you found the solution to the rebooting on your own. Many have encountered the issue. Now we are at least 3 persons with a working RFM69 Ethernet GW.
-
Hello,
For those like me that have followed the intructions but cannot have their ethernet gateway to work with RFM69, that page may explain the source of the problem : some W5100 hardware modules do not have the logic allowing other SPI device to share the same bus (time to solder...).
Hope that can help others, saving them hours of tests and failures... -
Hello,
For those like me that have followed the intructions but cannot have their ethernet gateway to work with RFM69, that page may explain the source of the problem : some W5100 hardware modules do not have the logic allowing other SPI device to share the same bus (time to solder...).
Hope that can help others, saving them hours of tests and failures...Started some tests to drive W5100 Funduino module SPI_EN pin by a dedicated arduino output as it seems to be the goal of MY_W5100_SPI_EN but after some more failures (a LED on MY_W5100_SPI_EN pin does not blink as I would expect), I realize that I do not see any use of that pin definition in MQTT, only in the EthernetGateway sketch... Am I missing something ?
For those who manage to get their W5100 and RFM69 sharing the same SPI but ( @Snobs , @jpaulin , @korttoma ) what W5100 modules are you using ? Do you know how the Wiznet SPI_EN pin is driven (do you have the module schematic) ? -
I am using this module with an arduino pro mini
#define MY_RADIO_RFM69 #define MY_RFM69_FREQUENCY RF69_433MHZ #define MY_RF69_SPI_CS 9 // Enable gateway ethernet module type #define MY_GATEWAY_W5100 -
Thanks @korttoma for your feedback ! Looks like the one I use. Did you manage to get this hardware working with MQTT sketch ?
-
It is possible to use RFM69 radio via SoftSPI which allow to build gateway with W5100 or ethernet shield. You need to change RFM69 driver and MyConfig.h configuration file.
I put modified these files at github repository: https://github.com/gieemek/RFM69_softSPI-for-MySensors-2.1.1
You can find instruction how to prepare gateway sketch at this repository too.
My gateway (as MQTT client) with ethernet shield and RFM69 radio via SoftSPI is working for 10 days without any problems.