-->
Page 5 of 22

Re: ESP8266 with easy webconfig

PostPosted: Mon Jul 20, 2015 8:05 am
by proteus74
martinayotte wrote:Hi proteus74,

I've gave a try with you project but, unfortunately, I got the WDT issue right at the beginning, without even having the AP mode been available for Wifi clients.
I started debugging, and I found several flaws... :(
One of them is that if no configs exists, STA should not try to connect, and also, since there no STA yet, the NTPRefresh() calls in loop() should not be done.
I will dig a bit further in the following days ...


Hello Martinayotte,

normaly, when no config was applied to the esp, the esp takes the a "general" config and writes it to the eeprom (see in Main-Ino-File).
Which ESP are you using?

The NTPRefresh function checks, if the ESP is connected.

I've read a litte bit about the WDT issue.
    ets Jan 8 2013,rst cause:4, boot mode:(1,6)

It means, that there is a problem with the deep-sleep mode not with the program. This problem can happen, when the ESP don't get enough power.

Greetings,

Proteus74

Re: ESP8266 with easy webconfig

PostPosted: Mon Jul 20, 2015 9:27 am
by folny82
Hi

Nice project but there are still problems with the WDT code is also to me quite often resets itself I think it would be good somehow completely disable WDT and the problem would be solved. Today I tested this code and I've added it to support the FW Update via web interface I think it's a good thing the modified code is attached. Update Firmware box is in the main menu admin.htm.

Re: ESP8266 with easy webconfig

PostPosted: Mon Jul 20, 2015 9:37 am
by proteus74
folny82 wrote:Hi

Nice project but there are still problems with the WDT code is also to me quite often resets itself I think it would be good somehow completely disable WDT and the problem would be solved. Today I tested this code and I've added it to support the FW Update via web interface I think it's a good thing the modified code is attached. Update Firmware box is in the main menu admin.htm.


Hi folny82,

great thing. I will put it to the main distribution until tomorrow.

Re: ESP8266 with easy webconfig

PostPosted: Mon Jul 20, 2015 9:55 am
by folny82
Perhaps the code will still need tune but I worked well update over the web on my ESP-12E which has much more memory such as ESP-01