petricf
petricf
Tested - used example customOptions. Renamed option box. Code inserted after: > // Try to connect to WiFi (will start AP if not connected after timeout) > if (!server->startWiFi(10000)) {...
Code added: > Serial.printf("removing %s", server->getConfiFileName()); > if (LittleFS.remove(server->getConfiFileName())) > { > Serial.println("restarting ..."); > ESP.restart(); > } The console output: > 11:51:45.567 -> removing /config/config.jsonrestarting ... > 11:51:45.696 ->...
The values in the config seems to be ok. An reload request under "My Options" displays the additional option "Speaker state" i've added: > 16:37:15.512 -> This are the current...
Ok, i took an other PC never used to display this page. Here the output is as requested - everything ok. So it seems to be a browser cache issue....
I may be wrong - i got the impression that websockets may help here.
I have some experience in C++ coding and a little bit html knowledge. Maybe i could implement the request above. I had a look at your code it seem that...
Hardcoding the WLAN-credentials in the sketch skips the captive portal. Now i got the test screen.
After removing all occurences of dnsserver from the sketch the demo sketch works. At least gui example exhibits the same problem. Could mDNS be a better solution ?
Here it is (attached), renamed to *.txt because *.ino can not be attached here. I've added an additional option "Speaker active". [customOptions.txt](https://github.com/user-attachments/files/20927919/customOptions.txt)
It seems to be the same problem origin as stated in issue #64 i created. I placed a comment there. willi-uce put me on the right track. Shift-Reload in firefox...