Closed yiancar closed 2 years ago
Hi @yiancar
I've tested and everything is OK here. Be sure to use Arduino IDE to first familiarize yourself and to see if your board is OK.
Then moving on to PIO after all is well in Arduino IDE and you know what you're doing. Post question / issue next time in PIO Forum if the issue is only for PIO.
I'm closing the issue now.
Starting Async_ConfigOnDoubleReset_Multi using LittleFS on ESP32C3_DEV
ESPAsync_WiFiManager v1.13.0
ESP_DoubleResetDetector v1.3.1
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
[WM] * Add SSID = HueNet1 , PW = 12345678
Got ESP Self-Stored Credentials. Timeout 120s for Config Portal
[WM] LoadWiFiCfgFile
[WM] OK
[WM] stationIP = 192.168.2.232 , gatewayIP = 192.168.2.1
[WM] netMask = 255.255.255.0
[WM] dns1IP = 192.168.2.1 , dns2IP = 8.8.8.8
Got stored Credentials. Timeout 120s for Config Portal
LittleFS Flag read = 0xD0D01234
doubleResetDetected
Saving config file...
Saving config file OK
Open Config Portal without Timeout: Double Reset Detected
Starting configuration portal @ 192.168.4.1, SSID = ESP_DAA1DF7C, PWD = MyESP_DAA1DF7C
[WM] Connecting to new AP <====== Save
WiFi connected...yeey :)
[WM] * Add SSID = HueNet1 , PW = 12345678
[WM] * Add SSID = HueNet2 , PW = 12345678
[WM] SaveWiFiCfgFile
[WM] stationIP = 192.168.2.232 , gatewayIP = 192.168.2.1
[WM] netMask = 255.255.255.0
[WM] dns1IP = 192.168.2.1 , dns2IP = 8.8.8.8
[WM] OK
After waiting 0.00 secs more in setup(), connection result is connected. Local IP: 192.168.2.232
HHHH
The WiFi scanning is working and the SSIDs are shown
Starting Async_ConfigOnDoubleReset_Multi using LittleFS on ESP32C3_DEV
ESPAsync_WiFiManager v1.13.0
ESP_DoubleResetDetector v1.3.1
ESP Self-Stored: SSID = HueNet1, Pass = 12345678
[WM] * Add SSID = HueNet1 , PW = 12345678
Got ESP Self-Stored Credentials. Timeout 120s for Config Portal
[WM] LoadWiFiCfgFile
[WM] OK
[WM] stationIP = 192.168.2.232 , gatewayIP = 192.168.2.1
[WM] netMask = 255.255.255.0
[WM] dns1IP = 192.168.2.1 , dns2IP = 8.8.8.8
Got stored Credentials. Timeout 120s for Config Portal
LittleFS Flag read = 0xD0D04321
No doubleResetDetected
Saving config file...
Saving config file OK
ConnectMultiWiFi in setup
[WM] ConnectMultiWiFi with :
[WM] * Flash-stored Router_SSID = HueNet1 , Router_Pass = 12345678
[WM] * Add SSID = HueNet1 , PW = 12345678
[WM] Connecting MultiWifi...
[WM] WiFi connected after time: 1
[WM] SSID: HueNet1 ,RSSI= -24
[WM] Channel: 4 ,IP address: 192.168.2.232
After waiting 5.87 secs more in setup(), connection result is connected. Local IP: 192.168.2.232
HStop doubleResetDetecting
Saving config file...
Saving config file OK
Hello @khoih-prog thank you for taking a look. Is there a chance you can also test with PIO as well? I am trialing Arduino IDE right now
No, I don't have time to test and also am not interested in using PIO.
Good Luck,
Hello:) I have tried with the arduino IDE and the issue persists. If i open configportal and manually type the ssid/pass the module connects succesfully. If you have any other debug tips before I order another module please LMK
It seems there is some problem with your board (bad, fake, etc.) and only you can figure out by testing.
Try to modify
to
// Use from 0 to 4. Higher number, more debugging messages and memory usage.
#define _ESPASYNC_WIFIMGR_LOGLEVEL_ 4
then check to see what's happening.
It's better to order another board or boards from reliable / respected suppliers.
Post on Arduino or ESP32 Forum to see if someone got the same ESP32_C3 issue (WiFi, LittleFS, etc).
Describe the bug
I am using the Async_ConfigOnDoubleReset_Multi example on an ESP32C3. I have applied the patches etc. I can go into the config portal but I cannot see any scanned SSIDs. /scan page shows an empty array.
Steps to Reproduce
Patch the files for C3 Use the example.
Expected behavior
Scan page should not be empty.
Actual behavior
Scan page shows empty variable.
Debug and AT-command log (if applicable)
Information
Please ensure to specify the following
-PlatformIO