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 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
                              • gohanG Offline
                                gohanG Offline
                                gohan
                                Mod
                                wrote on last edited by
                                #23

                                I barely make it to the next room whatever power level I choose: I don't know if it is related to the voltage regulator with AMS1117 chip but I get a good communication until a certain point but as soon as I get behind a second wall, the gateway stops receiving even with 250k transfer rate. On my next order I'll get a couple of NRF24 chips with PA and antenna and see if it gets (hopefully) any better, if not I'll probably make the dipole antenna mod on the chips as I'd like to use them for longer range. If any of that will not work the only left solution is to use the Network libraries for the NRF24.

                                1 Reply Last reply
                                0
                                • TigroenotT Offline
                                  TigroenotT Offline
                                  Tigroenot
                                  wrote on last edited by
                                  #24

                                  I experience a very strange behavior of couple of sensors. They don't find parent if no repeater nodes are present. As soon as I power on a repeater node they work fine. Why don't they get gateway as parent node? I tried to manually assign parent but no luck. I also tried to change their parent id through the myscontroller. They don't obey :)
                                  What did I miss?

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

                                    I never configured a parent Id...

                                    1 Reply Last reply
                                    0
                                    • R Offline
                                      R Offline
                                      Reza
                                      wrote on last edited by
                                      #26

                                      hi all friends. i have same problem . i test all state of software and hard ware.
                                      for software:
                                      use static ID
                                      use static parent
                                      change channel for gateway and nodes
                                      use all state of pa_level (min - low - high - max) for nodes and gateway.
                                      for hardware:
                                      use 3 type of radio with/without antena (2chip and 1chip)
                                      use 4.7 - 100 - 470 uF capacitor
                                      use radio adapter and reglator module (5 to 3.3)
                                      use power supply 2A - 10A

                                      but not useful. . .

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

                                        Pls write what is your hw setup and how you connected everything, because there could be either a sw issue (like old libraries) or some errors in wiring. Also post logs of gateway and node

                                        R 1 Reply Last reply
                                        0
                                        • gohanG gohan

                                          Pls write what is your hw setup and how you connected everything, because there could be either a sw issue (like old libraries) or some errors in wiring. Also post logs of gateway and node

                                          R Offline
                                          R Offline
                                          Reza
                                          wrote on last edited by Reza
                                          #28

                                          @gohan
                                          i have a raspberry pi gateway and domoticz controller. and some fixed nodes in some rooms. wiring , sketch (softeware and hardware) is similar to simple sketch in site.
                                          just i added some feature similar to static node id , repeater feature and etc. the important issue is : i used this sketchs and devices (before update library and update sketch of nodes and gateway) without any problem . also use a node in 15 meter distance with gateway and there was 3 thick wall !and worked well, but after update the communication is very weak also for 5 meter with a 10cm wall i have very error similar to : FPAR FAIL - NACK - NO REPLAY - PDT . . . . i sure this is related to new version of library because i test all way for this problem

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


                                          25

                                          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