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 is not using repeater to talk to gateway

Node is not using repeater to talk to gateway

Scheduled Pinned Locked Moved Troubleshooting
42 Posts 3 Posters 8.0k 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.
  • Daniel OliveiraD Daniel Oliveira

    Hi @karl261,

    It's a long shot but can you double check your power sources? I had some weird issues like those in the past because of bad quality power sources.

    I recommend adding a 47uF electrolytic capacitor as close as possible to the NRF24 GND and VCC pins, as a 470uF between the GND and the Vin pins of the arduino.

    And keep the external power source on even when connecting the USB cable to read the debug messages.

    Hope you solve this issue soon

    karl261K Offline
    karl261K Offline
    karl261
    wrote on last edited by karl261
    #11

    @Daniel-Oliveira Yeah, I know about these power things. I am pretty sure the power is ok. I use the caps on all my nodes. For the repeater (99) I picked a very stable 5V source and the NRF24+PA+LNA sits behind its own 3.3V regulator that has a high current output. The NRF24+PA+LNA is shielded after @Oitzu's method, so it should not interfere with itself. Actually I tried to implement all the tricks.
    Btw, all is on 2.0.0.
    GW: Nano
    99: Pro mini
    30 + 4: 1Mhz battery nodes after @m26872's "My Slim 2AA Battery Node".

    It all sounds too nice to be true... ;-)

    1 Reply Last reply
    0
    • tekkaT tekka

      @karl261 Ok, I need to see the sketches first: can you post the sketch of all nodes, i.e. GW, node 99, node 3, node 4? Also, do you have MYSController installed for a few tests?

      karl261K Offline
      karl261K Offline
      karl261
      wrote on last edited by karl261
      #12

      @tekka MYSController? No, but if you point me to a link or so I could install of course.

      Edit: Ok, I downloaded your software. It seems it is running well on my PC. I am ready to test.
      Edit2: The 1.0.0beta.

      tekkaT 1 Reply Last reply
      0
      • karl261K karl261

        @tekka MYSController? No, but if you point me to a link or so I could install of course.

        Edit: Ok, I downloaded your software. It seems it is running well on my PC. I am ready to test.
        Edit2: The 1.0.0beta.

        tekkaT Offline
        tekkaT Offline
        tekka
        Admin
        wrote on last edited by tekka
        #13

        @karl261 What version is it saying?

        karl261K 1 Reply Last reply
        0
        • tekkaT tekka

          @karl261 What version is it saying?

          karl261K Offline
          karl261K Offline
          karl261
          wrote on last edited by
          #14

          @tekka 1.0.0beta built 3314

          tekkaT 1 Reply Last reply
          0
          • karl261K karl261

            @tekka 1.0.0beta built 3314

            tekkaT Offline
            tekkaT Offline
            tekka
            Admin
            wrote on last edited by
            #15

            @karl261 Ok, then send a C_INTERNAL | I_DEBUG | R message to the GW and node 99 and upload the output.

            karl261K 1 Reply Last reply
            0
            • tekkaT tekka

              @karl261 Ok, then send a C_INTERNAL | I_DEBUG | R message to the GW and node 99 and upload the output.

              karl261K Offline
              karl261K Offline
              karl261
              wrote on last edited by
              #16

              @tekka So you mean I connect to my serial gateway and then issue the commands? Yes, let's see.

              1 Reply Last reply
              0
              • karl261K Offline
                karl261K Offline
                karl261
                wrote on last edited by
                #17

                Here we go:

                10	22.08.2016 21:49:41	TX	0 - Gateway	N/A	C_INTERNAL	NO	I_DEBUG	R
                12	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0202
                14	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0303
                16	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0463
                18	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	1E1E
                20	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	1F1F
                22	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	6363
                24	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	8B03
                25	22.08.2016 21:50:06	TX	99 - Repeater Node	N/A	C_INTERNAL	NO	I_DEBUG	R
                28	22.08.2016 21:50:06	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0000
                30	22.08.2016 21:50:06	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0303
                32	22.08.2016 21:50:07	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0404
                34	22.08.2016 21:50:07	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	1E1E
                37	22.08.2016 21:50:23	RX	2	1	C_SET	NO	V_TEMP	20.8
                39	22.08.2016 21:50:23	RX	2	0	C_SET	NO	V_HUM	76.1
                
                tekkaT 1 Reply Last reply
                0
                • karl261K karl261

                  Here we go:

                  10	22.08.2016 21:49:41	TX	0 - Gateway	N/A	C_INTERNAL	NO	I_DEBUG	R
                  12	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0202
                  14	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0303
                  16	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0463
                  18	22.08.2016 21:49:41	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	1E1E
                  20	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	1F1F
                  22	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	6363
                  24	22.08.2016 21:49:42	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	8B03
                  25	22.08.2016 21:50:06	TX	99 - Repeater Node	N/A	C_INTERNAL	NO	I_DEBUG	R
                  28	22.08.2016 21:50:06	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0000
                  30	22.08.2016 21:50:06	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0303
                  32	22.08.2016 21:50:07	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0404
                  34	22.08.2016 21:50:07	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	1E1E
                  37	22.08.2016 21:50:23	RX	2	1	C_SET	NO	V_TEMP	20.8
                  39	22.08.2016 21:50:23	RX	2	0	C_SET	NO	V_HUM	76.1
                  
                  tekkaT Offline
                  tekkaT Offline
                  tekka
                  Admin
                  wrote on last edited by tekka
                  #18

                  @karl261 Ok, and now send C_INTERNAL | I_DEBUG | E - first to node 99, then to the GW and finally, press Discover in MYSController. This should re-establish the routing table.

                  karl261K 1 Reply Last reply
                  0
                  • tekkaT tekka

                    @karl261 Ok, and now send C_INTERNAL | I_DEBUG | E - first to node 99, then to the GW and finally, press Discover in MYSController. This should re-establish the routing table.

                    karl261K Offline
                    karl261K Offline
                    karl261
                    wrote on last edited by
                    #19

                    @tekka I received ok twice back. Now the nano (GW) is blinking like crazy. And so is the pro mini (repeater). I do a power cycle?

                    tekkaT 1 Reply Last reply
                    0
                    • karl261K karl261

                      @tekka I received ok twice back. Now the nano (GW) is blinking like crazy. And so is the pro mini (repeater). I do a power cycle?

                      tekkaT Offline
                      tekkaT Offline
                      tekka
                      Admin
                      wrote on last edited by
                      #20

                      @karl261 yup

                      karl261K 1 Reply Last reply
                      0
                      • tekkaT tekka

                        @karl261 yup

                        karl261K Offline
                        karl261K Offline
                        karl261
                        wrote on last edited by
                        #21

                        @tekka Still weird:
                        99 says 0203 so 02 is going via 03?? Why?
                        0 says 0263 so 02 is going via 99?

                        247	22.08.2016 22:15:24	TX	99 - Repeater Node	N/A	C_INTERNAL	NO	I_DEBUG	R
                        250	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0000
                        252	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0203
                        254	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0404
                        255	22.08.2016 22:15:50	TX	0 - Gateway	N/A	C_INTERNAL	NO	I_DEBUG	R
                        257	22.08.2016 22:15:50	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0263
                        259	22.08.2016 22:15:50	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	6363
                        
                        tekkaT 1 Reply Last reply
                        0
                        • karl261K karl261

                          @tekka Still weird:
                          99 says 0203 so 02 is going via 03?? Why?
                          0 says 0263 so 02 is going via 99?

                          247	22.08.2016 22:15:24	TX	99 - Repeater Node	N/A	C_INTERNAL	NO	I_DEBUG	R
                          250	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0000
                          252	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0203
                          254	22.08.2016 22:15:24	RX	99 - Repeater Node	INTERNAL	C_INTERNAL	NO	I_DEBUG	0404
                          255	22.08.2016 22:15:50	TX	0 - Gateway	N/A	C_INTERNAL	NO	I_DEBUG	R
                          257	22.08.2016 22:15:50	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	0263
                          259	22.08.2016 22:15:50	RX	0 - Gateway	INTERNAL	C_INTERNAL	NO	I_DEBUG	6363
                          
                          tekkaT Offline
                          tekkaT Offline
                          tekka
                          Admin
                          wrote on last edited by
                          #22

                          @karl261 hmm...indeed, that's weird. Do you have the debug log of node 3?

                          karl261K 1 Reply Last reply
                          0
                          • tekkaT tekka

                            @karl261 hmm...indeed, that's weird. Do you have the debug log of node 3?

                            karl261K Offline
                            karl261K Offline
                            karl261
                            wrote on last edited by
                            #23

                            @tekka Which log exactly? Node 3 is Mysensors 1.5... It is sitting somewhere hidden...

                            tekkaT 1 Reply Last reply
                            0
                            • karl261K karl261

                              @tekka Which log exactly? Node 3 is Mysensors 1.5... It is sitting somewhere hidden...

                              tekkaT Offline
                              tekkaT Offline
                              tekka
                              Admin
                              wrote on last edited by tekka
                              #24

                              @karl261 But you wrote:

                              Btw, all is on 2.0.0.

                              mixed setups are not advisable (and not supported). Please update if possible.

                              karl261K 1 Reply Last reply
                              0
                              • tekkaT tekka

                                @karl261 But you wrote:

                                Btw, all is on 2.0.0.

                                mixed setups are not advisable (and not supported). Please update if possible.

                                karl261K Offline
                                karl261K Offline
                                karl261
                                wrote on last edited by
                                #25

                                @tekka Yes, with "all" I meant those being involved in the repeater stuff.

                                tekkaT 1 Reply Last reply
                                0
                                • karl261K karl261

                                  @tekka Yes, with "all" I meant those being involved in the repeater stuff.

                                  tekkaT Offline
                                  tekkaT Offline
                                  tekka
                                  Admin
                                  wrote on last edited by
                                  #26

                                  @karl261 Can you add this to node 4 (this is the relayed one?):

                                  #define MY_PARENT_NODE_ID 99
                                  #define MY_PARENT_NODE_IS_STATIC
                                  
                                  karl261K 2 Replies Last reply
                                  0
                                  • tekkaT tekka

                                    @karl261 Can you add this to node 4 (this is the relayed one?):

                                    #define MY_PARENT_NODE_ID 99
                                    #define MY_PARENT_NODE_IS_STATIC
                                    
                                    karl261K Offline
                                    karl261K Offline
                                    karl261
                                    wrote on last edited by karl261
                                    #27

                                    @tekka I can add it to node 30 right now. It is also supposed to be relayed. In fact this is why I did start this thread in the first place, I had no luck with these two lines. Will try again.

                                    Oooohhh, there is a mistake further up: I am talking about node 30, and wrote node 3. That is incorrect. Let's see if I can edit. That is why you were asking about the 1.5...

                                    1 Reply Last reply
                                    0
                                    • tekkaT tekka

                                      @karl261 Can you add this to node 4 (this is the relayed one?):

                                      #define MY_PARENT_NODE_ID 99
                                      #define MY_PARENT_NODE_IS_STATIC
                                      
                                      karl261K Offline
                                      karl261K Offline
                                      karl261
                                      wrote on last edited by karl261
                                      #28

                                      @tekka Node 30 does still not care about the two lines. It is sending direct.
                                      It also does not send back any routing table. Maybe because it is sleeping most of the time?

                                      tekkaT 1 Reply Last reply
                                      0
                                      • karl261K karl261

                                        @tekka Node 30 does still not care about the two lines. It is sending direct.
                                        It also does not send back any routing table. Maybe because it is sleeping most of the time?

                                        tekkaT Offline
                                        tekkaT Offline
                                        tekka
                                        Admin
                                        wrote on last edited by
                                        #29

                                        @karl261 If it's not defined as repeater, it won't have a routing table. And yes, sleeping nodes do not listen for incoming traffic. But still, if GW and node 99 are up, it should prefer 99 - can you show me the log of node 30 during booting?

                                        karl261K 1 Reply Last reply
                                        0
                                        • tekkaT tekka

                                          @karl261 If it's not defined as repeater, it won't have a routing table. And yes, sleeping nodes do not listen for incoming traffic. But still, if GW and node 99 are up, it should prefer 99 - can you show me the log of node 30 during booting?

                                          karl261K Offline
                                          karl261K Offline
                                          karl261
                                          wrote on last edited by karl261
                                          #30

                                          @tekka Now it seems to work.

                                          But I recompiled, because I had MY_DEBUG commented out. Somehow there is something wrong with debug...

                                          Starting sensor (RNNNA-, 2.0.0)
                                          TSM:INIT
                                          TSM:RADIO:OK
                                          TSP:ASSIGNID:OK (ID=30)
                                          TSM:FPAR
                                          TSP:MSG:SEND 30-30-255-255 s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=bc:
                                          TSP:MSG:READ 3-3-30 s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                          TSP:MSG:FPAR RES (ID=3, dist=1)
                                          TSP:MSG:PAR OK (ID=3, dist=2)
                                          TSP:MSG:READ 99-99-30 s=255,c=3,t=8,pt=1,l=1,sg=0:1
                                          TSP:MSG:FPAR RES (ID=99, dist=1)
                                          TSP:MSG:FPAR (PPAR FOUND)
                                          TSP:MSG:PAR OK (ID=99, dist=2)
                                          TSM:FPAR:OK
                                          TSM:ID
                                          TSM:CHKID:OK (ID=30)
                                          TSM:UPL
                                          TSP:PING:SEND (dest=0)
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=ok:1
                                          TSP:MSG:READ 0-0-30 s=255,c=3,t=8,pt=1,l=1,sg=0:0
                                          TSP:MSG:FPAR RES (ID=0, dist=0)
                                          TSP:MSG:READ 0-99-30 s=255,c=3,t=25,pt=1,l=1,sg=0:2
                                          TSP:MSG:PONG RECV (hops=2)
                                          TSP:CHKUPL:OK
                                          TSM:UPL:OK
                                          TSM:READY
                                          Serial started
                                          Voltage: 3289 mV
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=15,pt=6,l=2,sg=0,ft=0,st=ok:0100
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=0,t=17,pt=0,l=5,sg=0,ft=0,st=ok:2.0.0
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=6,pt=1,l=1,sg=0,ft=0,st=ok:99
                                          TSP:MSG:READ 0-99-30 s=255,c=3,t=15,pt=6,l=2,sg=0:0100
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=11,pt=0,l=15,sg=0,ft=0,st=ok:EgTmpHumBat5min
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=12,pt=0,l=10,sg=0,ft=0,st=ok:1.0 151106
                                          TSP:MSG:SEND 30-30-99-0 s=0,c=0,t=6,pt=0,l=0,sg=0,ft=0,st=ok:
                                          TSP:MSG:SEND 30-30-99-0 s=1,c=0,t=7,pt=0,l=0,sg=0,ft=0,st=ok:
                                          Node and 2 children presented.
                                          Request registration...
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=26,pt=1,l=1,sg=0,ft=0,st=ok:2
                                          TSP:MSG:READ 0-99-30 s=255,c=3,t=27,pt=1,l=1,sg=0:1
                                          Node registration=1
                                          Init complete, id=30, parent=99, distance=2, registration=1
                                          T: 21.59
                                          TempDiff :121.59
                                          TSP:MSG:SEND 30-30-99-0 s=0,c=1,t=0,pt=7,l=5,sg=0,ft=0,st=ok:21.6
                                          T sent!
                                          H: 81
                                          HumDiff  :181.00
                                          TSP:MSG:SEND 30-30-99-0 s=1,c=1,t=1,pt=2,l=2,sg=0,ft=0,st=ok:81
                                          H sent!
                                          Battery voltage: 3279 mV
                                          Battery percent: 98 %
                                          TSP:MSG:SEND 30-30-99-0 s=255,c=3,t=0,pt=1,l=1,sg=0,ft=0,st=ok:98
                                          T: 21.61
                                          TempDiff :0.02
                                          H: 81
                                          HumDiff  :0.00
                                          
                                          tekkaT 1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          16

                                          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