the idea is to let power stabilise for a little longer before hardware initialisation, this seems to help with some setups that have issues with wifi not connecting at bootup. On two of my setups that have issues with wifi at boot, this helps. It looks like you picked the wrong branch...
The delay is not the cleanest solution, it would be better to check the state of the wifi hardware but I have no idea what to check. Walkthrough The modification in this change introduces a 5-millisecond delay in theWLED::initConnection()method of thewled00/wled.cppfile immediately after ...
I want to note that this is not just about AP mode; it's also a problem in station mode if the AP/Router is not internet connected. I use a separate AP/router for displays, for security and non-interference between lighting controls and normal WiFi internet access. I cannot use /edit...
DEBUG_PRINT(F("Connecting to ")); DEBUG_PRINT(clientSSID); DEBUG_PRINTLN("..."); // convert the "serverDescription" into a valid DNS hostname (alphanumeric) char hostname[25]; prepareHostname(hostname); #ifdef ESP8266 WiFi.hostname(hostname); #endif if (WLED_WIFI_CONFIGURED) { DEB...
userSetup()is called after loading settings but before connecting to WiFi. Use it to start own interfaces if it does not depend on WiFi (IR, Sensors, GPIOs,...). Also you can use it to load custom settings or to specify own server pages with theserver.on()method. ...