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. Need help with Raspberry Pi Gateway

Need help with Raspberry Pi Gateway

Scheduled Pinned Locked Moved Troubleshooting
5 Posts 2 Posters 1.5k 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.
  • G Offline
    G Offline
    GrantsPi
    wrote on last edited by
    #1

    I have 4 Nano/NRF24 sensor nodes with NODE-ID's defined in the sketches.
    They work just fine with a W5100 MQTT Gateway, all nodes are recognized and messages passed to the MQTT broker. However when I instead use a Raspberry Pi, configured as a MQTT gateway, only one of the nodes seems to be recognized. What do I need to do to have all nodes recognized (two sensor nodes have the same 105 NODE_ID)?

    mysgw: TSF:MSG:READ,105-105-0,s=133,c=1,t=37,pt=2,l=2,sg=0:3
    mysgw: Sending message on topic: my103gw-out/105/133/1/0/37
    mysgw: TSF:MSG:READ,105-105-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=105
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: !TSF:MSG:SEND,0-0-105-105,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    mysgw: TSF:MSG:READ,133-133-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=133
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: !TSF:MSG:SEND,0-0-133-133,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    mysgw: TSF:MSG:READ,132-132-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=132
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: !TSF:MSG:SEND,0-0-132-132,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    mysgw: TSF:MSG:READ,133-133-255,s=255,c=3,t=7,pt=0,l=0,sg=0:
    mysgw: TSF:MSG:BC
    mysgw: TSF:MSG:FPAR REQ,ID=133
    mysgw: TSF:CKU:OK,FCTRL
    mysgw: TSF:MSG:GWL OK
    mysgw: !TSF:MSG:SEND,0-0-133-133,s=255,c=3,t=8,pt=1,l=1,sg=0,ft=0,st=NACK:0
    mysgw: TSF:MSG:READ,105-105-0,s=134,c=1,t=0,pt=7,l=5,sg=0:18
    mysgw: Sending message on topic: my103gw-out/105/134/1/0/0
    
    1 Reply Last reply
    0
    • gohanG Offline
      gohanG Offline
      gohan
      Mod
      wrote on last edited by
      #2

      Nack messages mean that it didn't get a response usually due to signal problems or insufficient power. How do you power the nrf24 on the rpi? What cap did you use on the radio?

      G 1 Reply Last reply
      0
      • gohanG gohan

        Nack messages mean that it didn't get a response usually due to signal problems or insufficient power. How do you power the nrf24 on the rpi? What cap did you use on the radio?

        G Offline
        G Offline
        GrantsPi
        wrote on last edited by
        #3

        @gohan Thank you! The RPI is powered from the USB port on my ASUS router (I had powered it from a 2.5 amp USB source in the past with no change in result). However, I had been using the NRF24L01 with the antenna; I changed the radio to a NRF24L01+ and -- success! So it must be a power issue after all. I have used the antenna version on the sensors in the past with no problems. I haven't used capacitors yet, I'll try those soon. But for the moment, I'm back in operation.
        Thank you!

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

          If you are using the 3.3v from rpi gpio you would normally need a capacitor and when using the PA radio you would normally use the 5v plus a voltage regulator, since gpio pins usually can't provide enough current

          G 1 Reply Last reply
          0
          • gohanG gohan

            If you are using the 3.3v from rpi gpio you would normally need a capacitor and when using the PA radio you would normally use the 5v plus a voltage regulator, since gpio pins usually can't provide enough current

            G Offline
            G Offline
            GrantsPi
            wrote on last edited by
            #5

            @gohan I missed the * in the wiring of the PA radio and wired it to the GPIO 3.3V pin; I had assumed that since the gateway was getting the one node solidly/all the time and the other nodes not at all, there must have been an issue other than power. I must say, the power issue is mentioned often enough on MySensors.org that I should have tried that solution a long time ago.
            Thanks again.

            1 Reply Last reply
            1

            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


            14

            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