Place to put your Basic demos and examples

Moderator: Mmiscool

User avatar
By ardhuru
#65438
Pierre wrote:The only disadvantage is that I need to change the times in the code when I want to change the switch on or off times.
Regards
Pierrre


Or, you could create a data file holding those constants, which your main code reads for the values. Lesser chances of you inadvertently (mis)editing the code.

That way, to change those values you merely edit the dat file.

Regards,

Anand
User avatar
By Pierre
#65547 Got it to work and it is reasonable stable, mainly by reducing the number of info displayed on the webpage with the advice from Electroguard . One more question, if anybody can help. It seems to be stable if only one device is connected to the ESP. It is not running in AP mode, but connected to a wifi hotspot in my house. The moment that a second connection is made from another device to the ESP, it falls over and you need to restart. Is this issue also related to unstable behaviour as discussed on the previous pages?