-
Notifications
You must be signed in to change notification settings - Fork 26
WIFI_SSID & WIFI_PASSWORD never used #11
Comments
Wifi must be configured via Web UI, not via |
Well, if wifi is not connected I cannot use the web interface... |
The device functions as a Wifi Station, so it should be visible to you as a Hot Spot so you can connect to it. |
@kargeor I went through the same dilemma as you. I don't know if we got the same problem but here is mine. I flashed the controller without uploading the files in the data directory to ESP, that way it starts as an AP but does not load the web interface. So, I opened the plataformio CLI and run the "pio run -t uploadfs" inside the data folder. |
@PnMagalhaes The issue can be two-fold: Either the SPIFFS partition wasn't initialized properly, or the bug I've encountered with the async server implementation. |
For an actual solution to this, the samplewificonfig.h file should be removed and it may be possible to add a "default" wifi credentials in the config.json file as a simple solution. The documentation should also be updated (working on that in my fork) alternately, adding |
Editing data/config.json with a wifi network before uploading spiffs seems to work well.
|
Never connects to wifi.
The text was updated successfully, but these errors were encountered: