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. !TSM:FPAR:FAIL node and gateway communication problems?

!TSM:FPAR:FAIL node and gateway communication problems?

Scheduled Pinned Locked Moved Troubleshooting
31 Posts 9 Posters 19.3k Views 8 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.
  • F Fabien

    Wich controller you use ? Node ID attribution is coming from controller, not gateway.

    agtigA Offline
    agtigA Offline
    agtig
    wrote on last edited by
    #3

    @Fabien I am not using a controller. Can it run alone, or can I set up the Arduino Mega gateway as a controller as well?

    1 Reply Last reply
    0
    • agtigA Offline
      agtigA Offline
      agtig
      wrote on last edited by
      #4

      I have hooked up the Arduino Pro mini with the sensor to a laboratory power supply, which should be very precise. No change in the log...

      0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
      4 TSM:INIT
      4 TSF:WUR:MS=0
      12 TSM:INIT:TSP OK
      14 TSF:SID:OK,ID=3
      16 TSM:FPAR
      114 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2123 !TSM:FPAR:NO REPLY
      2125 TSM:FPAR
      2226 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4235 !TSM:FPAR:NO REPLY
      4237 TSM:FPAR
      4337 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6346 !TSM:FPAR:NO REPLY
      6348 TSM:FPAR
      6449 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8458 !TSM:FPAR:FAIL
      8460 TSM:FAIL:CNT=1
      8462 TSM:FAIL:PDT
      18466 TSM:FAIL:RE-INIT
      

      Will try with a larger capacitor, even though I don't think it will do much difference, when I use this power supply...

      1 Reply Last reply
      0
      • agtigA Offline
        agtigA Offline
        agtig
        wrote on last edited by
        #5

        Tried with a ceramic 47 micro farad condenser to no avail...

        mfalkviddM 1 Reply Last reply
        0
        • agtigA agtig

          Tried with a ceramic 47 micro farad condenser to no avail...

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

          @agtig could you post the debug log from your gateway?
          Edit: sorry, I see that you already did.

          agtigA 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @agtig could you post the debug log from your gateway?
            Edit: sorry, I see that you already did.

            agtigA Offline
            agtigA Offline
            agtig
            wrote on last edited by
            #7

            @mfalkvidd Kind of... Here is the log of the gateway in full length ;-)

            0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0
            0;255;3;0;9;TSM:INIT
            0;255;3;0;9;TSF:WUR:MS=0
            0;255;3;0;9;TSM:INIT:TSP OK
            0;255;3;0;9;TSM:INIT:GW MODE
            0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
            0;255;3;0;9;MCO:REG:NOT NEEDED
            0;255;3;0;14;Gateway startup complete.
            0;255;0;0;18;2.1.0
            0;255;3;0;9;MCO:BGN:STP
            0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
            

            If this helps... I will try using the older version of the sketch for both the sensor and the gateway...

            1 Reply Last reply
            0
            • agtigA Offline
              agtigA Offline
              agtig
              wrote on last edited by
              #8

              Now I downgraded to version 2.0, but the same problem remains.
              It seems that the problem resides with the sensor?
              At least it is the sensor that complains...
              Or is my problem that I am trying to run this without a controller?

              TSM:PDT
              TSM:INIT
              TSM:RADIO:OK
              TSP:ASSIGNID:OK (ID=254)
              TSM:FPAR
              TSP:MSG:SEND 254-254-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
              TSM:FPAR
              TSP:MSG:SEND 254-254-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
              TSM:FPAR
              TSP:MSG:SEND 254-254-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
              TSM:FPAR
              TSP:MSG:SEND 254-254-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
              !TSM:FPAR:FAIL
              !TSM:FAILURE
              
              1 Reply Last reply
              0
              • F Offline
                F Offline
                Fabien
                wrote on last edited by
                #9

                did you try https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help
                According with this flowchart, you can try to change radio on node.

                1 Reply Last reply
                0
                • agtigA Offline
                  agtigA Offline
                  agtig
                  wrote on last edited by
                  #10

                  I have now rewired all the cables, and made it neat, plus changed the radio, but nothing helps...
                  I still get a:

                  !TSM:FFPAR:FAIL
                  !TSM:FAILURE
                  
                  1 Reply Last reply
                  0
                  • gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #11

                    I am joining discussione as I have same problem. Here is the sensor node running on a Mega2560 with sketch MotionSensor from Mysensors examples

                    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.0
                    3 TSM:INIT
                    4 TSF:WUR:MS=0
                    11 TSM:INIT:TSP OK
                    13 TSM:INIT:STATID=2
                    14 TSF:SID:OK,ID=2
                    16 TSM:FPAR
                    1615 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                    3623 !TSM:FPAR:NO REPLY
                    3625 TSM:FPAR
                    5225 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                    7232 !TSM:FPAR:NO REPLY
                    7234 TSM:FPAR
                    8834 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                    10841 !TSM:FPAR:NO REPLY
                    10843 TSM:FPAR
                    12442 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                    14449 !TSM:FPAR:FAIL
                    14450 TSM:FAIL:CNT=1
                    14452 TSM:FAIL:PDT
                    24455 TSM:FAIL:RE-INIT
                    

                    This is gateway running on a UNO with sketch Serial Gateway from MySensors examples

                    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.0
                    0;255;3;0;9;TSM:INIT
                    0;255;3;0;9;TSF:WUR:MS=0
                    0;255;3;0;9;TSM:INIT:TSP OK
                    0;255;3;0;9;TSM:INIT:GW MODE
                    0;255;3;0;9;TSM:READY:ID=0,PAR=0,DIS=0
                    0;255;3;0;9;MCO:REG:NOT NEEDED
                    0;255;3;0;14;Gateway startup complete.
                    0;255;0;0;18;2.1.0
                    0;255;3;0;9;MCO:BGN:STP
                    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
                    0;255;3;0;9;TSF:SAN:OK
                    

                    I tried with both a power regulator for NRF24 and with a 10uF on both sides.

                    1 Reply Last reply
                    0
                    • D Offline
                      D Offline
                      David
                      wrote on last edited by David
                      #12

                      Hi all,
                      are you with Arduino IDE 1.8.0 ?
                      If yes did you try to downgrade the AVR version of Arduino 1.8.0 ?
                      Check the last two posts in this thread: https://forum.mysensors.org/topic/4801/building-an-ethernet-gateway/15

                      I'm not sure it will solve the problem but not bad to try.

                      agtigA 1 Reply Last reply
                      0
                      • D David

                        Hi all,
                        are you with Arduino IDE 1.8.0 ?
                        If yes did you try to downgrade the AVR version of Arduino 1.8.0 ?
                        Check the last two posts in this thread: https://forum.mysensors.org/topic/4801/building-an-ethernet-gateway/15

                        I'm not sure it will solve the problem but not bad to try.

                        agtigA Offline
                        agtigA Offline
                        agtig
                        wrote on last edited by
                        #13

                        @David Well, I just saw an update to the boards had been released, so first I tried updating that, but resulting in the same error.
                        Then I downgraded the boards to version 1.6.11 as recommended in the thread you linked to, but still resulting in the same error.

                        But thanks for the tip... Well, am really scratching my head on this problem.

                        <>
                        Can anyone verify that a controller is not needed for the communication between the sensor and the gateway to work?
                        <>

                        mfalkviddM 1 Reply Last reply
                        0
                        • agtigA Offline
                          agtigA Offline
                          agtig
                          wrote on last edited by
                          #14

                          It seems to me that the sensor is trying to find a parent, but fails?

                          1 Reply Last reply
                          0
                          • agtigA agtig

                            @David Well, I just saw an update to the boards had been released, so first I tried updating that, but resulting in the same error.
                            Then I downgraded the boards to version 1.6.11 as recommended in the thread you linked to, but still resulting in the same error.

                            But thanks for the tip... Well, am really scratching my head on this problem.

                            <>
                            Can anyone verify that a controller is not needed for the communication between the sensor and the gateway to work?
                            <>

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

                            Can anyone verify that a controller is not needed for the communication between the sensor and the gateway to work?

                            A controller is needed for dynamic id assignment. Since you are using static id a controller is not requored. The node should find its parent (= the gateway unless you have repeater(s)) anyway.

                            agtigA 1 Reply Last reply
                            1
                            • mfalkviddM mfalkvidd

                              Can anyone verify that a controller is not needed for the communication between the sensor and the gateway to work?

                              A controller is needed for dynamic id assignment. Since you are using static id a controller is not requored. The node should find its parent (= the gateway unless you have repeater(s)) anyway.

                              agtigA Offline
                              agtigA Offline
                              agtig
                              wrote on last edited by
                              #16

                              @mfalkvidd Should both the gateway and the sensor have static id's? (different of course)

                              mfalkviddM 1 Reply Last reply
                              0
                              • agtigA agtig

                                @mfalkvidd Should both the gateway and the sensor have static id's? (different of course)

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

                                @agtig a gateway always has the static id 0. So yes they will both have static id to work without a controller.

                                1 Reply Last reply
                                0
                                • agtigA Offline
                                  agtigA Offline
                                  agtig
                                  wrote on last edited by
                                  #18

                                  I just found this other forum post, which might be the answer to my issues: https://forum.mysensors.org/topic/5671/loosing-my-mind-sensor-not-talking-to-esp-gw-latest-2-2-0-beta/2

                                  I too have bought the radios with a blob instead of an IC.

                                  I too have ordered different radios - the ones that are recommended here in the shop.
                                  Had just hoped to be able to figure out how to get the ones I have to work. If anyone have any other ideas, or would like me to post some code, please let me know. I am running pretty standard from the example, only added MY_NODE_ID in the top...

                                  1 Reply Last reply
                                  0
                                  • gohanG Offline
                                    gohanG Offline
                                    gohan
                                    Mod
                                    wrote on last edited by
                                    #19

                                    I sent back my radios with blob and ordered other with IC: according to users' feedback they are working.

                                    1 Reply Last reply
                                    0
                                    • gohanG Offline
                                      gohanG Offline
                                      gohan
                                      Mod
                                      wrote on last edited by gohan
                                      #20

                                      i got the new NRF24 modules and it looks they are working. it looks like they are clones but at least I am not getting errors on startup like the others. For reference on the chip the code is 1609AH

                                      PS I did some tests on range with RF24_PA_MAX but I can get maximum 6-7 meters on same floor with 2 walls. Not as much as I would have expected.

                                      xelnahaX T 2 Replies Last reply
                                      1
                                      • gohanG gohan

                                        i got the new NRF24 modules and it looks they are working. it looks like they are clones but at least I am not getting errors on startup like the others. For reference on the chip the code is 1609AH

                                        PS I did some tests on range with RF24_PA_MAX but I can get maximum 6-7 meters on same floor with 2 walls. Not as much as I would have expected.

                                        xelnahaX Offline
                                        xelnahaX Offline
                                        xelnaha
                                        wrote on last edited by
                                        #21

                                        @agtig said:

                                        https://forum.mysensors.org/topic/5671/loosing-my-mind-sensor-not-talking-to-esp-gw-latest-2-2-0-beta/2

                                        I have been pulling my hairs out too; whatever I did no joy. I also have the ones with the blob and i'm happy I got back here. Static node, no joy whatsoever. I am looking for the IC nodes now, just need to find a reputable seller as I thought I was buying the IC ones, but eventually was sent the blob cloned ones.

                                        luckily i complained and said what I was sent was fake and got my money back.

                                        1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          i got the new NRF24 modules and it looks they are working. it looks like they are clones but at least I am not getting errors on startup like the others. For reference on the chip the code is 1609AH

                                          PS I did some tests on range with RF24_PA_MAX but I can get maximum 6-7 meters on same floor with 2 walls. Not as much as I would have expected.

                                          T Offline
                                          T Offline
                                          tboha
                                          wrote on last edited by
                                          #22

                                          Maybe you should give

                                          #define MY_RF24_PA_LEVEL RF24_PA_MIN
                                          

                                          a try.
                                          Being short of NRF modules, I ordered 10 pcs from my trusted EBAY-Seller for about 6.5€. What a disappointing experience - none of the modules did its work. All failed with

                                          !TSM:FPAR:NO REPLY
                                          

                                          10 defective modules in a row? Not likely. Clones? "Second source"? Fake? - maybe. So back to the roots, digging out maniacbug's library, uploading test sketches (pingpair_ack) - and ... no communication.
                                          Regarding debug output the only difference between working and dysfunctional modules was PA_LEVEL (PA_LOW vs. PA_MAX). So switching to PA_MIN resulted in almost flawless communication arround 5-7m (inhouse with much armoured concrete, not noticeably different from "working" NRF modules).
                                          Reducing PA_LEVEL is advised frequently in this forum, but I never thought of reducing to PA_MIN.
                                          Interesting observation: increasing PA_LEVEL from PA_MIN to PA_LOW resulted in way much higher Round-Trip-Times (6000µs vs 650µs) and some failures (indicating bad transmissions), increasing to PA_LEVEL to PA_HIGH broke communication completely.

                                          So recompiling Mysensors sketches with RF24_PA_MIN did the trick, the probably "fake" modules are doing their job.

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


                                          24

                                          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