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