So I'm trying to setup PiSerialGateway with a nrf24l01+. I'm getting some output but I don't understand it. If the sensors only scream out into the air or if they are communicating?
I know that my sketch is working, because if I attach it to my Pi3 with USB cable as a ordinary SerialGateway my sensors appear in Domoticz.
This it the output I have from my sketch with debug turned on. Don't know where it starts or ends so I just copy a few lines.
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
TSF:CHKUPL:FAIL
!TSM:UPL:FAIL
TSM:FPAR
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
TSF:CHKUPL:FAIL
!TSM:UPL:FAIL
TSM:FPAR
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
TSF:MSG:SEND,1-1-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
TSF:CHKUPL:FAIL
!TSM:UPL:FAIL
TSM:FPAR
TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
TSF:MSG:READ,0-0-1,s=255,c=3,t=8,pt=1,l=1,sg=0:0
TSF:MSG:FPAR RES,ID=0,D=0
TSF:MSG:FPAR OK,ID=0,D=1
TSM:FPAR:OK
TSM:ID
TSM:ID:OK,ID=1
TSM:UPL
TSF:PING:SEND,TO=0
And this is what the PiSerialGateway "says":
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
read: 1-1-0 s=255,c=3,t=24,pt=1,l=1:1
read: 1-1-255 s=255,c=3,t=7,pt=0,l=0:
send: 0-0-1-1 s=255,c=3,t=8,pt=1,l=1,st=ok:0
I only had 470µF capacitor, don't know if it is too big and that could be a problem?
Also, I don't know how to get a decent log file from PiSerialGateway? The only way I can get some output is to start it manually. I've been reading as much as I can find, but don't know how I can get this to work.