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. Debug findParent

Debug findParent

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

    I have a gateway which already has 6 nodes hooked up. One of the nodes is a repeater.
    I am trying to hook up a new node which does not find its parent.

    Starting sensor (RNNNAA, 2.0.0-beta)
    write register, reg=0, value=6
    write register, reg=3, value=3
    write register, reg=4, value=95
    write register, reg=5, value=124
    write register, reg=6, value=39
    read register, reg=6, value=39
    write register, reg=16, value=115
    write register, reg=29, value=6
    write register, reg=2, value=2
    write register, reg=1, value=0
    write register, reg=28, value=3
    flushRX
    flushTX
    write register, reg=7, value=112
    Radio init successful.
    find parent
    stop listening
    write register, reg=0, value=6
    open writing pipe, recipient=255
    write register, reg=10, value=255
    write register, reg=16, value=255
    send message to 255, len=7
    flushTX
    write register, reg=7, value=48
    start listening
    write register, reg=0, value=7
    send: 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    find parent
    stop listening
    write register, reg=0, value=6
    open writing pipe, recipient=255
    write register, reg=10, value=255
    write register, reg=16, value=255
    send message to 255, len=7
    flushTX
    write register, reg=7, value=48
    start listening
    write register, reg=0, value=7
    send: 32-32-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    

    From the log above you can see that it does not find its parent.
    How can I debug that?

    In particular, I am interested whether I should see that the gateway receives the "broadcast" message although it is already serving six nodes? From the log I do not see any message being received at the gateway.

    1 Reply Last reply
    0
    • H Offline
      H Offline
      hek
      Admin
      wrote on last edited by
      #2

      The broadcast should vi visible in the debug log of the gateway or repeater (if i hears it).

      1 Reply Last reply
      0
      • T Offline
        T Offline
        tomkxy
        wrote on last edited by
        #3

        @hek: Thanks! It's working now. I was confused by another issue, a call to requestTime in the setup routine which seems not going out.

        1 Reply Last reply
        0

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        9

        Online

        12.0k

        Users

        11.2k

        Topics

        113.4k

        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