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. My Node doesn't talk to Gateway!

My Node doesn't talk to Gateway!

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 1.1k Views 3 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.
  • G Offline
    G Offline
    ghiglie
    wrote on last edited by
    #1

    Hi all,
    I've just jumped in, so I'm starting to build some gateways and nodes. The first pair I'm bauilding is nRF based, an NodeMCU w/ MQTT gateway, and a ProMini with an easy DHT11. Both sketches are "vanilla" from Examples; the nRFs are socketed to an adapter with an AMS for 5->3v with a 10uF capacitor, each no more that 20cm far from each other.

    So, they pairing - the node finds its parent, but they get stuck during communication:
    gateway:

    0;255;3;0;9;TSF:CKU:OK
    0;255;3;0;9;TSF:MSG:GWL OK
    0;255;3;0;9;TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    0;255;3;0;9;!TSF:MSG:LEN,7!=32
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    0;255;3;0;9;!TSF:MSG:LEN,7!=32
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    0;255;3;0;9;!TSF:MSG:LEN,7!=32
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:READ,255-255-0,s=255,c=3,t=3,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=7,t=255,pt=7,l=25,sg=1: 0
    0;255;3;0;9;!TSF:MSG:LEN,7!=32
    0;255;3;0;9;TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    0;255;3;0;9;TSF:MSG:BC
    0;255;3;0;9;TSF:MSG:FPAR REQ,ID=255
    0;255;3;0;9;TSF:PNG:SEND,TO=0
    0;255;3;0;9;TSF:CKU:OK
    0;255;3;0;9;TSF:MSG:GWL OK ```
    

    and node:

    693319 TSM:FAIL:PDT
    753324 TSM:FAIL:RE-INIT
    753326 TSM:INIT
    753334 TSM:INIT:TSP OK
    753336 TSM:FPAR
    753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    754542 TSF:MSG:FPAR OK,ID=0,D=1
    755347 TSM:FPAR:OK
    755349 TSM:ID
    755349 TSM:ID:REQ
    755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    757362 TSM:ID
    757362 TSM:ID:REQ
    757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    759375 TSM:ID
    759375 TSM:ID:REQ
    759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    761389 TSM:ID
    761389 TSM:ID:REQ
    761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    763402 !TSM:ID:FAIL
    763404 TSM:FAIL:CNT=7
    763406 TSM:FAIL:PDT 693319 TSM:FAIL:PDT
    753324 TSM:FAIL:RE-INIT
    753326 TSM:INIT
    753334 TSM:INIT:TSP OK
    753336 TSM:FPAR
    753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    754542 TSF:MSG:FPAR OK,ID=0,D=1
    755347 TSM:FPAR:OK
    755349 TSM:ID
    755349 TSM:ID:REQ
    755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    757362 TSM:ID
    757362 TSM:ID:REQ
    757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    759375 TSM:ID
    759375 TSM:ID:REQ
    759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    761389 TSM:ID
    761389 TSM:ID:REQ
    761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    763402 !TSM:ID:FAIL
    763404 TSM:FAIL:CNT=7
    763406 TSM:FAIL:PDT 693319 TSM:FAIL:PDT
    753324 TSM:FAIL:RE-INIT
    753326 TSM:INIT
    753334 TSM:INIT:TSP OK
    753336 TSM:FPAR
    753338 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    754536 TSF:MSG:READ,0-0-255,s=255,c=3,t=8,pt=1,l=1,sg=0:0
    754542 TSF:MSG:FPAR OK,ID=0,D=1
    755347 TSM:FPAR:OK
    755349 TSM:ID
    755349 TSM:ID:REQ
    755353 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    757362 TSM:ID
    757362 TSM:ID:REQ
    757366 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    759375 TSM:ID
    759375 TSM:ID:REQ
    759379 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    761389 TSM:ID
    761389 TSM:ID:REQ
    761393 TSF:MSG:SEND,255-255-0-0,s=255,c=3,t=3,pt=0,l=0,sg=0,ft=0,st=OK:
    763402 !TSM:ID:FAIL
    763404 TSM:FAIL:CNT=7
    763406 TSM:FAIL:PDT ```
    

    I've added some extra debug switches found here on the forum, but it's not adding nothing interesting o readable.

    I've tried switching some nFR, I have some more at home (I'm a traveller!) I could try this weekend....
    Maybe the DHT is not reading, so the payload is shorter - 7 chars instead of 32 ?

    Any other suggestions to debug this?

    Thanks all!

    Marco

    atmega328p serial killer
    HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

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

      have you tried with the mockmysensor sketch just to see if there are any changes?

      1 Reply Last reply
      0
      • G Offline
        G Offline
        ghiglie
        wrote on last edited by
        #3

        Uh, no! I didn't read about it. Gosh, I could have tried the sensors net much sooner! :( :D

        I'll try it... hopely tonite.

        TIA!

        atmega328p serial killer
        HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

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

          you would have still needed the arduino and radio modules to run the mockmysensor sketch

          G 1 Reply Last reply
          0
          • gohanG gohan

            you would have still needed the arduino and radio modules to run the mockmysensor sketch

            G Offline
            G Offline
            ghiglie
            wrote on last edited by
            #5

            A small update. well, uploaded the mockmysensor sketch and gateway and nodes are talking flawlessly!
            I should take note: first, power the antennas directly from source. 2. upload mockmysensors

            Thanks @gohan !

            atmega328p serial killer
            HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

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


            21

            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