Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. Node unable to get ID from gateway. [2.2.0]

Node unable to get ID from gateway. [2.2.0]

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 4 Posters 2.9k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Suresh MaliS Suresh Mali

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

    rejoe2R Offline
    rejoe2R Offline
    rejoe2
    wrote on last edited by
    #6

    @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).

    Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

    Suresh MaliS 2 Replies Last reply
    0
    • rejoe2R rejoe2

      @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).

      Suresh MaliS Offline
      Suresh MaliS Offline
      Suresh Mali
      wrote on last edited by
      #7

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

      1 Reply Last reply
      0
      • rejoe2R rejoe2

        @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).

        Suresh MaliS Offline
        Suresh MaliS Offline
        Suresh Mali
        wrote on last edited by
        #8

        @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.

        1 Reply Last reply
        0
        • rejoe2R Offline
          rejoe2R Offline
          rejoe2
          wrote on last edited by
          #9

          @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".

          Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

          Suresh MaliS 1 Reply Last reply
          0
          • rejoe2R rejoe2

            @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".

            Suresh MaliS Offline
            Suresh MaliS Offline
            Suresh Mali
            wrote on last edited by
            #10

            @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.

            rejoe2R 1 Reply Last reply
            0
            • Suresh MaliS Suresh Mali

              @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.

              rejoe2R Offline
              rejoe2R Offline
              rejoe2
              wrote on last edited by
              #11

              @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.

              Controller: FHEM; MySensors: 2.3.1, RS485,nRF24,RFM69, serial Gateways

              Suresh MaliS 1 Reply Last reply
              0
              • rejoe2R rejoe2

                @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.

                Suresh MaliS Offline
                Suresh MaliS Offline
                Suresh Mali
                wrote on last edited by Suresh Mali
                #12

                @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

                1 Reply Last reply
                0
                • Suresh MaliS Suresh Mali

                  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 MaliS Offline
                  Suresh MaliS Offline
                  Suresh Mali
                  wrote on last edited by
                  #13

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

                  mfalkviddM 1 Reply Last reply
                  0
                  • Suresh MaliS Suresh Mali

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

                    mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by
                    #14

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

                    Suresh MaliS 1 Reply Last reply
                    0
                    • mfalkviddM mfalkvidd

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

                      Suresh MaliS Offline
                      Suresh MaliS Offline
                      Suresh Mali
                      wrote on last edited by
                      #15

                      @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

                      mfalkviddM 1 Reply Last reply
                      0
                      • Suresh MaliS Suresh Mali

                        @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

                        mfalkviddM Offline
                        mfalkviddM Offline
                        mfalkvidd
                        Mod
                        wrote on last edited by mfalkvidd
                        #16

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

                        1 Reply Last reply
                        1
                        • D Offline
                          D Offline
                          DirkB19
                          wrote on last edited by
                          #17

                          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

                          1 Reply Last reply
                          0
                          Reply
                          • Reply as topic
                          Log in to reply
                          • Oldest to Newest
                          • Newest to Oldest
                          • Most Votes


                          13

                          Online

                          11.7k

                          Users

                          11.2k

                          Topics

                          113.1k

                          Posts


                          Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                          • Login

                          • Don't have an account? Register

                          • Login or register to search.
                          • First post
                            Last post
                          0
                          • MySensors
                          • OpenHardware.io
                          • Categories
                          • Recent
                          • Tags
                          • Popular