I hope I did not miss the topic if there was already one about my porblem but I could not find any.
my goal is to run a webserver on my ESP-01. The problem is that the ESP keeps changing the IP after every request.
It seems like the ESP disconnects and reconnects after finishing a request. I added
Serial.print("eventCallback: ");
Serial.println(event->event);
eventCallback: 1
eventCallback: 0
According to user_interface.h that means the ESP disconnects and reconnects.
I know I could try to use static IPs, but I don't want to set static IPs as they are no suitable solution for me, so please don't suggest it. The reason is, that I plan to use more ESPs in different environments. One (or more) should be used at work, where I can NOT use static IPs.
Has anyone gotten similar problems or maybe a clue what's going on? Or can somebody tell me how to tell the ESP not to disconnect from my AP after finishing a request?