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. [SOLVED] Testing Serial Gateway?

[SOLVED] Testing Serial Gateway?

Scheduled Pinned Locked Moved Troubleshooting
6 Posts 2 Posters 674 Views 2 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
    FrankVK
    wrote on last edited by Yveaux
    #1

    Hi,

    Being new to Sensors, I have build my first serial gateway (Aruino Pro Mini (328P 3.3V) & NRF24L01) according to the instruction video on this site. The gateway seems to be working according to the debug log; my controller (Domoticz) also 'sees' the gateway.

    0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,REL=255,VER=2.3.1
    0;255;3;0;9;14 TSM:INIT
    0;255;3;0;9;22 TSF:WUR:MS=0
    0;255;3;0;9;34 !TSM:INIT:TSP FAIL
    0;255;3;0;9;43 TSM:FAIL:CNT=1
    0;255;3;0;9;51 TSM:FAIL:DIS
    0;255;3;0;9;59 TSF:TDI:TSL
    0;255;3;0;9;10070 TSM:FAIL:RE-INIT
    0;255;3;0;9;10078 TSM:INIT
    0;255;3;0;9;10090 !TSM:INIT:TSP FAIL
    0;255;3;0;9;10100 TSM:FAIL:CNT=2
    0;255;3;0;9;10110 TSM:FAIL:DIS
    0;255;3;0;9;10119 TSF:TDI:TSL
    

    However, when I fire up a (DHT22) client, it does not see the Gateway.

    __  __       ____
    |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
    | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
    | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
    |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
            |___/                      2.3.1
     
    
    51 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
    81 TSM:INIT
    86 TSF:WUR:MS=0
    94 TSM:INIT:TSP OK
    100 TSM:FPAR
    104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    2125 !TSM:FPAR:NO REPLY
    2131 TSM:FPAR
    2136 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    4157 !TSM:FPAR:NO REPLY
    4163 TSM:FPAR
    4167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    6189 !TSM:FPAR:NO REPLY
    6195 TSM:FPAR
    6199 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    8220 !TSM:FPAR:FAIL
    8224 TSM:FAIL:CNT=1
    8230 TSM:FAIL:DIS
    8235 TSF:TDI:TSL
    

    I use 47uF capacitors, the gateway and client are 1-5m apart. I tried seperate power supply..

    Any suggestions?
    Is there any way I can test if the Gateway is working?

    Regards, Frank

    mfalkviddM 1 Reply Last reply
    0
    • F FrankVK

      Hi,

      Being new to Sensors, I have build my first serial gateway (Aruino Pro Mini (328P 3.3V) & NRF24L01) according to the instruction video on this site. The gateway seems to be working according to the debug log; my controller (Domoticz) also 'sees' the gateway.

      0;255;3;0;9;0 MCO:BGN:INIT GW,CP=RNNGA---,REL=255,VER=2.3.1
      0;255;3;0;9;14 TSM:INIT
      0;255;3;0;9;22 TSF:WUR:MS=0
      0;255;3;0;9;34 !TSM:INIT:TSP FAIL
      0;255;3;0;9;43 TSM:FAIL:CNT=1
      0;255;3;0;9;51 TSM:FAIL:DIS
      0;255;3;0;9;59 TSF:TDI:TSL
      0;255;3;0;9;10070 TSM:FAIL:RE-INIT
      0;255;3;0;9;10078 TSM:INIT
      0;255;3;0;9;10090 !TSM:INIT:TSP FAIL
      0;255;3;0;9;10100 TSM:FAIL:CNT=2
      0;255;3;0;9;10110 TSM:FAIL:DIS
      0;255;3;0;9;10119 TSF:TDI:TSL
      

      However, when I fire up a (DHT22) client, it does not see the Gateway.

      __  __       ____
      |  \/  |_   _/ ___|  ___ _ __  ___  ___  _ __ ___
      | |\/| | | | \___ \ / _ \ `_ \/ __|/ _ \| `__/ __|
      | |  | | |_| |___| |  __/ | | \__ \  _  | |  \__ \
      |_|  |_|\__, |____/ \___|_| |_|___/\___/|_|  |___/
              |___/                      2.3.1
       
      
      51 MCO:BGN:INIT NODE,CP=RNNNA---,REL=255,VER=2.3.1
      81 TSM:INIT
      86 TSF:WUR:MS=0
      94 TSM:INIT:TSP OK
      100 TSM:FPAR
      104 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      2125 !TSM:FPAR:NO REPLY
      2131 TSM:FPAR
      2136 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      4157 !TSM:FPAR:NO REPLY
      4163 TSM:FPAR
      4167 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      6189 !TSM:FPAR:NO REPLY
      6195 TSM:FPAR
      6199 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      8220 !TSM:FPAR:FAIL
      8224 TSM:FAIL:CNT=1
      8230 TSM:FAIL:DIS
      8235 TSF:TDI:TSL
      

      I use 47uF capacitors, the gateway and client are 1-5m apart. I tried seperate power supply..

      Any suggestions?
      Is there any way I can test if the Gateway is working?

      Regards, Frank

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

      Hi @frankvk, welcome to the MySensors community!

      !TSM:INIT:TSP FAIL
      

      this means that the node is unable to communicate with the radio chip. The most common cause is a mistake in wiring. Triple-check your wiring, and post photos here - often a new pair of eyes is helpful to spot mistakes.

      If you haven't already, see https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/ for a handy flowchart on how to troubleshoot the most common problems.

      1 Reply Last reply
      0
      • F Offline
        F Offline
        FrankVK
        wrote on last edited by
        #3

        Thanks for your reply!

        It appears to be a newby mistake: I overpowered the NRF24L01 radios: the FTDI board did put out 5.0V although the output Voltage selectors witch wat at the 3.3V position..

        Another lesson learned today... always doublecheck !

        1 Reply Last reply
        1
        • F Offline
          F Offline
          FrankVK
          wrote on last edited by
          #4

          Now that we have communication: if I run the (standard) DhtTemparatureAnd HumiditySensor sketch, the Setup() en Loop() never seem to run.. The Serial.println commands don't make it to the Serial monitor..

          Am I missing something here?

          mfalkviddM 1 Reply Last reply
          0
          • F FrankVK

            Now that we have communication: if I run the (standard) DhtTemparatureAnd HumiditySensor sketch, the Setup() en Loop() never seem to run.. The Serial.println commands don't make it to the Serial monitor..

            Am I missing something here?

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

            @frankvk what does the debug output of the node and the gateway say?

            1 Reply Last reply
            0
            • F Offline
              F Offline
              FrankVK
              wrote on last edited by
              #6

              Recompiled & uploaded the sektch and now I see the Temperature and Humidity values allright!
              Thanks again!

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


              17

              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