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] Repeater node causing Problems

[Solved] Repeater node causing Problems

Scheduled Pinned Locked Moved Troubleshooting
27 Posts 6 Posters 2.9k Views 5 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.
  • electrikE electrik

    @grumpazoid said in Repeater node causing Problems:

    The first link there is another thread of mine!

    Haha didn't see that.

    Regarding the power setting, is your regulator powerful enough? The standard Arduino regulators usually aren't...

    G Offline
    G Offline
    grumpazoid
    wrote on last edited by
    #18

    @electrik I tried it on its own 662K regulator and pretty sure I also tried direct 3.3V from my bench PSU. I'll maybe have one more go at that.

    Raspberry Pi 3B - Domoticz + Node Red
    Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
    Arduino Mega, RFLink 433Mhz
    Sonoff/ESP8266/Tasmota switches

    1 Reply Last reply
    0
    • G Offline
      G Offline
      grumpazoid
      wrote on last edited by
      #19

      I am pleased to say that I have finally got all my sensors and repeater up and running without errors - All battery reports are coming in every 1 or 2 minutes as per my sketch.

      The problems were definitely radio related.
      Here is what I have done to get it running error free.

      1. Start with all the sensors close to the gateway and see if there are any errors.
      2. I had one node that was powered with an LM2596 and dropped out after a few hours. Adding in a LC filter has fixed it. Strangely my ethernet gateway is also powered by a LM2596 but is running quite happily. That does however use an amplified NRF24 module on a breakout board.
      3. I powered up my repeater again and repositioned the sensors to where I wanted them. I have told the sensors closest to the repeater that they should use that as their parent node.
      4. It was unclear on MYSCONTROLLER, if the repeater was being used, but as soon as the repeater is powered down, sensors loose contact so I know it is working.
      5. My repeater radio is NRF24L01 with added wire antenna. Much improved range.

      Raspberry Pi 3B - Domoticz + Node Red
      Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
      Arduino Mega, RFLink 433Mhz
      Sonoff/ESP8266/Tasmota switches

      1 Reply Last reply
      1
      • G Offline
        G Offline
        grumpazoid
        wrote on last edited by
        #20

        Doh!!!!

        So I have done some more testing. I am still getting intermittent data loss. I get this even if I eliminate the repeater. Every few hours a message from a sensor does not get through. I have tried reading up on how to get the node to resend but there does not seem to be an easy documented way.

        This thread seems to sum it up.

        Raspberry Pi 3B - Domoticz + Node Red
        Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
        Arduino Mega, RFLink 433Mhz
        Sonoff/ESP8266/Tasmota switches

        1 Reply Last reply
        0
        • Sergio RiusS Offline
          Sergio RiusS Offline
          Sergio Rius
          wrote on last edited by Sergio Rius
          #21

          This lost message is sent isolated, or it is a part of several ones sent at the same time?
          I ask for this because if several messages are sent in a row this is is somewhat expected. You will find examples of "sleep between send"

          What also does make sense to me is that if happens at nodes, also should happen at the gateway.
          I've experienced nodes being dropped by the gateway when a section of the network powers up at the same time.

          How do you control your messages? Do you use only domoticz or are monitoring with myscontroller? (Take care with domoticz)

          G 1 Reply Last reply
          0
          • Sergio RiusS Sergio Rius

            This lost message is sent isolated, or it is a part of several ones sent at the same time?
            I ask for this because if several messages are sent in a row this is is somewhat expected. You will find examples of "sleep between send"

            What also does make sense to me is that if happens at nodes, also should happen at the gateway.
            I've experienced nodes being dropped by the gateway when a section of the network powers up at the same time.

            How do you control your messages? Do you use only domoticz or are monitoring with myscontroller? (Take care with domoticz)

            G Offline
            G Offline
            grumpazoid
            wrote on last edited by grumpazoid
            #22

            @sergio-rius Each node sends a battery voltage every 2 minutes. If the PIR is tripped then it wakes from sleep and sends PIR tripped and also the battery voltage.
            I currently have Domoticz set to send me an email if it does not receive the battery voltage. I have tried MYScontroller but not sure how I would monitor all those messages over a few days? Does Domoticz have issues?

            I have currently taken the repeater out of the equation and replaced the NRF24L01+PA+NLA on the gateway with a NRF24L01+. So far only 2 errors in 24 hours from the furthest away sensor. Have moved it closer for testing.

            Update - after 2 hours I got the first failed message. I can understand that nodes may try to send at the same time but there must be a way to keep retrying?

            Raspberry Pi 3B - Domoticz + Node Red
            Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
            Arduino Mega, RFLink 433Mhz
            Sonoff/ESP8266/Tasmota switches

            1 Reply Last reply
            0
            • F Offline
              F Offline
              flopp
              wrote on last edited by flopp
              #23

              I have had very strange errors and I don't know what I found out. :neutral_face:
              I had a repeater with a nRF24 PA+LNA working good for about 1 year, suddenly this repeater causing that the GW got hanged, no data was received from any nodes.
              I power off the repeater down, restarted GW and everything started to work normally.
              Last week I took time to solve the problem, it was still annoying me!!!
              Reprogram the same Arduino Nano and nRF with PA+LNA, worked for 2 days, then stopped.
              Same Arduino Nano but changed to nRF24 without PA+LNA, worked 1-2 days then stopped.
              Changed to Arduino UNO and nRF with PA+LNA, worked 2 days.
              Arduino UNO and nRF24 without PA+LNA worked 2 days.

              I was so frustrated and didn't had any idea. I had been running 2.3.0 on almost all my nodes, so I tried to change GW to version 2.3.1 and Repeater to version 2.3.1(Arduino UNO with nRF24 without PA+LNA) now it has worked for at least 1 week.

              My Arduino Nano is fake and UNO is genuine.

              Maybe you can get some help from this? :)

              G 1 Reply Last reply
              1
              • F flopp

                I have had very strange errors and I don't know what I found out. :neutral_face:
                I had a repeater with a nRF24 PA+LNA working good for about 1 year, suddenly this repeater causing that the GW got hanged, no data was received from any nodes.
                I power off the repeater down, restarted GW and everything started to work normally.
                Last week I took time to solve the problem, it was still annoying me!!!
                Reprogram the same Arduino Nano and nRF with PA+LNA, worked for 2 days, then stopped.
                Same Arduino Nano but changed to nRF24 without PA+LNA, worked 1-2 days then stopped.
                Changed to Arduino UNO and nRF with PA+LNA, worked 2 days.
                Arduino UNO and nRF24 without PA+LNA worked 2 days.

                I was so frustrated and didn't had any idea. I had been running 2.3.0 on almost all my nodes, so I tried to change GW to version 2.3.1 and Repeater to version 2.3.1(Arduino UNO with nRF24 without PA+LNA) now it has worked for at least 1 week.

                My Arduino Nano is fake and UNO is genuine.

                Maybe you can get some help from this? :)

                G Offline
                G Offline
                grumpazoid
                wrote on last edited by
                #24

                @flopp As far as I know everything is running on 2.3.1
                I now have all my nodes very close to the gateway. Will keep testing for a few days.

                Raspberry Pi 3B - Domoticz + Node Red
                Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                Arduino Mega, RFLink 433Mhz
                Sonoff/ESP8266/Tasmota switches

                1 Reply Last reply
                0
                • G Offline
                  G Offline
                  grumpazoid
                  wrote on last edited by
                  #25

                  So after some considerable time and loss of sanity I now appear to have a stable setup. I'd like to share what I have done in the hope it may save others a lot of time and frustration.

                  By enabling debug in the sketches, I eventually realised that I could not get any node to communicate reliably with the gateway. I was getting lots of NACKS even at short distances.

                  I was sure that the problems were radio related but after trying many NRF24 modules I was about to give up.

                  Then I read a post somewhere about ground planes.

                  As a last resort I added a piece of aluminium between my gateway antenna and the radio. (PA/LNA Version). Eureka!! This has pretty much solved the NACK issues.
                  alt text

                  Following this one or two nodes still intermittently lost contact after a few hours or days. What is strange is that even if moved close to the gateway, errors continue until the gateway is power cycled? I still don't know why this is.

                  I solved this problem by converting the Node PCB antennas into a dipole antenna as detailed at https://www.instructables.com/id/Enhanced-NRF24L01/.
                  Now all nodes stay connected.
                  Now after a couple more weeks of testing all is still good.

                  I am using Domoticz with the MQTT output passed onto Node Red and now have some really cool things going on.

                  A big thanks to all that replied and pointed me in the right direction.

                  Raspberry Pi 3B - Domoticz + Node Red
                  Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                  Arduino Mega, RFLink 433Mhz
                  Sonoff/ESP8266/Tasmota switches

                  1 Reply Last reply
                  3
                  • electrikE Offline
                    electrikE Offline
                    electrik
                    wrote on last edited by
                    #26

                    Good to hear it is working good now. About the aluminium piece, this is mounted over the antenna connector and connected to ground?

                    G 1 Reply Last reply
                    0
                    • electrikE electrik

                      Good to hear it is working good now. About the aluminium piece, this is mounted over the antenna connector and connected to ground?

                      G Offline
                      G Offline
                      grumpazoid
                      wrote on last edited by
                      #27

                      @electrik Yes, I drilled a 6.5mm hole, just big enough for the SMA connector to fit through and then screwed the antenna back on. Because the plate sits inbetween the radio and antenna, and touches the outside of the SMA, it is connected to ground.

                      Raspberry Pi 3B - Domoticz + Node Red
                      Arduino Pro Mini 3.3V - W5100 Ethernet, Nrf24
                      Arduino Mega, RFLink 433Mhz
                      Sonoff/ESP8266/Tasmota switches

                      1 Reply Last reply
                      1
                      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