ESP8266 wifi module problem

Helloooo friends,

I am putting one of the uncommon problem I am facing on ESP8266.
I have made my own home automation system consist of 3 switchboards using arduino Nano with the ESP 8266. The Wi-Fi modules are connected to the Wi-Fi router and I have binded the Mac IDs of 8266 to the IPs so they doesn't change and I am using HTML webpage for switching the devices.
The problems m facing is that if the internet is active in the router, anyone of the 8266 stops responding and when checked in the router the particular module IP address is not reflected in the client list. Rarely it happens that all the three modules doesn't respond simultaneously.I have tested and faced this same problem on different routers with different make and model.
I disconnected the internet and tested the system for 4 to 5 days and found it working very fine. Then I connected internet connection and within 12 hours the system started giving same problem. I don't know what is happening if there are any security settings in the router which is doing this.Please help because of that I am not able to operate the system from internet.

Regards,

Vivek

Hi Vivek. This sounds like a complex problem. The forum will need much detailed information to be able to understand how it is intended to work, before trying to understand why it sometimes does not work.

You could begin by posting code and schematics.

1 Like

If the issue you are having is the ESP8266 randomly stops responding over Wifi, this is an issue I struggled with for a long time.
In the end I found putting the below in Setup resolved this issue for me:

  // Stop wifi going to sleep 
    #if defined ESP8266
      WiFi.setSleepMode(WIFI_NONE_SLEEP);
    #elif defined ESP32
      WiFi.setSleep(false);
    #endif

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.