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. Node inclusion problem.

Node inclusion problem.

Scheduled Pinned Locked Moved Troubleshooting
17 Posts 2 Posters 152 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.
  • pw44P pw44

    @mfalkvidd the two other nodes are as close as this third, and are being recognized.

    How to get the gateway's log?

    by telnet gateway's ip 5003? or is there any other way without pluging to the arduino ide and opening the serial monitor for debug?

    Regarding "But it could be a problem with the radio or the antenna", it happened with 3 different nrf24l01 (no extendal antenna).

    Thx in advance

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

    @pw44 said in Node inclusion problem.:

    How to get the gateway's log?

    For me, the easiest way is usually to connect the gateway to a computer and use a serial console (the one built into the Arduino IDE or just the screencommand on Linux), but what is easiest for you depends on your level of experience and what tools you are comfortable using.

    pw44P 2 Replies Last reply
    0
    • mfalkviddM mfalkvidd

      @pw44 said in Node inclusion problem.:

      How to get the gateway's log?

      For me, the easiest way is usually to connect the gateway to a computer and use a serial console (the one built into the Arduino IDE or just the screencommand on Linux), but what is easiest for you depends on your level of experience and what tools you are comfortable using.

      pw44P Offline
      pw44P Offline
      pw44
      wrote on last edited by
      #6

      @mfalkvidd with linux i'm very confortable... screen /dev/ttyUSB0 9600

      1 Reply Last reply
      0
      • mfalkviddM mfalkvidd

        @pw44 said in Node inclusion problem.:

        How to get the gateway's log?

        For me, the easiest way is usually to connect the gateway to a computer and use a serial console (the one built into the Arduino IDE or just the screencommand on Linux), but what is easiest for you depends on your level of experience and what tools you are comfortable using.

        pw44P Offline
        pw44P Offline
        pw44
        wrote on last edited by
        #7

        @mfalkvidd

        what are these for?

        #define MY_PARENT_NODE_ID 0

        #define MY_NODE_ID 21

        Thx!

        mfalkviddM 1 Reply Last reply
        0
        • pw44P pw44

          @mfalkvidd

          what are these for?

          #define MY_PARENT_NODE_ID 0

          #define MY_NODE_ID 21

          Thx!

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

          @pw44 enter them into the search box at the top right at https://www.mysensors.org/apidocs/index.html to get the documentation. If things still are unclear, ask any wuestions you might have here.

          pw44P 1 Reply Last reply
          0
          • mfalkviddM mfalkvidd

            @pw44 enter them into the search box at the top right at https://www.mysensors.org/apidocs/index.html to get the documentation. If things still are unclear, ask any wuestions you might have here.

            pw44P Offline
            pw44P Offline
            pw44
            wrote on last edited by
            #9

            @mfalkvidd ok, i did, and did not understand how it works, that's why i asked.

            mfalkviddM 1 Reply Last reply
            0
            • pw44P pw44

              @mfalkvidd ok, i did, and did not understand how it works, that's why i asked.

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

              @pw44 the public documentation is the best way we know to describe them. If we knew a better way, we would update the public documentation.

              Could you help us by describing what parts you understand and what parts you don't understand?

              pw44P 1 Reply Last reply
              0
              • mfalkviddM mfalkvidd

                @pw44 the public documentation is the best way we know to describe them. If we knew a better way, we would update the public documentation.

                Could you help us by describing what parts you understand and what parts you don't understand?

                pw44P Offline
                pw44P Offline
                pw44
                wrote on last edited by
                #11

                @mfalkvidd well, neither my build gateway or the two working nodes have MY_NODE_ID and MY_PARENT_NODE_ID.

                in one of the posts, one user claimed not being able to include a node, but was able to do it by defining those https://forum.mysensors.org/post/36819.

                so, the question is if those are necessary by having the gateway and nodes, and how to use it?

                shall i define MY_NODE_ID 0 to the gateway and AUTO do the nodes, by MY_PARENT_NODE_ID, or MY_PARENT_NODE_ID 0 to the nodes?

                yes, maybe stupid questions, but i didn't realize, as i have one gateway and two nodes working and a third one not being registered, even with some nrf24l01 replaced.

                mfalkviddM 1 Reply Last reply
                0
                • pw44P pw44

                  @mfalkvidd well, neither my build gateway or the two working nodes have MY_NODE_ID and MY_PARENT_NODE_ID.

                  in one of the posts, one user claimed not being able to include a node, but was able to do it by defining those https://forum.mysensors.org/post/36819.

                  so, the question is if those are necessary by having the gateway and nodes, and how to use it?

                  shall i define MY_NODE_ID 0 to the gateway and AUTO do the nodes, by MY_PARENT_NODE_ID, or MY_PARENT_NODE_ID 0 to the nodes?

                  yes, maybe stupid questions, but i didn't realize, as i have one gateway and two nodes working and a third one not being registered, even with some nrf24l01 replaced.

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

                  @pw44 as described in the documentation, Node id defaults to AUTO (tries to fetch id from controller).

                  So if you don’t specify MY_NODE_ID, the node will try to fetch an id from the controller.

                  pw44P 1 Reply Last reply
                  0
                  • mfalkviddM mfalkvidd

                    @pw44 as described in the documentation, Node id defaults to AUTO (tries to fetch id from controller).

                    So if you don’t specify MY_NODE_ID, the node will try to fetch an id from the controller.

                    pw44P Offline
                    pw44P Offline
                    pw44
                    wrote on last edited by
                    #13

                    @mfalkvidd ok, but does it have any influence by node being recognized by gateway?

                    mfalkviddM 2 Replies Last reply
                    0
                    • pw44P pw44

                      @mfalkvidd ok, but does it have any influence by node being recognized by gateway?

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

                      @pw44 hard to tell without the logs from the node and the gateway from the same time

                      1 Reply Last reply
                      0
                      • pw44P pw44

                        @mfalkvidd ok, but does it have any influence by node being recognized by gateway?

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

                        @pw44 I checked the startup sequence, and TSM:FPAR happens before TSM:ID. So no, setting MY_NODE_ID on your node would not have any effect in your case.

                        1 Reply Last reply
                        0
                        • pw44P Offline
                          pw44P Offline
                          pw44
                          wrote on last edited by pw44
                          #16

                          This is what i have from GW:

                          ⸮⸮⸮⸮⸮hlD⸮x⸮hT⸮76 MCO:BGN:INIT GW,CP=RNNGE---,FQ=80,REL=255,VER=2.3.2
                          134 TSF:LRT:OK
                          149 TSM:INIT
                          163 TSF:WUR:MS=0
                          186 TSM:INIT:TSP OK
                          207 TSM:INIT:GW MODE
                          229 TSM:READY:ID=0,PAR=0,DIS=0
                          262 MCO:REG:NOT NEEDED
                          scandone
                          1367 GWT:TIN:CONNECTING...
                          2396 GWT:TIN:CONNECTING...
                          scandone
                          state: 0 -> 2 (b0)
                          4175 GWT:TIN:CONNECTING...
                          state: 2 -> 3 (0)
                          state: 3 -> 5 (10)
                          add 0
                          aid 5
                          cnt 
                          
                          connected with Hirschberg, channel 1
                          dhcp client start...
                          ip:192.168.80.9,mask:255.255.255.0,gw:192.168.80.1
                          4393 GWT:TIN:IP: 192.168.80.9
                          4424 MCO:BGN:STP
                          4442 MCO:BGN:INIT OK,TSP=1
                          4471 TSM:READY:NWD REQ
                          4498 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
                          12252 GWT:TSA:C=0,CONNECTED
                          pm open,type:2 0
                          22390 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          32460 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          42660 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          52698 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          62829 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          72967 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          83002 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          93141 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          103175 GWT:RFC:C=0,MSG=0;255;3;0;2;
                          

                          no node being recognized

                          and these are the arduino mini pro gpios being used

                          #define BUTTON_PIN1  3                                // Arduino Digital I/O pin for button/reed switch
                          #define BUTTON_PIN2  4                                // Arduino Digital I/O pin for button/reed switch
                          #define BUTTON_PIN3  5                                // Arduino Digital I/O pin for button/reed switch
                          #define BUTTON_PIN4  6                                // Arduino Digital I/O pin for button/reed switch
                          #define BUTTON_PIN5  7                                // Arduino Digital I/O pin for button/reed switch
                          #define BUTTON_PIN6  8                                 // Arduino Digital I/O pin for button/reed switch
                          
                          pw44P 1 Reply Last reply
                          0
                          • pw44P pw44

                            This is what i have from GW:

                            ⸮⸮⸮⸮⸮hlD⸮x⸮hT⸮76 MCO:BGN:INIT GW,CP=RNNGE---,FQ=80,REL=255,VER=2.3.2
                            134 TSF:LRT:OK
                            149 TSM:INIT
                            163 TSF:WUR:MS=0
                            186 TSM:INIT:TSP OK
                            207 TSM:INIT:GW MODE
                            229 TSM:READY:ID=0,PAR=0,DIS=0
                            262 MCO:REG:NOT NEEDED
                            scandone
                            1367 GWT:TIN:CONNECTING...
                            2396 GWT:TIN:CONNECTING...
                            scandone
                            state: 0 -> 2 (b0)
                            4175 GWT:TIN:CONNECTING...
                            state: 2 -> 3 (0)
                            state: 3 -> 5 (10)
                            add 0
                            aid 5
                            cnt 
                            
                            connected with Hirschberg, channel 1
                            dhcp client start...
                            ip:192.168.80.9,mask:255.255.255.0,gw:192.168.80.1
                            4393 GWT:TIN:IP: 192.168.80.9
                            4424 MCO:BGN:STP
                            4442 MCO:BGN:INIT OK,TSP=1
                            4471 TSM:READY:NWD REQ
                            4498 ?TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=20,pt=0,l=0,sg=0,ft=0,st=OK:
                            12252 GWT:TSA:C=0,CONNECTED
                            pm open,type:2 0
                            22390 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            32460 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            42660 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            52698 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            62829 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            72967 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            83002 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            93141 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            103175 GWT:RFC:C=0,MSG=0;255;3;0;2;
                            

                            no node being recognized

                            and these are the arduino mini pro gpios being used

                            #define BUTTON_PIN1  3                                // Arduino Digital I/O pin for button/reed switch
                            #define BUTTON_PIN2  4                                // Arduino Digital I/O pin for button/reed switch
                            #define BUTTON_PIN3  5                                // Arduino Digital I/O pin for button/reed switch
                            #define BUTTON_PIN4  6                                // Arduino Digital I/O pin for button/reed switch
                            #define BUTTON_PIN5  7                                // Arduino Digital I/O pin for button/reed switch
                            #define BUTTON_PIN6  8                                 // Arduino Digital I/O pin for button/reed switch
                            
                            pw44P Offline
                            pw44P Offline
                            pw44
                            wrote on last edited by
                            #17

                            @mfalkvidd may this problem be related with eeprom stored vars?

                            i will clear the eeproms and flash gatewayand nodes again.

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


                            26

                            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