letscontrolit / ESPEasy

Easy MultiSensor device based on ESP8266/ESP32
http://www.espeasy.com
Other
3.26k stars 2.21k forks source link

Restarts due to notification LED [mega-20180809] #1642

Closed Spohky closed 4 years ago

Spohky commented 6 years ago

Hello everybody,

Today I wanted to test my Nextion Display and tested the "Dev" and "Test" versions. The ESP8266 will work for a few minutes and then it will restart forever. I also tested it with the normal version, so that's the same problem. I also tested 4 more ESP chips. With the version go my ESP chips: mega-20180324

Serial I get the following return: ` ets Jan 8 2013,rst cause:4, boot mode:(3,6)

wdt reset load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v614f7c32 ~ld ▒U107 :

INIT : Booting version: mega-20180809 (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3) 108 : INIT : Warm boot #75 - Restart Reason: Power on 112 : FS : Mounting... 119 : FS : Mount successful, used 75802 bytes of 113201 546 : CRC : program checksum ...OK 556 : CRC : SecuritySettings CRC ...OK 576 : INIT : Free RAM:21152 577 : INIT : I2C 577 : INIT : SPI not enabled 588 : NEXTION075 : serial pin config RX:14, TX:12, Plugin Enabled 588 : NEXTION075 : Using software serial 600 : INFO : Plugins: 71 [Normal] [Testing] (ESP82xx Core 2_4_1, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3) 601 : EVENT: System#Wake 606 : WIFI : Set WiFi to STA 639 : WIFI : Connecting NicWiFi attempt #0 653 : EVENT: System#Boot`

I hope you can help me. Greetings Spohky

TD-er commented 6 years ago

It looks like the issues reported in this issue: https://github.com/letscontrolit/ESPEasy/issues/1625

Only thing is that it resets due to watchdog timer reset, but the restart reason is: "Power on". Are you sure the power supply is sufficient?

What plugins and controllers do you have active? And a test, could you disable serial log?

Spohky commented 6 years ago

I use either no plugins or only the Nextion plugin, both try the same problem. But I activate in the tools> Advanced> "Rules" and "Use NTP" (0.de.pool.ntp.org).

The power supply provides 2A, here should not be the problem.

Do you mean to change "Serial log Level" from "Info" to "None"?

edit: And I use OpenHAB MQTT.

TD-er commented 6 years ago

Yep indeed serial log level to "none". And OpenHAB MQTT, sounds really like a duplicate of issue #1625 If you agree, please close this issue.

Spohky commented 6 years ago

Well, I have tested this with my ESP8266, if I use "mega-20180324" then my ESP chips will work. If I use one of the more recent versions (August), then it is only enough if I restart the ESP after successful WiFi connection. Then he always starts again.

Serial Log is already stored as "none". I did not set up the ESP, I just programmed it, connected to WiFi and then restarted.

TD-er commented 6 years ago

Hmm, is the Nextion connected to the ESP?

And are you running nightly builds, or do you build your own? Could you please build it twice, if running own builds?

Spohky commented 6 years ago

I do not build it myself, I use it from: https://github.com/letscontrolit/ESPEasy/releases

I have tried the "Dev", "Test" and "Normal" version of: 8.9. // 04.08. // 02.08. tries.

The Nextion is currently not connected, I use a wemos d1.

Spohky commented 6 years ago

So, I have tested it once individually. Always changed something and then restarted the ESP.

I noticed now, as soon as I put under "Hardware"> "Wifi Status LED" on "GPIO-2", then the ESP does not start anymore.

I did not do it and test if it works.

Spohky commented 6 years ago

Since I left the "Wifi Status LED" on "none" it works without problems. In addition, I also use "OpenHAB MQTT" without problems.