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



  • Hello,

    my Gateway connected to FHEM was runnig fine, but now it Soft WDT reset comes up ervery 5 to 10 minutes.

    23:28:26.427 -> 47243 TSF:MSG:READ,59-59-0,s=97,c=1,t=47,pt=2,l=2,sg=0:-62
    23:28:34.556 -> 55377 GWT:TSA:C=0,CONNECTED
    23:28:34.605 -> 55427 GWT:RFC:C=0,MSG=0;0;3;0;2;
    23:29:06.330 -> 87131 TSF:MSG:READ,56-56-0,s=99,c=1,t=2,pt=1,l=1,sg=0:1
    23:29:06.377 -> 87215 TSF:MSG:READ,56-56-0,s=97,c=1,t=47,pt=1,l=1,sg=0:147
    23:29:07.533 -> 88331 TSF:MSG:READ,56-56-0,s=98,c=1,t=47,pt=1,l=1,sg=0:185
    23:29:13.186 -> 93993 GWT:RFC:C=0,MSG=53;1;1;1;2;1
    23:29:15.261 ->
    23:29:15.261 -> Soft WDT reset
    23:29:15.261 ->
    23:29:15.261 -> >>>stack>>>
    23:29:15.307 ->
    23:29:15.307 -> ctx: cont
    23:29:15.307 -> sp: 3ffffc80 end: 3fffffc0 offset: 01a0

    it looks like, if there are to much messages to repeat (Sensor Device powerd off e.g.) the gateway resets.
    09:49:14.768 -> 313389 !TSF:MSG:SEND,0-0-53-53,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:15.469 -> 314073 GWT:RFC:C=0,MSG=57;1;1;0;2;0
    09:49:16.725 -> 315331 !TSF:MSG:SEND,0-0-57-57,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:16.825 -> 315406 GWT:RFC:C=0,MSG=58;1;1;0;2;0
    09:49:18.074 -> 316665 !TSF:MSG:SEND,0-0-58-58,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:18.128 -> 316740 GWT:RFC:C=0,MSG=51;1;1;1;2;0
    09:49:19.376 -> 318000 !TSF:MSG:SEND,0-0-51-51,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:28.051 -> 326647 GWT:RFC:C=0,MSG=53;1;1;1;2;0
    09:49:29.299 -> 327917 !TSF:MSG:SEND,0-0-53-53,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:36.070 -> 334647 GWT:RFC:C=0,MSG=51;1;1;1;2;0
    09:49:37.319 -> 335926 !TSF:MSG:SEND,0-0-51-51,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0
    09:49:45.037 -> 343647 GWT:RFC:C=0,MSG=53;1;1;1;2;0
    09:49:46.493 -> 345105 !TSF:MSG:SEND,0-0-53-53,s=1,c=1,t=2,pt=0,l=1,sg=0,ft=0,st=NACK:0

    I have already checked with a second Gateway that there is no hardware defect. Both gateways same behavior.
    Myssensors is 2.3.2 ESP Lib is the newest.

    Does anybody know this problem ?

    Have a nice day
    Stefan



  • My loads up crash every once in a while and I don't have the foggiest idea why. After such accident the wd reset appears (boot mode:(1,6)), yet the board doesn't restart consequently. How might I make the sheets reset/restart naturally after a wdt reset?



  • 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?


  • 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



  • 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,



  • 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


Log in to reply
 

Suggested Topics

  • 3
  • 12
  • 1
  • 14
  • 5
  • 22
  • 2
  • 5

184
Online

9.5k
Users

10.1k
Topics

105.0k
Posts