Node unable to get ID from gateway. [2.2.0]



  • I updated the gateway to 2.2.0. I have one sensor on 2.1.1 which able to communicate fine with my gateway. I tried testing a node on 2.2.0. I flash the MockMySensor sketch, but its not able to get a node ID from gateway. I also cleared EEPROM and replashed , tied to assign ID to node but did not help. The ID:4 we see in the gateway log is my node running on 2.1.1. Need help in understanding what could be the issue/fix. Thanks
    Logs from Node:

    6 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 !TSF:SID:FAIL,ID=0
    37 TSM:FAIL:CNT=1
    38 TSM:FAIL:DIS
    40 TSF:TDI:TSL
    10042 TSM:FAIL:RE-INIT
    10044 TSM:INIT
    10051 TSM:INIT:TSP OK
    10053 !TSF:SID:FAIL,ID=0
    10055 TSM:FAIL:CNT=2
    10057 TSM:FAIL:DIS
    10059 TSF:TDI:TSL
    

    Logs from Gateway:

    Mar  6 15:51:47 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
    Mar  6 15:51:57 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
    Mar  6 15:52:06 myhome mysgw: TSF:MSG:READ,4-4-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    Mar  6 15:52:06 myhome mysgw: TSF:MSG:BC
    Mar  6 15:52:06 myhome mysgw: TSF:MSG:FPAR REQ,ID=4
    Mar  6 15:52:06 myhome mysgw: TSF:PNG:SEND,TO=0
    Mar  6 15:52:06 myhome mysgw: TSF:CKU:OK
    Mar  6 15:52:06 myhome mysgw: TSF:MSG:GWL OK
    Mar  6 15:52:06 myhome mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    Mar  6 15:52:07 myhome mysgw: GWT:RFC:C=0,MSG=0;0;3;0;18;PING
    Mar  6 15:52:10 myhome mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=24,pt=1,l=1,sg=0:1
    Mar  6 15:52:10 myhome mysgw: TSF:MSG:PINGED,ID=4,HP=1
    Mar  6 15:52:10 myhome mysgw: !TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=25,pt=1,l=1,sg=0,ft=0,st=NACK:1
    


  • @suresh-mali said in Node unable to get ID from gateway. [2.2.0]:

    10053 !TSF:SID:FAIL,ID=0

    Did you use the standard arduino Clean-EEPROM-Sketch or the one that comes with MySensors? The first writes "00" in EEPROM, the later "FF".
    For analysing this kind of trouble also the https://www.mysensors.org/build/parser is a very valueable tool.



  • @rejoe2 I have used the Mockmysensor example sketch from Mysensors.



  • @suresh-mali said in Node unable to get ID from gateway. [2.2.0]:

    I also cleared EEPROM

    The question was: how did you do this? There are - as already mentionned - two sketches available, but only one works 😉 .



  • @rejoe2 oh, I am sorry. I use the sketch from EEPROM Lib in Arduino. Not from MySensors. I am doing it right?



  • @suresh-mali No, this is the one writing zero's. Use the one that comes with mysensors (or assign an ID manually in your sketch, this may lead directly to a working node).



  • @rejoe2 Will try that. I did tried assigning ID manually, but that did not work.



  • @rejoe2 I tried as suggested. Cleared EEPROM using the sketch from MySensors example folder, tried auto ID assignment and also predefined ID. None seems to work.

    This is the log when no ID is assigned.

    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:FPAR
    37 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2046 !TSM:FPAR:NO REPLY
    2049 TSM:FPAR
    2051 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4059 !TSM:FPAR:NO REPLY
    4061 TSM:FPAR
    4063 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    

    Log when Node is assigned ID:

    16 MCO:BGN:INIT NODE,CP=RNNNA---,VER=2.2.0
    25 TSM:INIT
    26 TSF:WUR:MS=0
    33 TSM:INIT:TSP OK
    35 TSM:INIT:STATID=254
    37 TSF:SID:OK,ID=254
    39 TSM:FPAR
    75 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2083 !TSM:FPAR:NO REPLY
    2085 TSM:FPAR
    2121 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4129 !TSM:FPAR:NO REPLY
    4131 TSM:FPAR
    4167 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6175 !TSM:FPAR:NO REPLY
    6177 TSM:FPAR
    6213 TSF:MSG:SEND,254-254-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8221 !TSM:FPAR:FAIL
    8222 TSM:FAIL:CNT=1
    8224 TSM:FAIL:DIS
    8226 TSF:TDI:TSL
    

    Please advice if there anything that could help me understand the issue and fix it.
    Thanks alot.



  • @suresh-mali said in Node unable to get ID from gateway. [2.2.0]:

    !TSM:FPAR:FAIL

    Seems like there is either a problem in the RF part (node could have a defect transmitter) or your controller is not accepting new nodes. This is partly controller specific, eg. in FHEM you have to set the GW to "inclusion mode" AND have to activate a feature called "autocreate".



  • @rejoe2 I have already tried 2 different RF modules, the known good ones. So RF can be ruled out. I am running it with Domoticz, usually I don't have to change any setting, on presentation the node is shown in Domoticz and I just add it to my UI. Also tried the option Allow discovery for 5 mins in Domoticz that did not work either. So kind of lost here as to what's happening.



  • @suresh-mali So then last ideas could be the gw version: is it also 2.2.0?
    What kind of RF are you using - if it's nRF24 and you are already using the recommended caacitor, the MySensors lib version really could make a difference. For other RF modules, you may have a look at recent changes (RFM69 new driver).

    Beside that I'm also running out of ideas.



  • @rejoe2 I am using 2.2.0 on both gateway and node. Using NRF24L01+ with Caps . Strangely one of my node running on 2.1.0 is able to communicate with the gateway. Let's hope Mods have some answers. Appreciate your efforts and time.
    Thanks



  • Any Moderator or Admin here who can help me, please.


  • Mod

    @suresh-mali I have moderator privileges. What do you need help with?



  • @mfalkvidd I have hit a dead end. The issue described in the thread is stii not resolved. Any advice on what can help figure out the issue would be helpful.

    Thanks


  • Mod

    @suresh-mali ah. Sorry, my moderator privileges did not include divine knowledge. I have no idea what could be the problem.



  • Not sure if it is the same problem, but looking similar ?

    1. I upgrade my MQTT gateway to 2.2.0 (from 2.1.0), all working ok with my 2.1.0 sensor nodes
    2. I upgrade the first sensor node to 2.2.0, and I get TSM:INIT:TSP FAIL messages on the node.
    3. I downgrade the first sensor node back to 2.1.0 and it works again like a charm ...

    Did I miss something ? Is this a bug in 2.2.0 ? Do I need to change config ?
    Best regards,
    DirkB


 

249
Online

7.8k
Users

8.7k
Topics

92.9k
Posts