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. Hardware
  3. Node dont connect to RaspBerry gateway

Node dont connect to RaspBerry gateway

Scheduled Pinned Locked Moved Hardware
28 Posts 4 Posters 5.2k Views 4 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #10

    Ah my bad, I didn't see the - - branch master at the end of the line as I'm on mobile 😌

    keldandorinK 1 Reply Last reply
    0
    • Jeff WilleckeJ Offline
      Jeff WilleckeJ Offline
      Jeff Willecke
      wrote on last edited by
      #11

      Try assigning a node ID. Sometimes controllers will provide an ID but the gateway will not. Currently it is using the ID of 255. I think the line of code to add to the sketch is

      #define node_ID #
      

      Where the # at the end is the number of your node. Any value between 1 and 254 should work.

      1 Reply Last reply
      0
      • gohanG gohan

        Ah my bad, I didn't see the - - branch master at the end of the line as I'm on mobile 😌

        keldandorinK Offline
        keldandorinK Offline
        keldandorin
        wrote on last edited by
        #12

        @gohan hehe N00b misstake thougt --branch Master was referens that the rest downloaded master...have just started to try out git :)

        1 Reply Last reply
        0
        • keldandorinK Offline
          keldandorinK Offline
          keldandorin
          wrote on last edited by
          #13

          OK got version 2.1.1 on place on Rpi deffined Node Id but still no luck connecting to Rpi GW :cry:

          GW Log
          mysgw: Starting gateway...
          mysgw: Protocol version - 2.1.1
          mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
          mysgw: TSF:LRT:OK
          mysgw: TSM:INIT
          mysgw: TSF:WUR:MS=0
          mysgw: TSM:INIT:TSP OK
          mysgw: TSM:INIT:GW MODE
          mysgw: TSM:READY:ID=0,PAR=0,DIS=0
          mysgw: MCO:REG:NOT NEEDED
          mysgw: Listening for connections on 0.0.0.0:5003
          mysgw: MCO:BGN:STP
          mysgw: MCO:BGN:INIT OK,TSP=1
          mysgw: TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
          mysgw: TSF:MSG:BC
          mysgw: TSF:MSG:FPAR REQ,ID=255
          mysgw: TSF:PNG:SEND,TO=0
          mysgw: TSF:CKU:OK
          mysgw: TSF:MSG:GWL OK
          mysgw: TSF:MSG:SEND,0-0-255-255,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=OK:0
          mysgw: TSF:MSG:READ,255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
          mysgw: TSF:MSG:BC
          mysgw: TSF:MSG:FPAR REQ,ID=255
          mysgw: TSF:CKU:OK,FCTRL
          mysgw: TSF:MSG:GWL OK

          Node Log:
          0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
          3 TSM:INIT
          4 TSF:WUR:MS=0
          11 TSM:INIT:TSP OK
          13 TSM:FPAR
          15 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          2022 !TSM:FPAR:NO REPLY
          2024 TSM:FPAR
          2026 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          4034 !TSM:FPAR:NO REPLY
          4036 TSM:FPAR
          4038 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          6046 !TSM:FPAR:NO REPLY
          6048 TSM:FPAR
          6050 TSF:MSG:SEND,255-255-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          8058 !TSM:FPAR:FAIL
          8059 TSM:FAIL:CNT=1
          8061 TSM:FAIL:PDT

          Going to replace radio and try again.

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

            Double check node ID, I don't see it in node log

            keldandorinK 1 Reply Last reply
            0
            • gohanG gohan

              Double check node ID, I don't see it in node log

              keldandorinK Offline
              keldandorinK Offline
              keldandorin
              wrote on last edited by
              #15

              @gohan Changed radio on Rpi
              and node log looks like this now, Forgot MY_ before node :smile:

              0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
              3 TSM:INIT
              4 TSF:WUR:MS=0
              11 TSM:INIT:TSP OK
              13 TSM:INIT:STATID=2
              18 TSF:SID:OK,ID=2
              19 TSM:FPAR
              55 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              2063 !TSM:FPAR:NO REPLY
              2065 TSM:FPAR
              2101 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              4108 !TSM:FPAR:NO REPLY
              4110 TSM:FPAR
              4146 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              6153 !TSM:FPAR:NO REPLY
              6155 TSM:FPAR
              6191 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
              8198 !TSM:FPAR:FAIL
              8199 TSM:FAIL:CNT=1
              8201 TSM:FAIL:PDT

              keldandorinK 1 Reply Last reply
              0
              • keldandorinK keldandorin

                @gohan Changed radio on Rpi
                and node log looks like this now, Forgot MY_ before node :smile:

                0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
                3 TSM:INIT
                4 TSF:WUR:MS=0
                11 TSM:INIT:TSP OK
                13 TSM:INIT:STATID=2
                18 TSF:SID:OK,ID=2
                19 TSM:FPAR
                55 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                2063 !TSM:FPAR:NO REPLY
                2065 TSM:FPAR
                2101 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                4108 !TSM:FPAR:NO REPLY
                4110 TSM:FPAR
                4146 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                6153 !TSM:FPAR:NO REPLY
                6155 TSM:FPAR
                6191 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                8198 !TSM:FPAR:FAIL
                8199 TSM:FAIL:CNT=1
                8201 TSM:FAIL:PDT

                keldandorinK Offline
                keldandorinK Offline
                keldandorin
                wrote on last edited by
                #16

                @keldandorin Looks like I get som data to GW now but it dosent connect. Node has ID 3

                mysgw: TSF:MSG:BC
                mysgw: TSF:MSG:FPAR REQ,ID=3
                mysgw: TSF:CKU:OK,FCTRL
                mysgw: TSF:MSG:GWL OK
                mysgw: !TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
                mysgw: TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
                mysgw: TSF:MSG:BC
                mysgw: TSF:MSG:FPAR REQ,ID=3
                mysgw: TSF:CKU:OK,FCTRL
                mysgw: TSF:MSG:GWL OK

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

                  Do you have cap on the radio?

                  keldandorinK 1 Reply Last reply
                  0
                  • gohanG gohan

                    Do you have cap on the radio?

                    keldandorinK Offline
                    keldandorinK Offline
                    keldandorin
                    wrote on last edited by
                    #18

                    @gohan yes

                    keldandorinK 1 Reply Last reply
                    0
                    • keldandorinK keldandorin

                      @gohan yes

                      keldandorinK Offline
                      keldandorinK Offline
                      keldandorin
                      wrote on last edited by
                      #19

                      @keldandorin If I pars log from GW it says

                      Sent Message
                      Sender: 0
                      Last Node: 0
                      Next Node: 3
                      Destination: 3
                      Sensor Id: 255
                      Command: INTERNAL
                      Message Type:I_FIND_PARENT_RESPONSE
                      Payload Type: P_BYTE
                      Payload Length: 1
                      Signing: 0
                      Failed uplink counter: 0
                      Status: NACK (OK=success, NACK=no radio ACK received)
                      Payload: 0

                      Just like its acctualy responding to Node !
                      But the node dosent like the awnser

                      1 Reply Last reply
                      0
                      • keldandorinK Offline
                        keldandorinK Offline
                        keldandorin
                        wrote on last edited by
                        #20

                        Hi guys, realy need som help here. Got my Rpi gateway up and running and logfile looks ok, see below.
                        have a working Node running with DTH22. (know its working sins its conenct to my Arduino GW)
                        Tryed to onfigured Node Id on node. Connecting to my RpiGW with MYScontroller and can see the gateway but no nodes connect.
                        Log on PRI looks like this
                        mysgw: Starting gateway...
                        mysgw: Protocol version - 2.1.1
                        mysgw: MCO:BGN:INIT GW,CP=RNNG--Q,VER=2.1.1
                        mysgw: TSF:LRT:OK
                        mysgw: TSM:INIT
                        mysgw: TSF:WUR:MS=0
                        mysgw: TSM:INIT:TSP OK
                        mysgw: TSM:INIT:GW MODE
                        mysgw: TSM:READY:ID=0,PAR=0,DIS=0
                        mysgw: MCO:REG:NOT NEEDED
                        mysgw: Listening for connections on 0.0.0.0:5003
                        mysgw: MCO:BGN:STP
                        mysgw: MCO:BGN:INIT OK,TSP=1
                        mysgw: TSF:MSG:READ,3-3-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
                        mysgw: TSF:MSG:BC
                        mysgw: TSF:MSG:FPAR REQ,ID=3
                        mysgw: TSF:CKU:OK,FCTRL
                        mysgw: TSF:MSG:GWL OK
                        mysgw: !TSF:MSG:SEND,0-0-3-3,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0

                        Log on Node like this
                        0 MCO:BGN:INIT NODE,CP=RNNNA--,VER=2.1.1
                        3 TSM:INIT
                        4 TSF:WUR:MS=0
                        11 TSM:INIT:TSP OK
                        13 TSM:INIT:STATID=3
                        14 TSF:SID:OK,ID=3
                        16 TSM:FPAR
                        52 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                        2059 !TSM:FPAR:NO REPLY
                        2061 TSM:FPAR
                        2097 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                        4104 !TSM:FPAR:NO REPLY
                        4106 TSM:FPAR
                        4142 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                        6149 !TSM:FPAR:NO REPLY
                        6151 TSM:FPAR
                        6187 TSF:MSG:SEND,3-3-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
                        8194 !TSM:FPAR:FAIL
                        8195 TSM:FAIL:CNT=1
                        8197 TSM:FAIL:PDT

                        From my basic understanding it looks like the GW dont responding in the correct way or the node dont like the awnser. Anyone with more experince out there that can give me some ideas how to fix this.
                        Thx
                        /Håkan

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

                          The gateway is replying but node is not receiving. Where are you getting power for your nrf24 radio on the rpi? Are you using a capacitor ? size?

                          keldandorinK 1 Reply Last reply
                          0
                          • gohanG gohan

                            The gateway is replying but node is not receiving. Where are you getting power for your nrf24 radio on the rpi? Are you using a capacitor ? size?

                            keldandorinK Offline
                            keldandorinK Offline
                            keldandorin
                            wrote on last edited by
                            #22

                            @gohan taking power from 3v3 pin number 1 an using capasitor that is 10uF

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

                              Other users reported a similar problem and they solved by using something like this (that's the one I have on my rpi) or any other similar voltage regulator + capacitor

                              keldandorinK 1 Reply Last reply
                              0
                              • gohanG gohan

                                Other users reported a similar problem and they solved by using something like this (that's the one I have on my rpi) or any other similar voltage regulator + capacitor

                                keldandorinK Offline
                                keldandorinK Offline
                                keldandorin
                                wrote on last edited by
                                #24

                                @gohan had it running now for a cuple of hours and sudenly it registerd. No luck efter reboot though. Guess I have to order one of them Voltage regulators/capacitors....realy wish I hade one now in my Man Cave :joy:

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

                                  I ordered them by mistake some time ago, but they turned out to be very useful 😂

                                  keldandorinK 2 Replies Last reply
                                  0
                                  • gohanG gohan

                                    I ordered them by mistake some time ago, but they turned out to be very useful 😂

                                    keldandorinK Offline
                                    keldandorinK Offline
                                    keldandorin
                                    wrote on last edited by
                                    #26

                                    @gohan had it running again for some time and at message1890739 It got connected again and seems to be able to send message to GW. But as you say its the GW sending part that dosent seems to work.

                                    1890739 TSM:FPAR:OK
                                    1890740 TSM:ID
                                    1890742 TSM:ID:OK
                                    1890744 TSM:UPL
                                    1890749 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                    1892756 TSM:UPL
                                    1892761 TSF:MSG:SEND,3-3-0-0,s=255,c=3,t=24,pt=1,l=1,sg=0,ft=0,st=OK:1
                                    1892768 TSF:MSG:READ,0-0-3,s=255,c=3,t=25,pt=1,l=1,sg=0:1
                                    1892773 TSF:MSG:PONG RECV,HP=1
                                    1892776 TSM:UPL:OK

                                    1 Reply Last reply
                                    0
                                    • gohanG gohan

                                      I ordered them by mistake some time ago, but they turned out to be very useful 😂

                                      keldandorinK Offline
                                      keldandorinK Offline
                                      keldandorin
                                      wrote on last edited by
                                      #27

                                      @gohan You think one of this could solv it to.
                                      http://www.ebay.com/itm/10pcs-LM350-LM350T-3A-Adjustable-Voltage-Regulator-TO-220-NS-/270934993534?hash=item3f14fbea7e:m:m1teKyPPDfS02DlKXI_oD1g

                                      Using 5v as output insted and regulat it down to 3.3 v and capasitator on that.

                                      Got them in local store :)

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

                                        I suggested those modules because you can quickly swap the radio module, but that may work too. Pls post back your results

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


                                        27

                                        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