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. Secondary ESP8266 gateway

Secondary ESP8266 gateway

Scheduled Pinned Locked Moved Troubleshooting
12 Posts 2 Posters 2.6k Views 3 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.
  • ThucarT Offline
    ThucarT Offline
    Thucar
    wrote on last edited by
    #1

    I'm working on a beehive sensor set and I've ran into some serious range issues. The hive is not too far - maybe 30m from the house, but the signal has to go through the house diagonally, cutting across 2 thick concrete walls. I've been unable to get either the regular nrf24l01+ or the nrf24l01+ PA LNA versions to work. Tried the nrf24l01+ dipole antenna mod as well as an external 6DBi antenna on the PA LNA version.

    On a whim I decided to test ESP8266 wifi reception at the beehive - and lo and behold it works perfectly fine. I guess the wifi router is just that much more powerful.

    So I replaced the Pro mini and nrf24l01+ combo with a single ESP8266 and got a solid connection. However now I'm facing two problems/questions.

      1. I now have two gateways instead of one. While it's not really a big deal I was wondering if there was any way to combine the two? My primary gateway is a serialGW managed by MYSController
      1. The beehive sensor is a solar powered one. So I really do not like it being always active and connected to the wifi. I'm seeing UDP slave options in the settings but have yet to be able to make it work. However if a connection to MYSController is dropped, it will not be picked up again when the gateway comes back online.

    I guess what most suite my needs here would be a MQTT broker I could connect to and push the sensor updates, but unfortunately my controller does not do MQTT and I'm in no hurry trying to build a connector for that.

    Any ideas/suggestions welcome. Is there an aspect of MySensors I'm overlooking or not considering?

    Controller: Node-Red
    Gateway: SerialGateway & GSMMQTTGateway
    MySensors: 2.2.0

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

      every esp8266 gateway is pretty much stand alone, the controller will manage data to and from the 2 networks. Have you thought to put a repeater in between the beehive and the gateway you have? It is quite odd that you can't get the PA LNA to work, unless there are other problems we don't know.

      1 Reply Last reply
      0
      • ThucarT Offline
        ThucarT Offline
        Thucar
        wrote on last edited by
        #3

        I'm finding it odd as well that PA LNA also fails to connect from that distance. I only had these two - one on the gateway and the other now on the hive sensor. The rest are all regular pcb antenna versions. I've ordered 5 more PA LNA versions just to be sure it's not a faulty radio.

        That means another month of waiting for them to arrive though...

        Controller: Node-Red
        Gateway: SerialGateway & GSMMQTTGateway
        MySensors: 2.2.0

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

          Maybe you could make a repeater using the PA LNA radio on the side of the house facing the beehive and use a regular nrf24 on the beehive node and see if you get any improvement

          1 Reply Last reply
          0
          • ThucarT Offline
            ThucarT Offline
            Thucar
            wrote on last edited by
            #5

            That's worth a shot. Tricky to get power out there but definitely worth trying.

            Controller: Node-Red
            Gateway: SerialGateway & GSMMQTTGateway
            MySensors: 2.2.0

            1 Reply Last reply
            0
            • ThucarT Offline
              ThucarT Offline
              Thucar
              wrote on last edited by
              #6

              Guess we can mark this one down to iffy PA/LNA modules. After verifying that a repeater solves the problem, I replaced both, the gateway and beehive sensor radios out for regular nrf24l01's. At first I had a repeater as well in between the two, but after making sure the communication was there, I disconnected the repeater.

              And lo and behold - the communication still works fine. So now I modified the gateway radio by cutting the pcb antenna trace and soldering in a SMA connector. Now I have a high DBi wireless antenna attached to the gateway and no more reception issues.

              Controller: Node-Red
              Gateway: SerialGateway & GSMMQTTGateway
              MySensors: 2.2.0

              1 Reply Last reply
              2
              • gohanG Offline
                gohanG Offline
                gohan
                Mod
                wrote on last edited by gohan
                #7

                Good you have solved. Can you post a picture of the PA LNA modules you were using?

                1 Reply Last reply
                0
                • ThucarT Offline
                  ThucarT Offline
                  Thucar
                  wrote on last edited by
                  #8

                  I was using these

                  I'll see if wrapping them in tin foil helps any.

                  Controller: Node-Red
                  Gateway: SerialGateway & GSMMQTTGateway
                  MySensors: 2.2.0

                  1 Reply Last reply
                  0
                  • ThucarT Offline
                    ThucarT Offline
                    Thucar
                    wrote on last edited by
                    #9

                    The tin foil wrap tip should definitely be mentioned on the radio page. That trick really works wonders. I used ventilation aluminum foil tape. The glue on it acts as insulation so no need to use food wrap. It's also thicker than regular food grade tin foil and it being a tape makes it super easy to use.

                    Controller: Node-Red
                    Gateway: SerialGateway & GSMMQTTGateway
                    MySensors: 2.2.0

                    1 Reply Last reply
                    2
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #10

                      that is why we normally suggest the shielded ones as they are a bit more expensive but they work better without mods. :)

                      1 Reply Last reply
                      0
                      • ThucarT Offline
                        ThucarT Offline
                        Thucar
                        wrote on last edited by
                        #11

                        Which shielded ones do you mean? I went and got all the radio gear from the MySensors Store page. Was looking for the best possible radios to use for the gateway and couple of my far-away sensors. The PA/LNA modules looked like the cream of the crop.

                        Controller: Node-Red
                        Gateway: SerialGateway & GSMMQTTGateway
                        MySensors: 2.2.0

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

                          https://www.aliexpress.com/item/E01-ML01DP5-Ebyte-2-4GHz-20dBm-2100m-nRF24L01-SPI-Wireless-transceiver-module/32638720689.html

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


                          19

                          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