We are mostly using fake nRF24L01+'s, but worse fakes are emerging.
-
Hi,
I just received five NRF24L01+ clones (Si24R1) but on website it is reported and I did not realize it when I bought these modules...anyway is there a 'recipe' to have a Si24R1 working with MySensors ?
I tested them with ping-pong examples and they work fine... but if I try to use a Si24R1 with MySensors libraries it does not work..Starting sensor (RNNNA-, 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:
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:
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:
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:
!TSM:FPAR:FAIL
!TSM:FAILURE
TSM:PDT
TSM:INIT
TSM:RADIO:OK
TSP:ASSIGNID:OK (ID=1)
TSM:FPARThanks in advance,
Gennaro -
@gtortone Maybe worth trying the dev branch, I've updated the RF24 driver to better support certain clones :)
@tekka Hi, thanks for the suggestion - I checked with MySensors dev branch from github but results are the same:
15007 RF24:read register, reg=23, value=17
15013 RF24:read register, reg=23, value=17
15017 RF24:read register, reg=23, value=17
15022 RF24:read register, reg=23, value=17
15026 RF24:read register, reg=23, value=17
15030 RF24:read register, reg=23, value=17
15036 !TSM:FPAR:FAIL
15038 TSM:FAIL:CNT=1
15040 TSM:FAIL:PDT
15042 RF24:write register, reg=0, value=12
15046 RF24:power downIf I replace the Si24R1 with genuine NRF24L01+ everything works... (also with MySensors master branch)
-
@tekka Hi, thanks for the suggestion - I checked with MySensors dev branch from github but results are the same:
15007 RF24:read register, reg=23, value=17
15013 RF24:read register, reg=23, value=17
15017 RF24:read register, reg=23, value=17
15022 RF24:read register, reg=23, value=17
15026 RF24:read register, reg=23, value=17
15030 RF24:read register, reg=23, value=17
15036 !TSM:FPAR:FAIL
15038 TSM:FAIL:CNT=1
15040 TSM:FAIL:PDT
15042 RF24:write register, reg=0, value=12
15046 RF24:power downIf I replace the Si24R1 with genuine NRF24L01+ everything works... (also with MySensors master branch)
-
Hi tekka, thanks again but result is always the same...
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.0.1-beta
4 TSM:INIT
10 TSM:INIT:TSP OK
12 TSF:SID:OK,ID=1
14 TSM:FPAR
1697 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
3706 !TSM:FPAR:NO REPLY
3708 TSM:FPAR
5392 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
7399 !TSM:FPAR:NO REPLY
7401 TSM:FPAR
9084 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
11094 !TSM:FPAR:NO REPLY
11096 TSM:FPAR
12779 TSF:MSG:SEND,1-1-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
14788 !TSM:FPAR:FAIL
14790 TSM:FAIL:CNT=1
14792 TSM:FAIL:PDTI realized that if I disable broadcast search of parent node with:
#define MY_PARENT_NODE_ID 0
#define MY_PARENT_NODE_IS_STATICthe Si24R1 works fine !
but I don't know if this can be a problem for other features of MySensors...
-
Hi tekka, just for information:
- master branch => does not work with Si24R1 also disabling broadcast search of parent.
- dev branch => works fine with Si24R1 disabling broadcast search of parent.
Thanks,
Gennaro