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. ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min

ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min

Scheduled Pinned Locked Moved Troubleshooting
14 Posts 5 Posters 122 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.
  • TRS-80T Offline
    TRS-80T Offline
    TRS-80
    wrote on last edited by
    #3

    Someone else was having some problems also with similar hardware (ESP8266 + RFM69) recently, I don't know yet whether those problems are related or not, just cross posting in case this turns into some sort of investigation.

    I don't use this hardware, but I will try to assist nonetheless.

    First things to check are the basics:

    1. Sufficient / reliable power supply?
    2. What changed in the meantime?
    S 1 Reply Last reply
    0
    • TRS-80T TRS-80

      Someone else was having some problems also with similar hardware (ESP8266 + RFM69) recently, I don't know yet whether those problems are related or not, just cross posting in case this turns into some sort of investigation.

      I don't use this hardware, but I will try to assist nonetheless.

      First things to check are the basics:

      1. Sufficient / reliable power supply?
      2. What changed in the meantime?
      S Offline
      S Offline
      Stefan_NE
      wrote on last edited by
      #4

      Hi,
      the problem was instantaneous. Power supply, ESp hardware, antenna I have renewed. All nodes ( which were possible ) rebooted. What helped was to reduce the traffic to the gate. The reboots are less but not gone.
      Meanwhile I tried the ESP32 instead of the ESP8266 ( big crap ), then a gateway with a Raspberry Pi ( I didn't think it through, only a new RFm 69 driver and the Radio ID I can't set )
      I think the project is really great, I have almost 60 Mysensors devices in use. The sensors work fine in almost every vesrion.
      A real problem is the stability of the ESP8266 Gateway. I started with NFR24, the range was too bad. Now RFM 69 range is great. I have two gateways in use. The problems with the gateway are real ... Bu..Sh.t.
      My controller runs on a VM so only LAN gateways work. Arduino and RFM69 with ethernet does not work with Soft Spi.Raspberry only new RFM69 driver.
      This leaves only ESP8266 and RFM69 ...
      Lets see what is comming up next.

      Have a nice day Stefan

      1 Reply Last reply
      1
      • OumuamuaO Offline
        OumuamuaO Offline
        Oumuamua
        wrote on last edited by
        #5

        Hi Stefan,

        I'm also facing a similar problem (here), but starting with the second sensor added (not 60 as you).

        Do you know what is the reset cause? Mine is rst cause:4, boot mode:(3,7)

        In my case I need to switch off all sensors and turn them on only after rebooting the gateway.

        Will follow this post to check if there is any help for me.

        Thanks,

        1 Reply Last reply
        0
        • S Offline
          S Offline
          Stefan_NE
          wrote on last edited by
          #6

          Hi,
          I don't have a solution yet. It's almost impossible to shut down all my sensors. What I can say for sure is that there is a lot of traffic on the gateway.
          My solution is to redesign the entire environment. I have built a gateway with a Raspberry Pi 3B and RFM69 (new driver) and I am moving the most important devices first. I adapted the code (new rfm69 driver and less traffic).
          During the last days I have done traffic test with very high load on the Pi, very stable.
          The first 15 devices are running on the new gateway today. So far very good.
          On the old gateway the error is still present without the 15 devices.
          I am curious with which device is disconnected from the ESP gateway the error will go.

          Have a nice Day Stefan

          TRS-80T 1 Reply Last reply
          1
          • S Offline
            S Offline
            Sasquatch
            wrote on last edited by Sasquatch
            #7

            Try adding 220-470uf capacitor across radio supply pins, had similar problem with my gateway(NodeMCU) and RFM69HW during node OTA firmware updates.

            You know you can map serial port to VM, right?

            OumuamuaO 1 Reply Last reply
            0
            • S Sasquatch

              Try adding 220-470uf capacitor across radio supply pins, had similar problem with my gateway(NodeMCU) and RFM69HW during node OTA firmware updates.

              You know you can map serial port to VM, right?

              OumuamuaO Offline
              OumuamuaO Offline
              Oumuamua
              wrote on last edited by
              #8

              @Sasquatch

              Hi Sasquatch,

              I'm new to mysensors and arduino and not an electrical engineer. Could you the scheme on how to add the capacitor? I really appreciate any "for dummy" explanation.

              Thanks!

              TRS-80T 1 Reply Last reply
              0
              • S Offline
                S Offline
                Sasquatch
                wrote on last edited by
                #9

                https://www.mysensors.org/uploads/57c1a2411730a6c715b6b1b0/image/RFM69.png
                Solder it between GND and 3v3 pins.
                sorry, can't find a picture on internet and can't take picture of mine atm.

                OumuamuaO 1 Reply Last reply
                0
                • S Sasquatch

                  https://www.mysensors.org/uploads/57c1a2411730a6c715b6b1b0/image/RFM69.png
                  Solder it between GND and 3v3 pins.
                  sorry, can't find a picture on internet and can't take picture of mine atm.

                  OumuamuaO Offline
                  OumuamuaO Offline
                  Oumuamua
                  wrote on last edited by
                  #10

                  @Sasquatch

                  Thanks! It helped!!

                  1 Reply Last reply
                  0
                  • OumuamuaO Oumuamua

                    @Sasquatch

                    Hi Sasquatch,

                    I'm new to mysensors and arduino and not an electrical engineer. Could you the scheme on how to add the capacitor? I really appreciate any "for dummy" explanation.

                    Thanks!

                    TRS-80T Offline
                    TRS-80T Offline
                    TRS-80
                    wrote on last edited by
                    #11

                    @Oumuamua said in ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min:

                    Could you the scheme on how to add the capacitor?

                    We got into pretty good discussion of capacitors in my evidence based testing thread. I had read a lot that one larger + one smaller cap actually works the best. I am no EE either, so I tested several different combinations, the results you can see there along with a very big close up picture I took of how to solder the caps onto the radio.

                    1 Reply Last reply
                    0
                    • S Stefan_NE

                      Hi,
                      I don't have a solution yet. It's almost impossible to shut down all my sensors. What I can say for sure is that there is a lot of traffic on the gateway.
                      My solution is to redesign the entire environment. I have built a gateway with a Raspberry Pi 3B and RFM69 (new driver) and I am moving the most important devices first. I adapted the code (new rfm69 driver and less traffic).
                      During the last days I have done traffic test with very high load on the Pi, very stable.
                      The first 15 devices are running on the new gateway today. So far very good.
                      On the old gateway the error is still present without the 15 devices.
                      I am curious with which device is disconnected from the ESP gateway the error will go.

                      Have a nice Day Stefan

                      TRS-80T Offline
                      TRS-80T Offline
                      TRS-80
                      wrote on last edited by
                      #12

                      @Stefan_NE said in ESP8266 Gateway (RFM69) Soft WDT reset every 5 - 10 min:

                      What I can say for sure is that there is a lot of traffic on the gateway...

                      It sounds to me like you are on the right track. Proceeding in an organized methodical fashion. I am sure you will get it sorted out this way. And thanks for sharing your progress in the meantime, it will likely help others later.

                      I am not even up to that many nodes myself yet either, so I'd be interested in anyone's feedback who is, because I do plan to have that many nodes (or more) "some day."

                      So I got wondering if there have already been any forum threads about large numbers of nodes, and I found this one where some "back of envelope" calculations stated that some thousands (actually 10s of thousands) of nodes were (at least theoretically) possible...

                      1 Reply Last reply
                      0
                      • S Offline
                        S Offline
                        Stefan_NE
                        wrote on last edited by
                        #13

                        Hi,

                        I have installed 2 new Gateway with a Raspberry Pi and RFM69. During the last days I have moved one device after the other to the new gateways. Of course I have adapted all devices with a new firmware. The two old ESP8266 gateways were in monitoring,. What I noticed was that the less devices and less traffic, the less reboots could be detected, regardless of the Mysensor version started at 1.5 to 2.32. . The new RPi gateways are running very cool so far. The best thing is that you can monitor everything, traffic to the LAN and traffic to the RFM69.

                        Have a nice day
                        Stefan

                        1 Reply Last reply
                        1
                        • S Offline
                          S Offline
                          Sasquatch
                          wrote on last edited by
                          #14

                          just a thought, since resets are happening under heavy trafffic:
                          What is your serial speed? 9600 could lead to buffer overflows under heavy traffic

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