First MySensors project with hard start :-)
-
Hey together,
I try my first MySensors Project with two Nodemcu´s and NRF24 radios.
The first Nodemcu working as gateway with a additional NRF24 radio (wired by the manual, sketsh GatewayESP8266 ). And shows after boot the following.
⸮-S⸮⸮40 MCO:BGN:INIT GW,CP=RNNGE---,VER=2.2.0 83 TSF:LRT:OK 98 TSM:INIT 111 TSF:WUR:MS=0 135 TSM:INIT:TSP OK 155 TSM:INIT:GW MODE scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 2 cnt connected with MyWlan, channel 1 dhcp client start... ip:192.168.7.35,mask:255.255.255.0,gw:192.168.7.1 380 TSM:READY:ID=0,PAR=0,DIS=0 412 MCO:REG:NOT NEEDED scandone 937 GWT:TIN:CONNECTING... 964 GWT:TIN:IP=192.168.7.35 993 MCO:BGN:STP 1010 MCO:BGN:INIT OK,TSP=1
The second Nodemcu uses the same NRF24 radio with a simple sketsh BinarySwitchSleepSensor shows the following serial Log:
57 MCO:BGN:INIT NODE,CP=RNNNE---,VER=2.2.0 72 TSM:INIT 73 TSF:WUR:MS=0 80 TSM:INIT:TSP OK 82 TSF:SID:OK,ID=2 84 TSM:FPAR 2329 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4336 !TSM:FPAR:NO REPLY scandone no Sevelen found, reconnect after 1s 4342 TSM:FPAR Soft WDT reset ctx: cont sp: 3ffef720 end: 3ffefa90 offset: 01b0 >>>stack>>> 3ffef8d0: 40106870 00000000 3ffefb68 40106969 3ffef8e0: 00000000 3ffefb68 00000000 40202486 3ffef8f0: 001e8480 3ffe0001 3ffefaf3 402024e6 3ffef900: 00000000 0000000e 00000000 000000ff 3ffef910: 00000000 00000000 000000ff 00000030 3ffef920: 00000000 0000ef8e 0000000e 402025a1 3ffef930: 00000000 3ffefaec 00000000 40202668 3ffef940: 00000007 52415046 3ffe000a 40204850 3ffef950: 3ffefb3c 40237470 3ffefd74 000000ff 3ffef960: 3ffefb3c 3ffefb38 3ffefaec 40203037 3ffef970: 000a594c 3fffc6fc 00000001 00000000 3ffef980: 3ffefb68 3ffefb3c 0000004a 00000030 3ffef990: 00000000 3ffefb3c 0000004a 00000030 3ffef9a0: 00000002 00000002 000000ff 00000017 3ffef9b0: 00000000 3ffefb68 3ffef9e0 3ffef9d0 3ffef9c0: 00000004 00000000 3ffefb68 40106969 3ffef9d0: 00000000 00000020 00000011 0000004a 3ffef9e0: 3ffefb3c 000000ff 3ffefb3c 40203157 3ffef9f0: 00000001 00000000 3ffefb3c 40203310 3ffefa00: 0000001d 00000000 00000000 402029ed 3ffefa10: 3ffefb3c 00000000 3ffefb3c 40202abc 3ffefa20: 00029cc0 00000000 00000000 40202bd9 3ffefa30: 00000525 00a61ac0 00000000 40203d25 3ffefa40: 3fffdad0 3ffefae8 00000000 40203ee3 3ffefa50: 600000ff ff000000 3ffefd54 3ffeea68 3ffefa60: 3fffdad0 3ffefae8 3ffefd54 40203fa8 3ffefa70: feefeffe 00000000 3ffeea18 4020416c 3ffefa80: feefeffe feefeffe 3ffeea70 40100108 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v4ceabea9 ~ld
To me looks not like the GW get any connection to the second node. Due to i put to each radio the explained capacitor (100uF)
As Controller i try FHEM and Domoticz both connect to the gw without problems.
But the result is the same. Any ideas?
Thanks for your help.
-
Hi @mrrose, welcome to the forum!
Yes all nrf24 radios need capacitor for stable operation.
Could you post the gateway log from where the (second) node boots up and asks for parent?
-
Hi
each nrf24 has as 100uF capacitor.
The log did at the GW did not change during the ask for parent. In remains on the posted log.
-
@mrrose interesting. Could there be another MySensors gateway within range? Maybe a neighbor?
Edit: I am asking because st=OK means that a node has acknowledged that it did receive the message.
-
Ok that will be a good idea in that case a change the nrf24 channel inside the myConfig.h will change the situation right?
-
@mrrose yes that's the easiest way. Remember to re-upload sketches to both nodes after the change.
-
This post is deleted!
-
Channel now: 83
Gw:
⸮⸮⸮=C⸮⸮40 MCO:BGN:INIT GW,CP=RNNGE---,VER=2.2.0 83 TSF:LRT:OK 97 TSM:INIT 110 TSF:WUR:MS=0 134 TSM:INIT:TSP OK 155 TSM:INIT:GW MODE scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 2 cnt 262 TSM:READY:ID=0,PAR=0,DIS=0 295 MCO:REG:NOT NEEDED scandone 819 GWT:TIN:CONNECTING... connected with SevelenKeller, channel 1 dhcp client start... ip:192.168.7.35,mask:255.255.255.0,gw:192.168.7.1 1346 GWT:TIN:CONNECTING... 1374 GWT:TIN:IP=192.168.7.35 1405 MCO:BGN:STP 1422 MCO:BGN:INIT OK,TSP=1 2014 GWT:TSA:C=0,CONNECTED 3006 GWT:RFC:C=0,MSG=0;0;3;0;2; 3041 GWT:RFC:C=0,MSG=0;0;3;0;2;Get Version 3086 GWT:RFC:C=0,MSG=0;0;3;0;18;PING pm open,type:2 0 13056 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 23091 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 33126 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 43059 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 53097 GWT:RFC:C=0,MSG=0;0;3;0;18;PING 63129 GWT:RFC:C=0,MSG=0;0;3;0;18;PING
Node:
__ __ ____ | \/ |_ _/ ___| ___ _ __ ___ ___ _ __ ___ | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __| | | | | |_| |___| | __/ | | \__ \ _ | | \__ \ |_| |_|\__, |____/ \___|_| |_|___/\___/|_| |___/ |___/ 2.2.0 51 MCO:BGN:INIT NODE,CP=RNNNE---,VER=2.2.0 66 TSM:INIT 67 TSF:WUR:MS=0 75 TSM:INIT:TSP OK 77 TSF:SID:OK,ID=2 78 TSM:FPAR 2323 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: scandone state: 0 -> 2 (b0) state: 2 -> 0 (2) reconnect scandone no Sevelen found, reconnect after 1s reconnect 4333 !TSM:FPAR:NO REPLY 4335 TSM:FPAR Soft WDT reset ctx: cont sp: 3ffef710 end: 3ffefa90 offset: 01b0 >>>stack>>> 3ffef8c0: 00000000 3ffefb68 3ffefb68 402046c3 3ffef8d0: 40106870 00000000 3ffefb68 40106969 3ffef8e0: 00000000 3ffefb68 00000000 402024e6 3ffef8f0: 001e8480 3ffe0001 3ffefaf3 402024e6 3ffef900: 00000000 0000000e 00000000 000000ff 3ffef910: 00000000 00000000 000000ff 00000030 3ffef920: 00000000 0000efd6 0000000e 402025a1 3ffef930: 00000000 3ffefaec 00000000 40202668 3ffef940: 00000007 52415046 3ffe000a 40204850 3ffef950: 3ffefb3c 40237470 3ffefd74 000000ff 3ffef960: 3ffefb3c 3ffefb38 3ffefaec 40203037 3ffef970: 000a594c 3fffc6fc 00000001 00000000 3ffef980: 3ffefb68 3ffefb3c 00000045 00000030 3ffef990: 00000000 3ffefb3c 00000045 00000030 3ffef9a0: 00000002 00000002 000000ff 00000017 3ffef9b0: 00000000 3ffefb68 3ffef9e0 3ffef9d0 3ffef9c0: 00000004 00000000 3ffefb68 40106969 3ffef9d0: 00000000 00000020 00000011 00000045 3ffef9e0: 3ffefb3c 000000ff 3ffefb3c 40203157 3ffef9f0: 00000001 00000000 3ffefb3c 40203310 3ffefa00: 000003f9 00000000 00000000 402029ed 3ffefa10: 3ffefb3c 00000000 3ffefb3c 40202abc 3ffefa20: 00029cc0 00000000 00000000 40202bd9 3ffefa30: 00000750 00a61ac0 00000000 40203d25 3ffefa40: 3fffdad0 3ffefae8 00000000 40203ee3 3ffefa50: 600000ff ff000000 3ffefd54 3ffeea68 3ffefa60: 3fffdad0 3ffefae8 3ffefd54 40203fa8 3ffefa70: feefeffe 00000000 3ffeea18 4020416c 3ffefa80: feefeffe feefeffe 3ffeea70 40100108 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v4ceabea9 ~ld
GW Log did not change by power on the node. Only now i get Ping again and again.