[solved] node can't join gateway (gw using dev branch)
-
Hello,
I've setup my gateway yesterday using the development branch so I could put a humidity sensor on it (works great !).
I now have a small network with the gateway using development branch, and one arduino nano on the master branch also having a humidity sensor.Now, I've begun working on a future watermeter with a tcrt-5000 IR Barrier Line Track sensor.
First step has been to put components (arduino nano + nrf24l01+ + tcrt-5000) on a breadboard and upload sketch. Unfortunately, I can't join the node to the network.
With the sketch taken from dev branch, I get this on the serial monitor
Radio init successful. send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail: send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=fail:2.0.0-beta send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0 send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:Water Meter send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.1 find parent send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=fail: Init complete, id=2, parent=0, distance=255 send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: find parent send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: find parent send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:When using the sketch from master branch, I get this :
send: 2-2-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=fail:0 send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.4 send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0 sensor started, id=2, parent=0, distance=1 send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:Water Meter send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.1 send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=fail: find parent send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:I just remembered having read about some inclusion time and I tried to unplug/plug the gateway to the rpi controller and it worked a bit better :
sensor started, id=2, parent=0, distance=1 send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=ok:Water Meter send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.1 send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=ok: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail: send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:Doing this, Domoticz could detect the hardware : http://snag.gy/kuVGr.jpg
But I could not find anything in the device tab, which I think is due to the following failed sendings.
I guess it could be related to the development version but if someone has a suggestion, it would be welcome.
Regards
Mikael -
Hi!
First thing that comes to my attention is all your ,st=fail:
It might be a range or power issue, do you have caps on your radios?
Can be a hardware fault with your radio as wellMy guess is that your node is sending, but it doesnt reach the gw
Have a look at your gw log. Do you see anything there? Probably not?