@gohan I already tried it, but it didn't work.
Anyway, now it's working. I added an Arduino which acts now like the gateway. I don't have any idea why it was not working only with the Pi.
Thanks to everyone who helped me.
@gohan I already tried it, but it didn't work.
Anyway, now it's working. I added an Arduino which acts now like the gateway. I don't have any idea why it was not working only with the Pi.
Thanks to everyone who helped me.
Thank you for your reply.
I have added a log, when #define MY_NODE_ID 2 is set.
Is there maybe a config file which I can also add?
I want to use pimatic as controller, but I think it does not make sense, to use it without a working connection, right?
Hello,
I have a problem with my setup.
My gateway is a Raspi 3 with NRF24L01+ and Raspbian.
My node is an Arduino Uno R3, also with NRF24L01+. The NRF24 is connected with a 16v 100µF capacitor (some persons told me, that it should work for my project).
Both are working with v2.1.1 of MySensors. I have checked the wires several times.
I'm using version 1.8.1 of the Arduino IDE.
So when I try to make it work with this tutorial: https://www.mysensors.org/build/humidity it seems to not get an ID from the gateway.
Even when I add #define MY_NODE_ID 2
it doesn't change anything.
Log from Arduino:
where #define MY_NODE_ID 2
is set
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 TSM:INIT:TSP OK
13 TSM:FPAR
15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
2022 !TSM:FPAR:NO REPLY
2024 TSM:FPAR
2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4034 !TSM:FPAR:NO REPLY
4036 TSM:FPAR
4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
4244 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
4249 TSF:MSG:FPAR OK,ID=0,D=1
6046 TSM:FPAR:OK
6047 TSM:ID
6048 TSM:ID:REQ
6051 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
8058 TSM:ID
8059 TSM:ID:REQ
8061 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
10070 TSM:ID
10071 TSM:ID:REQ
10074 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
12081 TSM:ID
12082 TSM:ID:REQ
12085 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
14092 !TSM:ID:FAIL
14093 TSM:FAIL:CNT=1
14095 TSM:FAIL:PDT```
where #define MY_NODE_ID 2
is NOT set
0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
3 TSM:INIT
4 TSF:WUR:MS=0
11 TSM:INIT:TSP OK
13 TSM:FPAR
15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
990 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
995 TSF:MSG:FPAR OK,ID=0,D=1
2022 TSM:FPAR:OK
2023 TSM:ID
2024 TSM:ID:REQ
2027 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
4034 TSM:ID
4035 TSM:ID:REQ
4037 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
6045 TSM:ID
6046 TSM:ID:REQ
6048 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
8056 TSM:ID
8057 TSM:ID:REQ
8059 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
10068 !TSM:ID:FAIL
10070 TSM:FAIL:CNT=1
10072 TSM:FAIL:PDT
20075 TSM:FAIL:RE-INIT
20077 TSM:INIT
20084 TSM:INIT:TSP OK
20086 TSM:FPAR
20088 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
20668 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
20673 TSF:MSG:FPAR OK,ID=0,D=1
22097 TSM:FPAR:OK
22098 TSM:ID
22100 TSM:ID:REQ
22103 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
24111 TSM:ID
24112 TSM:ID:REQ
24115 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
26122 TSM:ID
26123 TSM:ID:REQ
26126 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
28133 TSM:ID
28134 TSM:ID:REQ
28137 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
30144 !TSM:ID:FAIL
30145 TSM:FAIL:CNT=2
30147 TSM:FAIL:PDT```
Log from Raspi:
mysgw: Starting gateway...
mysgw: Protocol version - 2.1.1
mysgw: MCO:BGN:INIT GW,CP=RNNG---,VER=2.1.1
mysgw: TSF:LRT:OK
mysgw: TSM:INIT
mysgw: TSF:WUR:MS=0
mysgw: TSM:INIT:TSP OK
mysgw: TSM:INIT:GW MODE
mysgw: TSM:READY:ID=0,PAR=0,DIS=0
mysgw: MCO:REG:NOT NEEDED
mysgw: Listening for connections on 0.0.0.0:5003
mysgw: MCO:BGN:STP
mysgw: MCO:BGN:INIT OK,TSP=1
mysgw: TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=255
mysgw: TSF:CKU:OK,FCTRL
mysgw: TSF:MSG:GWL OK
mysgw: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=255
mysgw: TSF:PNG:SEND,TO=0
mysgw: TSF:CKU:OK
mysgw: TSF:MSG:GWL OK
mysgw: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
mysgw: TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
mysgw: TSF:MSG:BC
mysgw: TSF:MSG:FPAR REQ,ID=255
mysgw: TSF:PNG:SEND,TO=0
mysgw: TSF:CKU:OK
mysgw: TSF:MSG:GWL OK
I'm searching the Internet since days about this problem, but I still not found any solution.
I would really appreciate your help. If you need additional information regarding my problem, please let me know.
Thanks a lot!