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. My weather station starts dropping packet after 1 week of use...

My weather station starts dropping packet after 1 week of use...

Scheduled Pinned Locked Moved Troubleshooting
22 Posts 3 Posters 5.3k 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.
  • sundberg84S sundberg84

    If you get st:fail but still receives the message in the gateway - it might be something wrong with the receiving node/gateway radio?
    It would be a good thing to debug the serial on both node and receiving node i think... if you miss that ack from the gateway, the node will start to find a new parent and maybe thats why you miss packets.

    D Offline
    D Offline
    doblanch
    wrote on last edited by doblanch
    #5

    @hek Nope, I don't have any microwave running when I have some drops.
    I don't have microwave oven at home. Just a TV. It was shutdown during events.
    Th eweird thing, is that it doesn't work for 15 minutes. I loss 3 rows (3X10 messages) with 5 minutes interval.
    It means that's the issue happens for a while. After, this event, everything runs correctly.
    During the event, I have another sensors ( 5 sensors sensebender) which send correctly a packet. It means that issue is not on GW. And anyway, I don't have issue with GW.
    I have a big ceiling to pass through. On GW and sensor, I use 7db antenna.
    I don't understand why it works for 6 days, and stop suddenly for 15 minutes !

    @sundberg84 . I forgot to mention, that the route is enforced to 0. There is then, no computation of route, and the route is direct. When I have st=fail, my packet doesn't arrive to my GW, as my value doesn't appear my controller. I use a Serial GW, if my packet doesn't arrive to my controller, I can not check more. As the problem happens suddenly, I can put a sniffer in the air also.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #6

      Strange.. A millis() wrap issue should have the frequency of ~50 days...

      Most likely @sundberg84 is right. Somehow the node misses a few transmissions in a row and starts looking for a new route to gateway. It will retry search every time you make a new transmission (every 5 minute?).

      1 Reply Last reply
      0
      • hekH Offline
        hekH Offline
        hek
        Admin
        wrote on last edited by
        #7

        What controller are you running? Could the issue be between gw/controller?

        D 2 Replies Last reply
        0
        • D Offline
          D Offline
          doblanch
          wrote on last edited by
          #8

          @hek, as explained in the previous post, I enforced the next hop (GW).. so, it shouldn't used another route ?
          gw.begin(NULL, 102, false, 0);
          here is my config.

          1 Reply Last reply
          0
          • hekH hek

            What controller are you running? Could the issue be between gw/controller?

            D Offline
            D Offline
            doblanch
            wrote on last edited by doblanch
            #9

            @hek said:
            I looked in the other sensors (sensebender at the same time). I have 5 sensebender, and there is no drop at this time. Packets are received every 5 minutes during this period. So, I don't expect a freeze of the GW.
            I use JEEDOM.
            I don't expect issue between GW and Controller ... but it can be a lead.
            it difficult to troubleshoot controller. Because it's a serial GW, if packet doesn't arrive to the controller, I can not check at the GW level, as there is no way to connect.

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #10

              Agree with you. Very strange. Especially when you use a direct route to gw.

              D 1 Reply Last reply
              0
              • hekH hek

                What controller are you running? Could the issue be between gw/controller?

                D Offline
                D Offline
                doblanch
                wrote on last edited by
                #11

                @hek "Could the issue be between gw/controller?" ... I have a st=fail so it shouldn't be between controller and GW ?

                1 Reply Last reply
                0
                • hekH hek

                  Agree with you. Very strange. Especially when you use a direct route to gw.

                  D Offline
                  D Offline
                  doblanch
                  wrote on last edited by doblanch
                  #12

                  @hek said:

                  Agree with you. Very strange. Especially when you use a direct route to gw.

                  the strange thing : I receive alsmost 19000 messages without issue.
                  When it happens for the first time, the issues are more and more frequent.
                  the NRF PA LNA provided by ITEAD should be good, no ? Which PA LNA are you recommending ?
                  One more thing, when problem happens, and recover, I tried to make a reboot from my controller, and the WS is not longer communicating. I have to power down/up to recover

                  1 Reply Last reply
                  0
                  • hekH Offline
                    hekH Offline
                    hek
                    Admin
                    wrote on last edited by
                    #13

                    I don't have super much experience with the Mega2650.. The only thing I've noticed with the one I got is that the 3v3 power rail is really bad. So I got really strange issues when trying to power radio from it. Had to use a step down from 5V and decouple it.

                    Would it be hard to test your setup on a vanilla radio? Or is the distance too far?

                    D 1 Reply Last reply
                    0
                    • hekH hek

                      I don't have super much experience with the Mega2650.. The only thing I've noticed with the one I got is that the 3v3 power rail is really bad. So I got really strange issues when trying to power radio from it. Had to use a step down from 5V and decouple it.

                      Would it be hard to test your setup on a vanilla radio? Or is the distance too far?

                      D Offline
                      D Offline
                      doblanch
                      wrote on last edited by doblanch
                      #14

                      @hek My antenna is powered externally directly in 3.3V with 4.7uF...
                      What is vanilla radio ? distance is 5m, but a big ceiling is in between...

                      0_1454321242150_Capture d’écran 2016-02-01 à 11.02.56.png

                      1 Reply Last reply
                      0
                      • hekH Offline
                        hekH Offline
                        hek
                        Admin
                        wrote on last edited by
                        #15

                        @doblanch said:

                        What is vanilla radio ?

                        One of these:
                        http://www.ebay.com/itm/170819069271?rmvSB=true

                        D 1 Reply Last reply
                        0
                        • hekH hek

                          @doblanch said:

                          What is vanilla radio ?

                          One of these:
                          http://www.ebay.com/itm/170819069271?rmvSB=true

                          D Offline
                          D Offline
                          doblanch
                          wrote on last edited by doblanch
                          #16

                          @hek ok :-) Yes of course, I tried, it doesn't work...ceiling is really too thick !
                          12H03 - 12H23 We can see clearly the drops... :-( and I have st=fail.
                          I resend packet based on st=fail, but resend is dropped also

                          1 Reply Last reply
                          0
                          • sundberg84S Offline
                            sundberg84S Offline
                            sundberg84
                            Hardware Contributor
                            wrote on last edited by
                            #17

                            I think it will try to find parent even though you have it set to 0 (if it fails).
                            I might be wrong, but this is something i notised in an older version.

                            Controller: Proxmox VM - Home Assistant
                            MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                            MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                            RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                            D 1 Reply Last reply
                            0
                            • sundberg84S sundberg84

                              I think it will try to find parent even though you have it set to 0 (if it fails).
                              I might be wrong, but this is something i notised in an older version.

                              D Offline
                              D Offline
                              doblanch
                              wrote on last edited by doblanch
                              #18

                              @sundberg84 I use the last version (I guess nov 2015).
                              @hek it can be the case ? trying to use another route.
                              There is no other route available normally. I have disable repeater mode on all powered sensor.
                              Could it be a bad NRF24 ? is there a brand well-kwown really trusted ?

                              1 Reply Last reply
                              0
                              • hekH Offline
                                hekH Offline
                                hek
                                Admin
                                wrote on last edited by
                                #19

                                I don't think it should search...
                                https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.cpp#L463

                                But you might wanna try the development branch anyway to see if you notice any difference.

                                D 1 Reply Last reply
                                0
                                • hekH hek

                                  I don't think it should search...
                                  https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.cpp#L463

                                  But you might wanna try the development branch anyway to see if you notice any difference.

                                  D Offline
                                  D Offline
                                  doblanch
                                  wrote on last edited by
                                  #20

                                  @hek

                                  @hek said:

                                  I don't think it should search...
                                  https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.cpp#L463

                                  But you might wanna try the development branch anyway to see if you notice any difference.

                                  I can try at the next occurence... as I have no more idea... I think that code is clean, and problem is rather on the NRF. Maybe a starvation of something after a while, I don't know. difficult to say.
                                  btw, you didn't answer my question, is there a trusted NRF/PA/LNA seller, with a tested NRF24 tested by you, and working at it should ?

                                  1 Reply Last reply
                                  0
                                  • hekH Offline
                                    hekH Offline
                                    hek
                                    Admin
                                    wrote on last edited by
                                    #21

                                    @doblanch said:

                                    btw, you didn't answer my question, is there a trusted NRF/PA/LNA seller,

                                    I cannot make any guarantees. But ITead should sell the genuine thing.

                                    D 1 Reply Last reply
                                    0
                                    • hekH hek

                                      @doblanch said:

                                      btw, you didn't answer my question, is there a trusted NRF/PA/LNA seller,

                                      I cannot make any guarantees. But ITead should sell the genuine thing.

                                      D Offline
                                      D Offline
                                      doblanch
                                      wrote on last edited by doblanch
                                      #22

                                      @hek said:

                                      @doblanch said:

                                      btw, you didn't answer my question, is there a trusted NRF/PA/LNA seller,

                                      I cannot make any guarantees. But ITead should sell the genuine thing.

                                      it was my assumption too ...
                                      If I enable debug, will it provide me more info about communication ?

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