new RFM69 Gateway and node
-
This is the output from the gateway:
0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 18 cnt connected with HasenpupsExtreme, channel 1 dhcp client start... 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 f r0, scandone ip:192.168.1.35,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.35 0;255;3;0;9;MCO:BGN:STP -- STA (client) informations -- Hostname: MySensor-Gateway-RFM69 Connected to: HasenpupsExtreme (80:EA:96:F0:49:F2), -73dBm IP address: 192.168.1.35 Gateway address: 192.168.1.1 Subnet mask: 255.255.255.0 MAC STA address: 5C:CF:7F:2C:11:3D -- AP (server) informations -- Soft IP address: 0.0.0.0 MAC AP address: 5E:CF:7F:2C:11:3D ---- 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 pm open,type:2 0 0;255;3;0;9;Client 0 connected 0;255;3;0;9;Client 0: 0;0;3;0;2; -
This is the output from the gateway:
0;255;3;0;9;TSF:LRT:OK 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSF:WUR:MS=0 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 18 cnt connected with HasenpupsExtreme, channel 1 dhcp client start... 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 f r0, scandone ip:192.168.1.35,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.35 0;255;3;0;9;MCO:BGN:STP -- STA (client) informations -- Hostname: MySensor-Gateway-RFM69 Connected to: HasenpupsExtreme (80:EA:96:F0:49:F2), -73dBm IP address: 192.168.1.35 Gateway address: 192.168.1.1 Subnet mask: 255.255.255.0 MAC STA address: 5C:CF:7F:2C:11:3D -- AP (server) informations -- Soft IP address: 0.0.0.0 MAC AP address: 5E:CF:7F:2C:11:3D ---- 0;255;3;0;9;MCO:BGN:INIT OK,TSP=1 pm open,type:2 0 0;255;3;0;9;Client 0 connected 0;255;3;0;9;Client 0: 0;0;3;0;2; -
One thing seems to be missing for your GW sketch.
In the example sketch I provide I define some things that seems to be missing here:#define MY_RF69_IRQ_PIN D2 // GPIO 4 #define MY_RF69_SPI_CS D8 // GPIO 15Could you try with the included "MySWemosGatewayESP8266OTA.ino" sketch to see if this one is working?
-
I now get some kind of communication but it seems that the WeMos pro mini does reset when a controller is connected and a message is received from a node.
I will check this tomorrow.
@gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).
-
@gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).
@korttoma said:
@gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).
Thanks for this hint but is this also neccessary for the WeMos modules (ESP8266)? My gateway with an NRF24L01 chip and the same WeMos is running without any problems.
-
@korttoma said:
@gloob reset of ethernet modules is usually a symptom of the problem in the Arduino AVR board definition in version 1.6.12 and newer. Please try version 1.6.11. (don't remember exactly what versions vere affected but 1.6.11 works for me).
Thanks for this hint but is this also neccessary for the WeMos modules (ESP8266)? My gateway with an NRF24L01 chip and the same WeMos is running without any problems.
@gloob I received my RFM69 radio modules yesterday and did a quick test.
Same as for you, I'm unable to have a "MockSensor" talk to an esp8266 based gateway, both WeMos or NodeMCU.Never used RFM69 before so I'm not sure how to go from there, will do a few more tests on evenings and this week end, let me know if you got something on your side.
-
Good to know.
I guess this is not a MySensors weather station, do you mind sharing the code you used, or project (I found a few on github).
I will have a look in the code to see if there is something obvious somewhere. -
It is called "LaCrosse Gateway"
You can find the source code here: https://svn.fhem.de/trac/export/HEAD/trunk/fhem/contrib/arduino/36_LaCrosseGateway.zipI have included this gateway in FHEM and receive a weather station sensor from "Technoline" which is sending on 868MHz.