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] node can't join gateway (gw using dev branch)

[solved] node can't join gateway (gw using dev branch)

Scheduled Pinned Locked Moved Troubleshooting
3 Posts 2 Posters 950 Views 1 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.
  • M Offline
    M Offline
    MikaelK
    wrote on last edited by MikaelK
    #1

    Hello,

    I've setup my gateway yesterday using the development branch so I could put a humidity sensor on it (works great !).
    I now have a small network with the gateway using development branch, and one arduino nano on the master branch also having a humidity sensor.

    Now, I've begun working on a future watermeter with a tcrt-5000 IR Barrier Line Track sensor.

    First step has been to put components (arduino nano + nrf24l01+ + tcrt-5000) on a breadboard and upload sketch. Unfortunately, I can't join the node to the network.

    With the sketch taken from dev branch, I get this on the serial monitor

    Radio init successful.
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=255,c=3,t=15,pt=0,l=2,sg=0,st=fail:
    send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=10,sg=0,st=fail:2.0.0-beta
    send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
    send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:Water Meter
    send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.1
    find parent
    send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=fail:
    Init complete, id=2, parent=0, distance=255
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    find parent
    send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    find parent
    send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    

    When using the sketch from master branch, I get this :

    send: 2-2-0-0 s=255,c=3,t=15,pt=2,l=2,sg=0,st=fail:0
    send: 2-2-0-0 s=255,c=0,t=17,pt=0,l=5,sg=0,st=fail:1.5.4
    send: 2-2-0-0 s=255,c=3,t=6,pt=1,l=1,sg=0,st=fail:0
    sensor started, id=2, parent=0, distance=1
    send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=fail:Water Meter
    send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=fail:1.1
    send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=fail:
    find parent
    send: 2-2-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,st=bc:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    

    I just remembered having read about some inclusion time and I tried to unplug/plug the gateway to the rpi controller and it worked a bit better :

    sensor started, id=2, parent=0, distance=1
    send: 2-2-0-0 s=255,c=3,t=11,pt=0,l=11,sg=0,st=ok:Water Meter
    send: 2-2-0-0 s=255,c=3,t=12,pt=0,l=3,sg=0,st=ok:1.1
    send: 2-2-0-0 s=1,c=0,t=21,pt=0,l=0,sg=0,st=ok:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    send: 2-2-0-0 s=1,c=2,t=24,pt=0,l=0,sg=0,st=fail:
    

    Doing this, Domoticz could detect the hardware : http://snag.gy/kuVGr.jpg

    But I could not find anything in the device tab, which I think is due to the following failed sendings.

    I guess it could be related to the development version but if someone has a suggestion, it would be welcome.

    Regards
    Mikael

    1 Reply Last reply
    0
    • sundberg84S Offline
      sundberg84S Offline
      sundberg84
      Hardware Contributor
      wrote on last edited by sundberg84
      #2

      Hi!

      First thing that comes to my attention is all your ,st=fail:
      It might be a range or power issue, do you have caps on your radios?
      Can be a hardware fault with your radio as well

      My guess is that your node is sending, but it doesnt reach the gw
      Have a look at your gw log. Do you see anything there? Probably not?

      Controller: Proxmox VM - Home Assistant
      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MikaelK
        wrote on last edited by
        #3

        Thanks for the anwser.

        Sorry for the noise, it was some weak soldering issue on the gateway. Worked the whole night, but broke around noon today. It's now fixed and works.

        Mikael

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


        18

        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