TSM:FPAR:No Reply



  • Dear All!

    Im beginner in the wireless sensor node + gateway world, and I started to build a simple MQTTClient Gateway (UNO R3 + W5100 + nrf24) with an DHT11 Sensor node (Arduino nano + DHT11 + nrf24).

    The gateway and the node are seems to be working, but the node says that
    "!TSM:FPAR:NO REPLY"

    Could someone help me what might be the problem?

    The full messages:
    NODE
    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    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
    53 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2060 !TSM:FPAR:NO REPLY
    2062 TSM:FPAR
    2098 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4106 !TSM:FPAR:NO REPLY
    4108 TSM:FPAR
    4144 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6152 !TSM:FPAR:NO REPLY
    6154 TSM:FPAR
    6190 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8198 !TSM:FPAR:FAIL
    8199 TSM:FAIL:CNT=1
    8201 TSM:FAIL:PDT
    18204 TSM:FAIL:RE-INIT
    18206 TSM:INIT
    18213 TSM:INIT:TSP OK
    18215 TSM:INIT:STATID=2
    18217 TSF:SID:OK,ID=2
    18220 TSM:FPAR
    18256 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    20264 !TSM:FPAR:NO REPLY
    20267 TSM:FPAR
    20303 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:

    GW
    0;255c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    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
    IP: 100.100.13.150
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    IP: 100.100.13.150
    0;255;3;0;9;Attempting MQTT connection...
    0;255;3;0;9;MQTT connected
    0;255;3;0;9;Sending message on topic: mygateway1-out/0/255/0/0/18
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:
    0;255;3;0;9;!TSF:MSG:LEN,0!=7
    0;255;3;0;9;TSF:MSG:READ,0-0-0,s=0,c=0,t=0,pt=0,l=0,sg=0:


  • Mod

    How are you powering the radio modules? What capacitors did you use on the radios if any?



  • Dear gonhan!
    First of all, thank you for your help.
    I have two power module (https://www.ebay.com/itm/262102860958 ) with an mb102 bread board and i use it for powering my nrf24. I use a 7.5v 1000mA adapter to power the modules.
    The capacitor is a 47uF one.
    I power the two microcontrollers through USB connected to my laptop at the same time, because at this way i can switch the console output between the two controllers when i would like to see the output.

    I try to follow the guides described here. All parts are from keyestudio except the two nrf24(with antenna) module.

    I use the mysensors latest library , gatewayW5100mqttclient and a dht11 example sketch (but i have tried already another official mysensors lightsensor sketch) on the node.


  • Mod

    Try to put the radios a couple of meters apart and see if you see any change



  • @gohan

    Dear gohan!

    I have tried but nothing change. I bought two nrf24 from keyestudio without pa/lna , if it arrives i will try those.
    I will write the experiences with the new ones.

    Best regards
    T


  • Mod

    Are you using the PA lna? If so try a bigger cap, set pa power to min and you could also wrap the radio module with plastic and aluminum foil for shielding



  • @gohan

    Hi gohan!

    Oh, OK! Im trying today. How can i set the power to minimum?

    Have a Good day!
    T


  • Mod

    Look at the examples of other sketches, it's a define to be added, or you can set the default value in myconfig.h inside the library folder (look for the nrf24 section in the file)



  • Did you define the node_Id and parent_ID in the sketch ?



  • @ben999

    Hi Ben!

    I havent define the parent ID because i havent known that i should do. i will try these settings as soon as i can.

    I have already defined the node id in the node sketch

    Thank you!
    T



  • This post is deleted!


  • @ben999

    Hi Ben!

    How can i define the parent id on the gateway?

    Thanks
    T


  • Mod

    You don't have to define a parent ID in your case.



  • Hi Guys,
    i have the same Problem
    I've build a Serial-Gateway (Arduino Nano clone + nrf24) and a node (Arduino Nano clone + DHT22 + nrf24)
    I do the connecition from this Site and added a 10µF capacitor to VCC and GND.
    I try to set a fix Node-ID, but there is the same problem
    This is the Log from the Gateway:

    0;255;3;0;9;MCO:BGN:INIT GW,CP=RNNGA--,VER=2.1.1
    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.1
    0;255;3;0;9;MCO:BGN:STP
    0;255;3;0;9;MCO:BGN:INIT OK,TSP=1
    

    And the Node:

    0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
    3 TSM:INIT
    4 TSF:WUR:MS=0
    11 TSM:INIT:TSP OK
    13 TSF:SID:OK,ID=10
    14 TSM:FPAR
    1613 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    3621 !TSM:FPAR:NO REPLY
    3623 TSM:FPAR
    5223 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    7230 !TSM:FPAR:NO REPLY
    7232 TSM:FPAR
    8832 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    10839 !TSM:FPAR:NO REPLY
    10841 TSM:FPAR
    12440 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    14448 !TSM:FPAR:FAIL
    14449 TSM:FAIL:CNT=1
    14451 TSM:FAIL:PDT
    24454 TSM:FAIL:RE-INIT
    24456 TSM:INIT
    24463 TSM:INIT:TSP OK
    24465 TSF:SID:OK,ID=10
    24467 TSM:FPAR
    26066 TSF:MSG:SEND,10-10-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    28075 !TSM:FPAR:NO REPLY
    28077 TSM:FPAR
    

    I think the node is send some data but the gateway not answer.
    I increase the distance between the gateway and the node, but still the same problem.
    Sorry for my bad english :blush:


  • Mod

    do you see any message in the GW log when node is trying to connect? Because if not it may be a problem ot the radio module of the note not sending correctly, one of the radio modules could be a fake module and very poor quality. In the beginning I bought some modules that had a blob instead of an IC on the module and they were all not working. I can suggest to try some sample sketches to check if modules are communicating and also you could give a try to mysensors library from development branch



  • No that is the full log from the GW. Damn...all my radiomodules have this blob like this one on the left picture.
    I have also tested other NRF receivers (with the blob)


  • Mod

    Those are the kind that normally doesn't work. Return them if you can or you can just dump them and get the good ones (look at the threads about genuine NRF24)



  • @gohan

    Oh ok. Thanks.

    I tried to attach 100uF capacitor but the results are same.(no reply) . The node ID is defined, the parent ID isnt.
    It seems that im out of ideas. I wait for the new nrf24 without pa lna.
    Im attaching some pictures about the project.
    Should i foil the nrf24 modul?

    https://cloud.freeforall.hu/owncloud/public.php?service=files&t=1f73fddc20c6d9a2560f88f78affd499


  • Mod

    I can't see the link but I trying to foil the radio module could be an idea, as I wrote a few posts earlier



  • @gohan

    Dear gohan!

    Sorry, it is a private home server and it was in maintenance mode when you were trying to connect. Now it should be working.
    (The new nrf24 have just arrived so im going to try these as soon as i can)

    Best regards
    T


Log in to reply
 

Looks like your connection to MySensors Forum was lost, please wait while we try to reconnect.