I'm stuck! - !TSM:FPAR:FAIL
-
Hi all,
Can't seem to get anywhere.MySensors 2.2.0
Serial GW on Arduino Pro Mini with nRF24L01+ (10uF cap)
Sensor node on Arduino Pro Mini with nRF24L01+ (10uF cap)Seem to be stuck in a 'loop' of sorts, where the gateway seems to be receiving what looks like (multiple!) requests for id from the node, each time with a different child-sensor-id?? However, (and I might be wrong - is there a legend for the debug outputs avaiable anywhere?) the sensor node doesn't seem to be receiving any messages at all? It seems to be retrying until TSM:FAIL:CNT=7, then waits a bit, and the whole loop starts again.
I tried changing the capacitors on the nRF24L01+ (initially had 4.7uF), ran an additional node on an old Genuino UNO, with a new radio, but stuck with the same 'loop'...
I'd be grateful for any ideas...
Gateway setup:
#define MY_DEBUG #define MY_RADIO_RF24 #define MY_RF24_PA_LEVEL (RF24_PA_LOW) #define MY_GATEWAY_SERIAL #define MY_INCLUSION_MODE_FEATURE #define MY_INCLUSION_BUTTON_FEATURE #define MY_INCLUSION_MODE_DURATION 60 #define MY_DEFAULT_LED_BLINK_PERIOD 300
Gateway LOG:
0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,VER=2.2.0 0;255;3;0;9;12 TSM:INIT 0;255;3;0;9;20 TSF:WUR:MS=0 0;255;3;0;9;32 TSM:INIT:TSP OK 0;255;3;0;9;40 TSM:INIT:GW MODE 0;255;3;0;9;49 TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;61 MCO:REG:NOT NEEDED 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.2.0 0;255;3;0;9;73 MCO:BGN:STP 0;255;3;0;9;94 MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;5451 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;5470 TSF:MSG:BC 0;255;3;0;9;5478 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;5488 TSF:CKU:OK,FCTRL 0;255;3;0;9;5498 TSF:MSG:GWL OK 0;255;3;0;9;7518 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;7538 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;7559 TSF:MSG:BC 0;255;3;0;9;7565 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;7577 TSF:CKU:OK,FCTRL 0;255;3;0;9;7585 TSF:MSG:GWL OK 0;255;3;0;9;9705 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;9728 TSF:MSG:READ,255-255-0,s=62,c=3,t=3,pt=0,l=0,sg=0: 255;62;3;0;3; 0;255;3;0;9;11601 TSF:MSG:READ,255-255-0,s=24,c=3,t=3,pt=0,l=0,sg=0: 255;24;3;0;3; 0;255;3;0;9;13631 TSF:MSG:READ,255-255-0,s=5,c=3,t=3,pt=0,l=0,sg=0: 255;5;3;0;3; 0;255;3;0;9;25694 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;25712 TSF:MSG:BC 0;255;3;0;9;25720 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;25731 TSF:PNG:SEND,TO=0 0;255;3;0;9;25741 TSF:CKU:OK 0;255;3;0;9;25749 TSF:MSG:GWL OK 0;255;3;0;9;25915 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;27723 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;27744 TSF:MSG:BC 0;255;3;0;9;27752 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;27762 TSF:CKU:OK,FCTRL 0;255;3;0;9;27772 TSF:MSG:GWL OK 0;255;3;0;9;29595 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;31787 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;31805 TSF:MSG:BC 0;255;3;0;9;31813 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;31823 TSF:CKU:OK,FCTRL 0;255;3;0;9;31834 TSF:MSG:GWL OK 0;255;3;0;9;33624 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;43849 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;43868 TSF:MSG:BC 0;255;3;0;9;43876 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;43888 TSF:PNG:SEND,TO=0 0;255;3;0;9;43896 TSF:CKU:OK 0;255;3;0;9;43905 TSF:MSG:GWL OK 0;255;3;0;9;45916 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;45938 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;45957 TSF:MSG:BC 0;255;3;0;9;45965 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;45975 TSF:CKU:OK,FCTRL 0;255;3;0;9;45985 TSF:MSG:GWL OK 0;255;3;0;9;47945 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;47968 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;47988 TSF:MSG:BC 0;255;3;0;9;47994 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;48007 TSF:CKU:OK,FCTRL 0;255;3;0;9;48017 TSF:MSG:GWL OK 0;255;3;0;9;50628 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;50651 TSF:MSG:READ,255-255-0,s=58,c=3,t=3,pt=0,l=0,sg=0: 255;58;3;0;3; 0;255;3;0;9;52031 TSF:MSG:READ,255-255-0,s=19,c=3,t=3,pt=0,l=0,sg=0: 255;19;3;0;3; 0;255;3;0;9;54059 TSF:MSG:READ,255-255-0,s=1,c=3,t=3,pt=0,l=0,sg=0: 255;1;3;0;3; 0;255;3;0;9;66121 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;66140 TSF:MSG:BC 0;255;3;0;9;66148 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;66160 TSF:PNG:SEND,TO=0 0;255;3;0;9;66168 TSF:CKU:OK 0;255;3;0;9;66177 TSF:MSG:GWL OK 0;255;3;0;9;66838 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;68151 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;68171 TSF:MSG:BC 0;255;3;0;9;68179 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;68190 TSF:CKU:OK,FCTRL 0;255;3;0;9;68200 TSF:MSG:GWL OK 0;255;3;0;9;70219 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;70242 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;70260 TSF:MSG:BC 0;255;3;0;9;70268 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;70279 TSF:CKU:OK,FCTRL 0;255;3;0;9;70289 TSF:MSG:GWL OK 0;255;3;0;9;72249 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;72271 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;72292 TSF:MSG:BC 0;255;3;0;9;72300 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;72310 TSF:CKU:OK,FCTRL 0;255;3;0;9;72321 TSF:MSG:GWL OK 0;255;3;0;9;74659 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;74682 TSF:MSG:READ,255-255-0,s=51,c=3,t=3,pt=0,l=0,sg=0: 255;51;3;0;3; 0;255;3;0;9;76335 TSF:MSG:READ,255-255-0,s=12,c=3,t=3,pt=0,l=0,sg=0: 255;12;3;0;3; 0;255;3;0;9;78362 TSF:MSG:READ,255-255-0,s=248,c=3,t=3,pt=0,l=0,sg=0: 255;248;3;0;3;
Sensor setup:
#define MY_DEBUG #define MY_SPLASH_SCREEN_DISABLED #define MY_RADIO_RF24 #define MY_RF24_PA_LEVEL (RF24_PA_LOW) #define MY_PARENT_NODE_ID 0
Sensor LOG:
0 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0 10 TSM:INIT 14 TSF:WUR:MS=0 23 TSM:INIT:TSP OK 28 TSF:SID:OK,ID=123 34 TSM:FPAR 72 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 2093 !TSM:FPAR:NO REPLY 2099 TSM:FPAR 2138 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 4158 !TSM:FPAR:NO REPLY 4164 TSM:FPAR 4203 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 6223 !TSM:FPAR:NO REPLY 6230 TSM:FPAR 6268 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 8289 !TSM:FPAR:FAIL 8294 TSM:FAIL:CNT=1 8299 TSM:FAIL:DIS 8304 TSF:TDI:TSL 18309 TSM:FAIL:RE-INIT 18315 TSM:INIT 18324 TSM:INIT:TSP OK 18330 TSF:SID:OK,ID=123 18336 TSM:FPAR 18376 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 20397 !TSM:FPAR:NO REPLY 20403 TSM:FPAR 20442 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 22463 !TSM:FPAR:NO REPLY 22469 TSM:FPAR 22508 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 24530 !TSM:FPAR:NO REPLY 24537 TSM:FPAR 24576 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 26597 !TSM:FPAR:FAIL 26602 TSM:FAIL:CNT=2 26608 TSM:FAIL:DIS 26613 TSF:TDI:TSL 36618 TSM:FAIL:RE-INIT 36624 TSM:INIT 36633 TSM:INIT:TSP OK 36639 TSF:SID:OK,ID=123 36645 TSM:FPAR 36685 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 38706 !TSM:FPAR:NO REPLY 38712 TSM:FPAR 38751 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 40772 !TSM:FPAR:NO REPLY 40778 TSM:FPAR 40817 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 42839 !TSM:FPAR:NO REPLY 42845 TSM:FPAR 42884 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 44905 !TSM:FPAR:FAIL 44910 TSM:FAIL:CNT=3 44916 TSM:FAIL:DIS 44921 TSF:TDI:TSL 54926 TSM:FAIL:RE-INIT 54932 TSM:INIT 54941 TSM:INIT:TSP OK 54947 TSF:SID:OK,ID=123 54953 TSM:FPAR 54993 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 57014 !TSM:FPAR:NO REPLY 57020 TSM:FPAR 57059 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 59080 !TSM:FPAR:NO REPLY 59086 TSM:FPAR 59125 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 61147 !TSM:FPAR:NO REPLY 61153 TSM:FPAR 61192 TSF:MSG:SEND,123-123-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 63213 !TSM:FPAR:FAIL 63218 TSM:FAIL:CNT=4 63224 TSM:FAIL:DIS 63229 TSF:TDI:TSL 73235 TSM:FAIL:RE-INIT
-
@zapped yes there is a legend. Read https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for a quick introduction to the most effective troubleshooting methods, and use the log parser to make the logs more readable.
While these resources should give you more insight, they might not be sufficient for figuring out this particular problem.
The sensor seems to be configured to use ID=123. Is this on purpose? If it isn't, use the ClearEeprom example on the sensor to clear the eeprom from old stuff, and then upload your sketch again.
-
I'm seeing exactly the same with my atmega1284p based sensor, the atmega328p based sensors do get replies from the gateway, FPAR does get a response on my atmega328p sensors.
Maybe this is a timing issue ?
-
@mfalkvidd Many thanks for the link to the log parser!!
Don't know where the 123 appeared from, must have set it at some point in the endless attempts I have made.
Cleared EEPROM on both gw and node, and the log seems to have changed somewhat. It's now receiving OK response to FPAR, but then no response to ID:REQ.@GertSanders, I don't know that that's what's happening my end. All three of mine are 328p, however, gw is 3.3v pro mini (8MHz), one of the nodes I tried is 5v pro mini (16MHz), and the other node is the old 5v uno (also 16MHz). I did set them all to 38400. Just to rule something similar out, I've flashed the 5v pro mini with the gw code and ran the node on the uno.
Logs now with the setup mentioned above:
Gateway:
0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,VER=2.2.0 0;255;3;0;9;13 TSM:INIT 0;255;3;0;9;19 TSF:WUR:MS=0 0;255;3;0;9;32 TSM:INIT:TSP OK 0;255;3;0;9;40 TSM:INIT:GW MODE 0;255;3;0;9;49 TSM:READY:ID=0,PAR=0,DIS=0 0;255;3;0;9;60 MCO:REG:NOT NEEDED 0;255;3;0;14;Gateway startup complete. 0;255;0;0;18;2.2.0 0;255;3;0;9;70 MCO:BGN:STP 0;255;3;0;9;92 MCO:BGN:INIT OK,TSP=1 0;255;3;0;9;7264 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;7282 TSF:MSG:BC 0;255;3;0;9;7289 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;7301 TSF:CKU:OK,FCTRL 0;255;3;0;9;7310 TSF:MSG:GWL OK 0;255;3;0;9;7503 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;7526 TSF:MSG:READ,255-255-0,s=18,c=3,t=3,pt=0,l=0,sg=0: 255;18;3;0;3; 0;255;3;0;9;9537 TSF:MSG:READ,255-255-0,s=252,c=3,t=3,pt=0,l=0,sg=0: 255;252;3;0;3; 0;255;3;0;9;11565 TSF:MSG:READ,255-255-0,s=232,c=3,t=3,pt=0,l=0,sg=0: 255;232;3;0;3; 0;255;3;0;9;13593 TSF:MSG:READ,255-255-0,s=212,c=3,t=3,pt=0,l=0,sg=0: 255;212;3;0;3; 0;255;3;0;9;25661 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;25679 TSF:MSG:BC 0;255;3;0;9;25688 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;25699 TSF:PNG:SEND,TO=0 0;255;3;0;9;25708 TSF:CKU:OK 0;255;3;0;9;25716 TSF:MSG:GWL OK 0;255;3;0;9;25884 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;25907 TSF:MSG:READ,255-255-0,s=223,c=3,t=3,pt=0,l=0,sg=0: 255;223;3;0;3; 0;255;3;0;9;27923 TSF:MSG:READ,255-255-0,s=203,c=3,t=3,pt=0,l=0,sg=0: 255;203;3;0;3; 0;255;3;0;9;29952 TSF:MSG:READ,255-255-0,s=184,c=3,t=3,pt=0,l=0,sg=0: 255;184;3;0;3; 0;255;3;0;9;31980 TSF:MSG:READ,255-255-0,s=164,c=3,t=3,pt=0,l=0,sg=0: 255;164;3;0;3; 0;255;3;0;9;44049 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;44068 TSF:MSG:BC 0;255;3;0;9;44076 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;44087 TSF:PNG:SEND,TO=0 0;255;3;0;9;44096 TSF:CKU:OK 0;255;3;0;9;44104 TSF:MSG:GWL OK 0;255;3;0;9;44229 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;44252 TSF:MSG:READ,255-255-0,s=134,c=3,t=3,pt=0,l=0,sg=0: 255;134;3;0;3; 0;255;3;0;9;46268 TSF:MSG:READ,255-255-0,s=114,c=3,t=3,pt=0,l=0,sg=0: 255;114;3;0;3; 0;255;3;0;9;48296 TSF:MSG:READ,255-255-0,s=95,c=3,t=3,pt=0,l=0,sg=0: 255;95;3;0;3; 0;255;3;0;9;50326 TSF:MSG:READ,255-255-0,s=75,c=3,t=3,pt=0,l=0,sg=0: 255;75;3;0;3; 0;255;3;0;9;62394 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;62413 TSF:MSG:BC 0;255;3;0;9;62420 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;62432 TSF:PNG:SEND,TO=0 0;255;3;0;9;62442 TSF:CKU:OK 0;255;3;0;9;62449 TSF:MSG:GWL OK 0;255;3;0;9;63512 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;63534 TSF:MSG:READ,255-255-0,s=214,c=3,t=3,pt=0,l=0,sg=0: 255;214;3;0;3; 0;255;3;0;9;65550 TSF:MSG:READ,255-255-0,s=194,c=3,t=3,pt=0,l=0,sg=0: 255;194;3;0;3; 0;255;3;0;9;67579 TSF:MSG:READ,255-255-0,s=175,c=3,t=3,pt=0,l=0,sg=0: 255;175;3;0;3; 0;255;3;0;9;69608 TSF:MSG:READ,255-255-0,s=155,c=3,t=3,pt=0,l=0,sg=0: 255;155;3;0;3; 0;255;3;0;9;81678 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;81696 TSF:MSG:BC 0;255;3;0;9;81704 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;81716 TSF:PNG:SEND,TO=0 0;255;3;0;9;81725 TSF:CKU:OK 0;255;3;0;9;81733 TSF:MSG:GWL OK 0;255;3;0;9;82622 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;82644 TSF:MSG:READ,255-255-0,s=121,c=3,t=3,pt=0,l=0,sg=0: 255;121;3;0;3; 0;255;3;0;9;84661 TSF:MSG:READ,255-255-0,s=102,c=3,t=3,pt=0,l=0,sg=0: 255;102;3;0;3; 0;255;3;0;9;86689 TSF:MSG:READ,255-255-0,s=82,c=3,t=3,pt=0,l=0,sg=0: 255;82;3;0;3; 0;255;3;0;9;88718 TSF:MSG:READ,255-255-0,s=63,c=3,t=3,pt=0,l=0,sg=0: 255;63;3;0;3; 0;255;3;0;9;100789 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;100808 TSF:MSG:BC 0;255;3;0;9;100816 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;100828 TSF:PNG:SEND,TO=0 0;255;3;0;9;100837 TSF:CKU:OK 0;255;3;0;9;100845 TSF:MSG:GWL OK 0;255;3;0;9;101392 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;101414 TSF:MSG:READ,255-255-0,s=201,c=3,t=3,pt=0,l=0,sg=0: 255;201;3;0;3; 0;255;3;0;9;103431 TSF:MSG:READ,255-255-0,s=182,c=3,t=3,pt=0,l=0,sg=0: 255;182;3;0;3; 0;255;3;0;9;105459 TSF:MSG:READ,255-255-0,s=162,c=3,t=3,pt=0,l=0,sg=0: 255;162;3;0;3; 0;255;3;0;9;107489 TSF:MSG:READ,255-255-0,s=143,c=3,t=3,pt=0,l=0,sg=0: 255;143;3;0;3; 0;255;3;0;9;119561 TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0: 0;255;3;0;9;119580 TSF:MSG:BC 0;255;3;0;9;119588 TSF:MSG:FPAR REQ,ID=255 0;255;3;0;9;119600 TSF:PNG:SEND,TO=0 0;255;3;0;9;119610 TSF:CKU:OK 0;255;3;0;9;119618 TSF:MSG:GWL OK 0;255;3;0;9;120506 TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0 0;255;3;0;9;120528 TSF:MSG:READ,255-255-0,s=114,c=3,t=3,pt=0,l=0,sg=0: 255;114;3;0;3; 0;255;3;0;9;122547 TSF:MSG:READ,255-255-0,s=95,c=3,t=3,pt=0,l=0,sg=0: 255;95;3;0;3; 0;255;3;0;9;124576 TSF:MSG:READ,255-255-0,s=76,c=3,t=3,pt=0,l=0,sg=0: 255;76;3;0;3; 0;255;3;0;9;126606 TSF:MSG:READ,255-255-0,s=58,c=3,t=3,pt=0,l=0,sg=0: 255;58;3;0;3;
Node:
0 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0 10 TSM:INIT 13 TSF:WUR:MS=0 23 TSM:INIT:TSP OK 28 TSM:FPAR 32 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 238 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 253 TSF:MSG:FPAR PREF 259 TSF:MSG:FPAR OK,ID=0,D=1 267 TSM:FPAR:OK 271 TSM:ID 274 TSM:ID:REQ 279 TSF:MSG:SEND,255-255-0-0,s=18,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 2297 TSM:ID 2300 TSM:ID:REQ 2306 TSF:MSG:SEND,255-255-0-0,s=252,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 4325 TSM:ID 4328 TSM:ID:REQ 4333 TSF:MSG:SEND,255-255-0-0,s=232,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 6353 TSM:ID 6356 TSM:ID:REQ 6362 TSF:MSG:SEND,255-255-0-0,s=212,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 8381 !TSM:ID:FAIL 8385 TSM:FAIL:CNT=1 8391 TSM:FAIL:DIS 8395 TSF:TDI:TSL 18401 TSM:FAIL:RE-INIT 18407 TSM:INIT 18416 TSM:INIT:TSP OK 18422 TSM:FPAR 18427 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 18617 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 18632 TSF:MSG:FPAR PREF 18638 TSF:MSG:FPAR OK,ID=0,D=1 18647 TSM:FPAR:OK 18652 TSM:ID 18655 TSM:ID:REQ 18661 TSF:MSG:SEND,255-255-0-0,s=223,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 20680 TSM:ID 20683 TSM:ID:REQ 20689 TSF:MSG:SEND,255-255-0-0,s=203,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 22709 TSM:ID 22712 TSM:ID:REQ 22718 TSF:MSG:SEND,255-255-0-0,s=184,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 24737 TSM:ID 24740 TSM:ID:REQ 24747 TSF:MSG:SEND,255-255-0-0,s=164,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 26766 !TSM:ID:FAIL 26771 TSM:FAIL:CNT=2 26776 TSM:FAIL:DIS 26781 TSF:TDI:TSL 36787 TSM:FAIL:RE-INIT 36793 TSM:INIT 36802 TSM:INIT:TSP OK 36808 TSM:FPAR 36813 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 36960 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 36975 TSF:MSG:FPAR PREF 36981 TSF:MSG:FPAR OK,ID=0,D=1 36989 TSM:FPAR:OK 36995 TSM:ID 36998 TSM:ID:REQ 37004 TSF:MSG:SEND,255-255-0-0,s=134,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 39023 TSM:ID 39026 TSM:ID:REQ 39032 TSF:MSG:SEND,255-255-0-0,s=114,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 41052 TSM:ID 41055 TSM:ID:REQ 41061 TSF:MSG:SEND,255-255-0-0,s=95,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 43080 TSM:ID 43083 TSM:ID:REQ 43089 TSF:MSG:SEND,255-255-0-0,s=75,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 45109 !TSM:ID:FAIL 45114 TSM:FAIL:CNT=3 45119 TSM:FAIL:DIS 45124 TSF:TDI:TSL 55130 TSM:FAIL:RE-INIT 55136 TSM:INIT 55145 TSM:INIT:TSP OK 55151 TSM:FPAR 55156 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 56240 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 56255 TSF:MSG:FPAR PREF 56261 TSF:MSG:FPAR OK,ID=0,D=1 56269 TSM:FPAR:OK 56274 TSM:ID 56278 TSM:ID:REQ 56284 TSF:MSG:SEND,255-255-0-0,s=214,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 58303 TSM:ID 58306 TSM:ID:REQ 58312 TSF:MSG:SEND,255-255-0-0,s=194,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 60332 TSM:ID 60335 TSM:ID:REQ 60341 TSF:MSG:SEND,255-255-0-0,s=175,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 62360 TSM:ID 62363 TSM:ID:REQ 62369 TSF:MSG:SEND,255-255-0-0,s=155,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 64389 !TSM:ID:FAIL 64394 TSM:FAIL:CNT=4 64399 TSM:FAIL:DIS 64404 TSF:TDI:TSL 74411 TSM:FAIL:RE-INIT 74417 TSM:INIT 74426 TSM:INIT:TSP OK 74432 TSM:FPAR 74437 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 75347 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 75363 TSF:MSG:FPAR PREF 75369 TSF:MSG:FPAR OK,ID=0,D=1 75377 TSM:FPAR:OK 75382 TSM:ID 75385 TSM:ID:REQ 75392 TSF:MSG:SEND,255-255-0-0,s=121,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 77411 TSM:ID 77414 TSM:ID:REQ 77420 TSF:MSG:SEND,255-255-0-0,s=102,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 79439 TSM:ID 79442 TSM:ID:REQ 79449 TSF:MSG:SEND,255-255-0-0,s=82,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 81468 TSM:ID 81471 TSM:ID:REQ 81477 TSF:MSG:SEND,255-255-0-0,s=63,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 83497 !TSM:ID:FAIL 83503 TSM:FAIL:CNT=5 83508 TSM:FAIL:DIS 83513 TSF:TDI:TSL 93519 TSM:FAIL:RE-INIT 93526 TSM:INIT 93535 TSM:INIT:TSP OK 93541 TSM:FPAR 93546 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 94115 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 94130 TSF:MSG:FPAR PREF 94137 TSF:MSG:FPAR OK,ID=0,D=1 94145 TSM:FPAR:OK 94150 TSM:ID 94153 TSM:ID:REQ 94159 TSF:MSG:SEND,255-255-0-0,s=201,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 96179 TSM:ID 96182 TSM:ID:REQ 96188 TSF:MSG:SEND,255-255-0-0,s=182,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 98207 TSM:ID 98210 TSM:ID:REQ 98216 TSF:MSG:SEND,255-255-0-0,s=162,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 100236 TSM:ID 100239 TSM:ID:REQ 100245 TSF:MSG:SEND,255-255-0-0,s=143,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 102265 !TSM:ID:FAIL 102270 TSM:FAIL:CNT=6 102277 TSM:FAIL:DIS 102282 TSF:TDI:TSL 112288 TSM:FAIL:RE-INIT 112294 TSM:INIT 112305 TSM:INIT:TSP OK 112311 TSM:FPAR 112316 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK: 113226 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0 113242 TSF:MSG:FPAR PREF 113248 TSF:MSG:FPAR OK,ID=0,D=1 113257 TSM:FPAR:OK 113262 TSM:ID 113266 TSM:ID:REQ 113272 TSF:MSG:SEND,255-255-0-0,s=114,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 115292 TSM:ID 115295 TSM:ID:REQ 115301 TSF:MSG:SEND,255-255-0-0,s=95,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 117321 TSM:ID 117324 TSM:ID:REQ 117330 TSF:MSG:SEND,255-255-0-0,s=76,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 119351 TSM:ID 119354 TSM:ID:REQ 119360 TSF:MSG:SEND,255-255-0-0,s=58,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK: 121380 !TSM:ID:FAIL 121385 TSM:FAIL:CNT=7 121392 TSM:FAIL:DIS 121397 TSF:TDI:TSL```
-
@zapped the controller is responsible for handing out IDs. Are you using a controller? If not, use one or set static ID on all nodes.
Documentation: https://www.mysensors.org/apidocs/group__RoutingNodeSettingGrpPub.html#gac677233da7f20bbf93cb479471e3234e
-
@mfalkvidd That would explain a few things!
I've installed HomeGenie on pi (mainly because it supports C# and I'm not as fluent in C++ or Java), but from what I can see, it's support for MySensors is in beta (though the Controllers comparison page is quite old, so don't know how reliable that info is).
I basically wanted something with a nice GUI that I wouldn't have to spend too much time prettying up (or prettying up in C++ or Java, for that matter ). I'll try connecting the two and have a play with it this weekend.
Thanks again for your help!
-
I basically wanted something with a nice GUI that I wouldn't have to spend too much time prettying up (or prettying up in C++ or Java, for that matter ). I'll try connecting the two and have a play with it this weekend.
Try Domoticz. You will be able to quickly set it up and it does have a nice GUI
-
@alexsh1 Thanks for the suggestion, will give it a go this weekend!
-
What helped me was to clear the eeprom of the Arduino. there's a special sketch for that under examples.
It seems dabbling with encryption made my nodes not want to connect when I used them without encryption.
-
@alowhum no, encryption has to be enabled on all devices if the gateway use it. And they have to use the same key.
-
My gateway does not use encryption yet. But I was trying to get some sketches' memory use small enough so that they would work when I switch to encryption. To test this, I enabled MY_SIGNING_SIMPLE_PASSWD encryption on them, and then checked if memory use stayed below 80%.
Then, when I commented out MY_SIGNING_SIMPLE_PASSWD, I expected the node to just reconnect to my non-encrypted network. But it didn't.
When I first noticed that nodes I was building (with old nano's) weren't connecting to Domoticz, I blamed domoticz. And then I started using the 'manual' connection settings. Here's some code from a node:
//#define MY_NODE_ID 13 // for some reason my controller won't allow more than 10 nodes. //#define MY_PARENT_NODE_ID 0 //#define MY_PARENT_NODE_IS_STATIC
Once I cleared the eeprom, Domoticz auto-connects again. Yay!
Even though this was probably in the documentation, it never even occured to me to look there for the solution to my problem. I didn't know a Arduino/MySensors had 'hidden settings' which persisted.
Perhaps MySensors could clear the eeprom's encryption settings if the node does not implement encryption anymore?
-
@alowhum then I think it is related to node id:s. The simple flags does not write to eeprom nor does they read from it. Hence the term "simple". Only the security personalizer does that and I assume you did not run that.
-
Hmm, oh dear. I thought I has solved the mystery
-
@alowhum one way to check is to run the security personaliser without changing it. It will print the security related contents in eeprom. Then enable the simple flag, run a sketch with it, then re-run the personaliser and see if the eeprom content changed.