RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0
-
I use this Module...
https://www.openhardware.io/view/386/Minimalist-RFM69CW-WeMos-D1-Mini-ShieldIRQ=DIO0= GPIO4=D2
CS=NSS=GPIO15=D8 -
I have researched and have found out that an arduino nano as a serial gateway also does not seem to work (same log as above).
I hope this helps you a bit.
@Floca - A nano will fry your radio (5v SPI/data lines) but maybe you wrote the wrong mcu?
I can comfirm that a RFM69w and Pro Mini 3.3v 8mhz works great on dev branch.
im using this code: https://github.com/sundberg84/MySensors2.0.0/blob/master/RFM69gw/Rfm69gw.ino
And this hardware: https://forum.mysensors.org/topic/6809/easy-newbie-pcb-rfm69-hw-w-edition-for-mysensors/16
-
@Floca - A nano will fry your radio (5v SPI/data lines) but maybe you wrote the wrong mcu?
I can comfirm that a RFM69w and Pro Mini 3.3v 8mhz works great on dev branch.
im using this code: https://github.com/sundberg84/MySensors2.0.0/blob/master/RFM69gw/Rfm69gw.ino
And this hardware: https://forum.mysensors.org/topic/6809/easy-newbie-pcb-rfm69-hw-w-edition-for-mysensors/16
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
A nano will fry your radio (5v SPI/data lines) but maybe you wrote the wrong mcu?
whoops, i forget that, but it still works ^^
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
I can comfirm that a RFM69w and Pro Mini 3.3v 8mhz works great on dev branch.
Seems to be an Gateway problem, because the Sensor waits for the gateway...
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
im using this code: https://github.com/sundberg84/MySensors2.0.0/blob/master/RFM69gw/Rfm69gw.ino
@mfalkvidd doublechecked my script, tht should not be the Problem :(
-
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
A nano will fry your radio (5v SPI/data lines) but maybe you wrote the wrong mcu?
whoops, i forget that, but it still works ^^
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
I can comfirm that a RFM69w and Pro Mini 3.3v 8mhz works great on dev branch.
Seems to be an Gateway problem, because the Sensor waits for the gateway...
@sundberg84 said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
im using this code: https://github.com/sundberg84/MySensors2.0.0/blob/master/RFM69gw/Rfm69gw.ino
@mfalkvidd doublechecked my script, tht should not be the Problem :(
@Floca which controller do you use ? I have a gw and two sensors working great.
-
@Floca good maybe the issue is rfm+vemos but which controller do you use?
-
@Floca I'm not familiar with fhem but I guess that controller hands out Id?
-
I think FHEM hands it out, yes, because you can configure the ID's in the Mysensors Module.
...with nRF24 the beta is no Problem with FHEM.
@Floca I now have working nodes with 2.0.0. Unfortunately (at least for this troubleshooting) they also work with 2.2.0-beta.
Sensor 2.0.0 and Gateway 2.0.0:
Starting sensor (RRNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=1) TSM:FPAR TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0 TSP:MSG:FPAR RES (ID=0, dist=0) TSP:MSG:PAR OK (ID=0, dist=1) TSM:FPAR:OK TSM:ID TSM:CHKID:OK (ID=1) TSM:UPL TSP:PING:SEND (dest=0) TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1 TSP:MSG:READ 0-0-1 s=255,c=3,t=25,pt=1,l=1,sg=0:1 TSP:MSG:PONG RECV (hops=1) TSP:CHKUPL:OK TSM:UPL:OK TSM:READY TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100 !TSP:MSG:SEND 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0 TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=ok:0 TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=ok:TemperatureAndHumidity TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1 TSP:MSG:SEND 1-1-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok: TSP:MSG:SEND 1-1-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok: Request registration... TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2 TSP:MSG:READ 0-0-1 s=255,c=3,t=27,pt=1,l=1,sg=0:1 Node registration=1 Init complete, id=1, parent=0, distance=1, registration=1 TSP:MSG:SEND 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:1.0 T: 1.00 TSP:MSG:SEND 1-1-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=ok:35.0 H: 35.000;255;3;0;9;Starting gateway (RRNGE-, 2.0.0) 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSM:RADIO:OK 0;255;3;0;9;TSM:GW MODE 0;255;3;0;9;TSM:READY scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt connected with Mr-IoT.com, channel 2 dhcp client start... f r0, scandone ip:192.168.1.215,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.215 0;255;3;0;9;No registration required 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 pm open,type:2 0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL) 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0Sensor 2.2.0-beta and Gateway 2.0.0:
0 MCO:BGN:INIT NODE,CP=RRNNA---,VER=2.2.0-beta 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=1 12 TSF:SID:OK,ID=1 14 TSM:FPAR 22 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 446 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0 452 TSF:MSG:FPAR OK,ID=0,D=1 2031 TSM:FPAR:OK 2031 TSM:ID 2033 TSM:ID:OK 2035 TSM:UPL 2043 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2158 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2164 TSF:MSG:PONG RECV,HP=1 2166 TSM:UPL:OK 2168 TSM:READY:ID=1,PAR=0,DIS=1 2385 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2459 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2678 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.2.0-beta 2899 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4919 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity 5140 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 5359 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 5578 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 5584 MCO:REG:REQ 5799 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 5869 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1 5875 MCO:PIM:NODE REG=1 5879 MCO:BGN:STP 5881 MCO:BGN:INIT OK,TSP=1 6098 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:1.0 T: 1.00 6318 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:35.0 H: 35.00 6326 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 6332 TSF:TDI:TSLGateway 2.0.0 (did not restart it from previous log):
0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OKSensor 2.2.0-beta and gateway 2.2.0-beta:
0 MCO:BGN:INIT NODE,CP=RRNNA---,VER=2.2.0-beta 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=1 12 TSF:SID:OK,ID=1 14 TSM:FPAR 1234 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 1540 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0 1546 TSF:MSG:FPAR OK,ID=0,D=1 3244 TSM:FPAR:OK 3244 TSM:ID 3246 TSM:ID:OK 3248 TSM:UPL 3258 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 3387 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1 3393 TSF:MSG:PONG RECV,HP=1 3395 TSM:UPL:OK 3397 TSM:READY:ID=1,PAR=0,DIS=1 3612 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 3694 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 3915 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.2.0-beta 4136 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 6154 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity 6377 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 6594 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6813 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 6821 MCO:REG:REQ 7034 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 7118 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1 7124 MCO:PIM:NODE REG=1 7129 MCO:BGN:STP 7131 MCO:BGN:INIT OK,TSP=1 7348 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:1.0 T: 1.00 7569 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:35.0 H: 35.00 7577 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 7583 TSF:TDI:TSL 7585 MCO:SLP:WUP=-1 7587 TSF:TRI:TSB 8820 !TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=NACK:31.0 T: 31.00 10070 !TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=1,st=NACK:84.0 H: 84.00 10078 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10084 TSF:TDI:TSL 10086 MCO:SLP:WUP=-1 10088 TSF:TRI:TSB 10100 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=2,st=OK:42.0 T: 42.00 10323 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:81.0 H: 81.00 10332 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10338 TSF:TDI:TSL 10340 MCO:SLP:WUP=-1 10342 TSF:TRI:TSB 10354 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:31.0 T: 31.00 10577 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:45.0 H: 45.00 10586 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10592 TSF:TDI:TSL 10594 MCO:SLP:WUP=-1 10596 TSF:TRI:TSB 10608 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:2.0 T: 2.00 10831 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:38.0 H: 38.00 10840 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10846 TSF:TDI:TSL 10848 MCO:SLP:WUP=-1 10852 TSF:TRI:TSB 10862 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:28.0 T: 28.00 11085 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:18.0 H: 18.00 11094 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11100 TSF:TDI:TSL 11102 MCO:SLP:WUP=-1 11104 TSF:TRI:TSB 11116 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:43.0 T: 43.00 11339 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:72.0 H: 72.00 11347 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11354 TSF:TDI:TSL 11358 MCO:SLP:WUP=-1 11360 TSF:TRI:TSB 11372 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:8.0 T: 8.00 11593 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:30.0 H: 30.00 11601 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11608 TSF:TDI:TSL 11610 MCO:SLP:WUP=-1 11612 TSF:TRI:TSB 11626 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:3.0 T: 3.00 11847 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:17.0 H: 17.00 11855 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11862 TSF:TDI:TSL 11864 MCO:SLP:WUP=-1 11868 TSF:TRI:TSB 11878 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:40.0 T: 40.00 12101 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:38.0 H: 38.00 12109 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 12115 TSF:TDI:TSL0;255;3;0;9;5695 MCO:BGN:INIT GW,CP=RRNGE---,VER=2.2.0-beta 0;255;3;0;9;5757 TSF:LRT:OK 0;255;3;0;9;5786 TSM:INIT 0;255;3;0;9;5813 TSF:WUR:MS=0 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt connected with Mr-IoT.com, channel 2 dhcp client start... 0;255;3;0;9;5993 TSM:INIT:TSP OK 0;255;3;0;9;6027 TSM:INIT:GW MODE 0;255;3;0;9;6062 TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;6108 MCO:REG:NOT NEEDED f r0, scandone ip:192.168.1.215,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.215 0;255;3;0;9;6647 MCO:BGN:STP 0;255;3;0;9;6698 MCO:BGN:INIT OK,TSP=1 pm open,type:2 0 0;255;3;0;9;40166 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:42.0 0;255;3;0;9;40388 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:81.0 0;255;3;0;9;99604 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:31.0 0;255;3;0;9;99826 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:45.0 0;255;3;0;9;159042 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:2.0 0;255;3;0;9;159264 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:38.0 0;255;3;0;9;218484 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.0 0;255;3;0;9;218706 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:18.0 0;255;3;0;9;277923 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:43.0 0;255;3;0;9;278146 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:72.0 0;255;3;0;9;337356 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:8.0 0;255;3;0;9;337577 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:30.0 0;255;3;0;9;396783 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:3.0 0;255;3;0;9;397005 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:17.0These are the defines I used
Node:#define MY_NODE_ID 1 // To avoid having to involve a controller #define MY_RADIO_RFM69 #define MY_RFM69_FREQUENCY RFM69_433MHZ // RFM69_433MHZ for development branch, RF69_433MHZ for master #define MY_RF69_IRQ_PIN 2 #define MY_RF69_SPI_CS 10Gateway:
#define MY_RADIO_RFM69 #define MY_RF69_IRQ_PIN D2 #define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN #define MY_RF69_SPI_CS D8 #define MY_RFM69_FREQUENCY RFM69_433MHZ // RFM69_433MHZ for development branch, RF69_433MHZ for masterThe only difference I see is that my radio modules are for 433MHz, while yours are for 868 (which is default). I don't see why it should matter, but it is a difference.
I used this git commit
commit 3e75b52c33b06c70d60eb691bd127e2f585a0c87 Date: Fri Jul 7 14:36:14 2017 +0200On the node I used
float temperature = random(1,50); float humidity = random(1,100);to avoid involving the DHT
-
@Floca I now have working nodes with 2.0.0. Unfortunately (at least for this troubleshooting) they also work with 2.2.0-beta.
Sensor 2.0.0 and Gateway 2.0.0:
Starting sensor (RRNNA-, 2.0.0) TSM:INIT TSM:RADIO:OK TSP:ASSIGNID:OK (ID=1) TSM:FPAR TSP:MSG:SEND 1-1-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc: TSP:MSG:READ 0-0-1 s=255,c=3,t=8,pt=1,l=1,sg=0:0 TSP:MSG:FPAR RES (ID=0, dist=0) TSP:MSG:PAR OK (ID=0, dist=1) TSM:FPAR:OK TSM:ID TSM:CHKID:OK (ID=1) TSM:UPL TSP:PING:SEND (dest=0) TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1 TSP:MSG:READ 0-0-1 s=255,c=3,t=25,pt=1,l=1,sg=0:1 TSP:MSG:PONG RECV (hops=1) TSP:CHKUPL:OK TSM:UPL:OK TSM:READY TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100 !TSP:MSG:SEND 1-1-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=fail:2.0.0 TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=1,st=ok:0 TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=ok:TemperatureAndHumidity TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=ok:1.1 TSP:MSG:SEND 1-1-0-0 s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok: TSP:MSG:SEND 1-1-0-0 s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok: Request registration... TSP:MSG:SEND 1-1-0-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2 TSP:MSG:READ 0-0-1 s=255,c=3,t=27,pt=1,l=1,sg=0:1 Node registration=1 Init complete, id=1, parent=0, distance=1, registration=1 TSP:MSG:SEND 1-1-0-0 s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:1.0 T: 1.00 TSP:MSG:SEND 1-1-0-0 s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=ok:35.0 H: 35.000;255;3;0;9;Starting gateway (RRNGE-, 2.0.0) 0;255;3;0;9;TSM:INIT 0;255;3;0;9;TSM:RADIO:OK 0;255;3;0;9;TSM:GW MODE 0;255;3;0;9;TSM:READY scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt connected with Mr-IoT.com, channel 2 dhcp client start... f r0, scandone ip:192.168.1.215,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.215 0;255;3;0;9;No registration required 0;255;3;0;9;Init complete, id=0, parent=0, distance=0, registration=1 pm open,type:2 0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK (FLDCTRL) 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=fail:0 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:SANCHK:OK 0;255;3;0;9;TSP:MSG:READ 1-1-255 s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:BC 0;255;3;0;9;TSP:MSG:FPAR REQ (sender=1) 0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;!TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=fail:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0Sensor 2.2.0-beta and Gateway 2.0.0:
0 MCO:BGN:INIT NODE,CP=RRNNA---,VER=2.2.0-beta 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=1 12 TSF:SID:OK,ID=1 14 TSM:FPAR 22 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 446 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0 452 TSF:MSG:FPAR OK,ID=0,D=1 2031 TSM:FPAR:OK 2031 TSM:ID 2033 TSM:ID:OK 2035 TSM:UPL 2043 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 2158 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1 2164 TSF:MSG:PONG RECV,HP=1 2166 TSM:UPL:OK 2168 TSM:READY:ID=1,PAR=0,DIS=1 2385 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 2459 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 2678 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.2.0-beta 2899 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 4919 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity 5140 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 5359 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 5578 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 5584 MCO:REG:REQ 5799 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 5869 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1 5875 MCO:PIM:NODE REG=1 5879 MCO:BGN:STP 5881 MCO:BGN:INIT OK,TSP=1 6098 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:1.0 T: 1.00 6318 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:35.0 H: 35.00 6326 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 6332 TSF:TDI:TSLGateway 2.0.0 (did not restart it from previous log):
0;255;3;0;9;TSP:CHKUPL:OK 0;255;3;0;9;TSP:MSG:GWL OK 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=ok:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=24,pt=1,l=1,sg=0:1 0;255;3;0;9;TSP:MSG:PINGED (ID=1, hops=1) 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=15,pt=6,l=2,sg=0:0100 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=0,t=17,pt=0,l=10,sg=0:2.2.0-beta 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=11,pt=0,l=22,sg=0:TemperatureAndHumidity 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=12,pt=0,l=3,sg=0:1.1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=0,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=0,t=6,pt=0,l=0,sg=0: 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=255,c=3,t=26,pt=1,l=1,sg=0:2 0;255;3;0;9;TSP:MSG:SEND 0-0-1-1 s=255,c=3,t=27,pt=1,l=1,sg=0,ft=0,st=ok:1 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:1.0 0;255;3;0;9;TSP:MSG:READ 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.0 0;255;3;0;9;TSP:SANCHK:OKSensor 2.2.0-beta and gateway 2.2.0-beta:
0 MCO:BGN:INIT NODE,CP=RRNNA---,VER=2.2.0-beta 4 TSM:INIT 4 TSF:WUR:MS=0 8 TSM:INIT:TSP OK 10 TSM:INIT:STATID=1 12 TSF:SID:OK,ID=1 14 TSM:FPAR 1234 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 1540 TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0 1546 TSF:MSG:FPAR OK,ID=0,D=1 3244 TSM:FPAR:OK 3244 TSM:ID 3246 TSM:ID:OK 3248 TSM:UPL 3258 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1 3387 TSF:MSG:READ,0-0-1,s=255,c=3,t=25,pt=1,l=1,sg=0:1 3393 TSF:MSG:PONG RECV,HP=1 3395 TSM:UPL:OK 3397 TSM:READY:ID=1,PAR=0,DIS=1 3612 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=OK:0100 3694 TSF:MSG:READ,0-0-1,s=255,c=3,t=15,pt=6,l=2,sg=0:0100 3915 TSF:MSG:SEND,1-1-0-0,s=255,c=0,t=17,pt=0,l=10,sg=0,ft=0,st=OK:2.2.0-beta 4136 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=OK:0 6154 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=11,pt=0,l=22,sg=0,ft=0,st=OK:TemperatureAndHumidity 6377 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=12,pt=0,l=3,sg=0,ft=0,st=OK:1.1 6594 TSF:MSG:SEND,1-1-0-0,s=0,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6813 TSF:MSG:SEND,1-1-0-0,s=1,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=OK: 6821 MCO:REG:REQ 7034 TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=OK:2 7118 TSF:MSG:READ,0-0-1,s=255,c=3,t=27,pt=1,l=1,sg=0:1 7124 MCO:PIM:NODE REG=1 7129 MCO:BGN:STP 7131 MCO:BGN:INIT OK,TSP=1 7348 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:1.0 T: 1.00 7569 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:35.0 H: 35.00 7577 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 7583 TSF:TDI:TSL 7585 MCO:SLP:WUP=-1 7587 TSF:TRI:TSB 8820 !TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=NACK:31.0 T: 31.00 10070 !TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=1,st=NACK:84.0 H: 84.00 10078 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10084 TSF:TDI:TSL 10086 MCO:SLP:WUP=-1 10088 TSF:TRI:TSB 10100 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=2,st=OK:42.0 T: 42.00 10323 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:81.0 H: 81.00 10332 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10338 TSF:TDI:TSL 10340 MCO:SLP:WUP=-1 10342 TSF:TRI:TSB 10354 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:31.0 T: 31.00 10577 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:45.0 H: 45.00 10586 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10592 TSF:TDI:TSL 10594 MCO:SLP:WUP=-1 10596 TSF:TRI:TSB 10608 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:2.0 T: 2.00 10831 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:38.0 H: 38.00 10840 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 10846 TSF:TDI:TSL 10848 MCO:SLP:WUP=-1 10852 TSF:TRI:TSB 10862 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:28.0 T: 28.00 11085 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:18.0 H: 18.00 11094 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11100 TSF:TDI:TSL 11102 MCO:SLP:WUP=-1 11104 TSF:TRI:TSB 11116 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:43.0 T: 43.00 11339 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:72.0 H: 72.00 11347 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11354 TSF:TDI:TSL 11358 MCO:SLP:WUP=-1 11360 TSF:TRI:TSB 11372 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:8.0 T: 8.00 11593 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:30.0 H: 30.00 11601 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11608 TSF:TDI:TSL 11610 MCO:SLP:WUP=-1 11612 TSF:TRI:TSB 11626 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:3.0 T: 3.00 11847 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:17.0 H: 17.00 11855 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 11862 TSF:TDI:TSL 11864 MCO:SLP:WUP=-1 11868 TSF:TRI:TSB 11878 TSF:MSG:SEND,1-1-0-0,s=1,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=OK:40.0 T: 40.00 12101 TSF:MSG:SEND,1-1-0-0,s=0,c=1,t=1,pt=7,l=5,sg=0,ft=0,st=OK:38.0 H: 38.00 12109 MCO:SLP:MS=60000,SMS=0,I1=255,M1=255,I2=255,M2=255 12115 TSF:TDI:TSL0;255;3;0;9;5695 MCO:BGN:INIT GW,CP=RRNGE---,VER=2.2.0-beta 0;255;3;0;9;5757 TSF:LRT:OK 0;255;3;0;9;5786 TSM:INIT 0;255;3;0;9;5813 TSF:WUR:MS=0 scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 1 cnt connected with Mr-IoT.com, channel 2 dhcp client start... 0;255;3;0;9;5993 TSM:INIT:TSP OK 0;255;3;0;9;6027 TSM:INIT:GW MODE 0;255;3;0;9;6062 TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;6108 MCO:REG:NOT NEEDED f r0, scandone ip:192.168.1.215,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.215 0;255;3;0;9;6647 MCO:BGN:STP 0;255;3;0;9;6698 MCO:BGN:INIT OK,TSP=1 pm open,type:2 0 0;255;3;0;9;40166 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:42.0 0;255;3;0;9;40388 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:81.0 0;255;3;0;9;99604 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:31.0 0;255;3;0;9;99826 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:45.0 0;255;3;0;9;159042 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:2.0 0;255;3;0;9;159264 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:38.0 0;255;3;0;9;218484 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:28.0 0;255;3;0;9;218706 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:18.0 0;255;3;0;9;277923 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:43.0 0;255;3;0;9;278146 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:72.0 0;255;3;0;9;337356 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:8.0 0;255;3;0;9;337577 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:30.0 0;255;3;0;9;396783 TSF:MSG:READ,1-1-0,s=1,c=1,t=0,pt=7,l=5,sg=0:3.0 0;255;3;0;9;397005 TSF:MSG:READ,1-1-0,s=0,c=1,t=1,pt=7,l=5,sg=0:17.0These are the defines I used
Node:#define MY_NODE_ID 1 // To avoid having to involve a controller #define MY_RADIO_RFM69 #define MY_RFM69_FREQUENCY RFM69_433MHZ // RFM69_433MHZ for development branch, RF69_433MHZ for master #define MY_RF69_IRQ_PIN 2 #define MY_RF69_SPI_CS 10Gateway:
#define MY_RADIO_RFM69 #define MY_RF69_IRQ_PIN D2 #define MY_RF69_IRQ_NUM MY_RF69_IRQ_PIN #define MY_RF69_SPI_CS D8 #define MY_RFM69_FREQUENCY RFM69_433MHZ // RFM69_433MHZ for development branch, RF69_433MHZ for masterThe only difference I see is that my radio modules are for 433MHz, while yours are for 868 (which is default). I don't see why it should matter, but it is a difference.
I used this git commit
commit 3e75b52c33b06c70d60eb691bd127e2f585a0c87 Date: Fri Jul 7 14:36:14 2017 +0200On the node I used
float temperature = random(1,50); float humidity = random(1,100);to avoid involving the DHT
@mfalkvidd said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
commit 3e75b52c33b06c70d60eb691bd127e2f585a0c87
Date: Fri Jul 7 14:36:14 2017 +0200The same commit as i used, freshly downloaded yesterday.
2.0.0 also not running?
-
@mfalkvidd said in RFM69CW Gateway and Nodes are not working with Api newer then 2.0.0:
commit 3e75b52c33b06c70d60eb691bd127e2f585a0c87
Date: Fri Jul 7 14:36:14 2017 +0200The same commit as i used, freshly downloaded yesterday.
2.0.0 also not running?