-
Notifications
You must be signed in to change notification settings - Fork 639
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't connect Access point #1631
Comments
I have try this evening and with 2.3 Core everything is OK on 1.13.2, but no access point appear with 1.13.4 and 1.13.6. |
Do you mean that you cannot connect to device's access point? |
Access point not appear on wifi list (nothing) with Core 2.5 and ESPurna 1.13.5 and DEV 1.13.6. |
@mcspr I have the same issues with 1.13.5 and a Sonoff Basic. The thing is not connecting after OTA update, can't easily test the actual problem, have to remove it from my fan first. |
For Sonoff Basic : I have compiled 1.13.2 with CORE 2.3 on 1.8.5 Arduino and everything is OK. |
Have you tried changing loop delay value? |
@mcspr very strange behaviour. I setup a node-red flow to notify me when it is connected to my network, that happened only once an hour. telnet was disabled, quickly enabled it and set the loopdelay and downgraded to 1.13.3 which works fine. thanks! |
Hi all, Same bahviour with a sonoff basic, I cannot connect to the AP. Release 1.13.6 downloaded today. [000830] [WIFI] Scanning Have you any workaround? Thanks! |
I have try with Arduino 1.8.8 and 1.8.5, library up to date and Core 2.3, 2.4, 2.4.2, 2.5 with 1.13.6 dev, 1.13.5, 1.13.3, 1.13.2 on Sonoff Basic.
The only version full OK is 1.13.2 with Core 1.3 and Arduino 1.8.5 with all library up to date. If somebody have old version 1.13.2/Arduino 1.8.5 (compile OK) with old library, is it possible to zip it and give a link ? The last serial monitor copy with version 1.13.6.dev, Core 2.3, last library, and Arduino 1.8.5
I just have duplicate ITEAD BASIC to ITEAD BASIC 2 for my second button.
|
@chryss44 Have you tried simply changing loop delay value?
either afaik that is the only difference major difference between versions. given some discussions from the esp8266/Arduino repo, I think what needs to be changed is place loop delay between each loop callback instead of a single one in the btw, from previous logs:
are you using 5v by any chance? sonoff power input is 3v3 |
Hello Max, |
I have try 1.13.6-dev Core 2.5 and 2.4.2, Arduino 1.8.5 and loop_delay 10 => No success AP activ on serial but not see in wifi list :-( The serial monitor
I have try 3.3 on my programmer, to program no problem but relay don't work on 3.3, only on 5v. |
I am having similar issue on my Sonoff Basic. However, I found that the behavior is different depending on the power source used. Using my 3.3V programmer as power source, the Sonoff Basic on 1.13.5 works properly independent of any loopDelay setting. I tried all values between 1ms and 10ms. Power level as reported over serial is 2975mV. I could not find any problems with the device while operating of programmer power. Using the mains as supply, when having a loopDelay of 1ms up to 4ms produces non-functioning wifi. Setting a loopDelay of 5ms up to 10ms always results in proper function. Power level as reported is 3225mV. I also observed that after having set the loopDelay to 3ms while on 3.3V programmer power, and switching to mains power, it successfully started and connected to wifi. After issuing a reset command via serial terminal, subsequent restart yielded the same failure again:
|
Hi all, I tried adding "#define LOOP_DELAY_TIME 10" into hardware.h. But the problem still persist. Following comments from @lamptah, I was using USB to power on the sonoff basic. I changed to 3.3V power supply and now it is possible to connect to AP, but sonoff basic, cannot connect to my WLAN. I'm really sure about I'm using the correct SSID and password... 😄 We are uploading the firmware with PlatformIO in a Mac. This is the serial information: [002987] [WIFI] Connecting to BSSID: 1C:B7:2C:82:EB:C0 CH: 11, RSSI: -30, SEC: WPA2, SSID: WLAN Not sure, but in other Espurna releases I could upload the firmware with the USB, then use the AP with the same USB connection and configure Espurna without problems. We will try to do in different ways to see if something changes, but I'm lost. Thanks! |
Problem have been result, if i use esptools like that : |
I have try to compile 1.13.3 and program it on Sonoff Basic with success (esptool).
I have just modified Hardware on Sonoff Basic to put another button.
When i reboot, everything is perfect on serial log except "[MDNS] Fail" and can't access AP with password :-(
Boot log
`[000161] [MAIN] ESPURNA 1.13.3
[000161] [MAIN] xose.perez@gmail.com
[000161] [MAIN] http://tinkerman.cat
[000162] [MAIN] CPU chip ID: 0x8B0103
[000164] [MAIN] CPU frequency: 80 MHz
[000167] [MAIN] SDK version: 3.0.0-dev(c0f7b44)
[000171] [MAIN] Core version: 2.5.0
[000174] [MAIN] Core revision: 2501570554
[000178]
[000179] [MAIN] Flash chip ID: 0x14405E
[000182] [MAIN] Flash speed: 40000000 Hz
[000186] [MAIN] Flash mode: DOUT
[000189]
[000190] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000197] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000204] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000211] [MAIN] Firmware size : 528048 bytes / 129 sectors ( 1 to 129)
[000218] [MAIN] Max OTA size : 495616 bytes / 121 sectors ( 130 to 250)
[000226] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000233] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000240]
[000241] [MAIN] EEPROM sectors: 251, 250
[000244] [MAIN] EEPROM current: 251
[000247]
[000248] [MAIN] EEPROM: 4096 bytes initially | 180 bytes used ( 4) | 3916 bytes free (95)
[000258] [MAIN] Heap : 43088 bytes initially | 5552 bytes used (12) | 37536 bytes free (87)
[000265] [MAIN] Stack : 4096 bytes initially | 1124 bytes used (27) | 2972 bytes free (72)
[000273]
[000274] [MAIN] Boot version: 31
[000277] [MAIN] Boot mode: 1
[000279] [MAIN] Last reset reason: Power on
[000283] [MAIN] Last reset info: flag: 0
[000286]
[000288] [MAIN] Board: ITEAD_SONOFF_BASIC_2
[000291] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000306] [MAIN] WebUI image: SMALL
[000309]
[000549] [MAIN] Firmware MD5: f4258c5dd6b170dfc84ba547f22f8a4b
[000550] [MAIN] Power: 4466 mV
[000551] [MAIN] Power saving delay value: 10 ms
[000551]
---8<-------
[000563] [TELNET] Listening on port 23
[000565] [WEBSERVER] Webserver running on port 80
[000569] [RELAY] Retrieving mask: 255
[000570] [RELAY] Relay #0 boot mode 0
[000571] [RELAY] Relay #1 boot mode 0
[000572] [RELAY] #0 set to OFF
[000574] [RELAY] #1 set to OFF
[000578] [RELAY] Number of relays: 2
[000580] [BUTTON] Number of buttons: 2
[000583] [LED] Number of leds: 1
[000586] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000600] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000614] [MAIN] Uptime: 0 seconds
[000615] [MAIN] Heap : 43088 bytes initially | 11936 bytes used (27) | 31152 bytes free (72)
[000617] [MAIN] Power: 4466 mV
[000638] [WIFI] Creating access point
[000700] [WIFI] Captive portal enabled
[000702] [WIFI] -------------------------------------- MODE AP
[000703] [WIFI] SSID ESPURNA-8B0103
[000703] [WIFI] PASS fibonacci
[000705] [WIFI] IP 192.168.4.1
[000708] [WIFI] MAC 6A:C6:3A:8B:01:03
[000711] [WIFI] ----------------------------------------------
[000717] [MDNS] FAIL
[001576] [RELAY] Setting relay mask: 0`
Ok, i decide to download official 1.13.5 Sonoff Basic and program it.
Reboot end have same problem
boot log
`[000178] [MAIN] ESPURNA 1.13.5 (83195fd)
[000178] [MAIN] xose.perez@gmail.com
[000179] [MAIN] http://tinkerman.cat
[000179] [MAIN] CPU chip ID: 0x8B0103
[000182] [MAIN] CPU frequency: 80 MHz
[000186] [MAIN] SDK version: 1.5.3(aec24ac9)
[000190] [MAIN] Core version: 2.3.0
[000193] [MAIN] Core revision: 159542381
[000196]
[000197] [MAIN] Flash chip ID: 0x14405E
[000201] [MAIN] Flash speed: 40000000 Hz
[000204] [MAIN] Flash mode: DOUT
[000207]
[000208] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000215] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000222] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000230] [MAIN] Firmware size : 473536 bytes / 116 sectors ( 1 to 116)
[000237] [MAIN] Max OTA size : 548864 bytes / 134 sectors ( 117 to 250)
[000244] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000251] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000258]
[000260] [MAIN] EEPROM sectors: 251, 250
[000263] [MAIN] EEPROM current: 251
[000266]
[000267] [MAIN] EEPROM: 4096 bytes initially | 225 bytes used ( 5%) | 3871 bytes free (94%)
[000276] [MAIN] Heap : 36136 bytes initially | 5328 bytes used (14%) | 30808 bytes free (85%)
[000284] [MAIN] Stack : 4096 bytes initially | 720 bytes used (17%) | 3376 bytes free (82%)
[000292]
[000293] [MAIN] Boot version: 31
[000296] [MAIN] Boot mode: 1
[000298] [MAIN] Last reset reason: Power on
[000302] [MAIN] Last reset info: flag: 0
[000305]
[000306] [MAIN] Board: ITEAD_SONOFF_BASIC
[000310] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000325] [MAIN] WebUI image: SMALL
[000328]
[000544] [MAIN] Firmware MD5: f0de0373a76d7960e0eb4e25d91dc0cf
[000544] [MAIN] Power: 4094 mV
[000545] [MAIN] Power saving delay value: 1 ms
[000545] [MAIN] WiFi Sleep Mode: MODEM
[000548]
---8<-------
[000557] [TELNET] Listening on port 23
[000558] [WEBSERVER] Webserver running on port 80
[000561] [RELAY] Retrieving mask: 255
[000562] [RELAY] Relay #0 boot mode 0
[000565] [RELAY] #0 set to OFF
[000568] [RELAY] Number of relays: 1
[000571] [BUTTON] Number of buttons: 2
[000574] [LED] Number of leds: 1
[000577] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000589] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000647] [WIFI] Creating access point
[000737] [WIFI] Captive portal enabled
[000738] [WIFI] -------------------------------------- MODE AP
[000738] [WIFI] SSID ESPURNA-8B0103
[000739] [WIFI] PASS fibonacci
[000741] [WIFI] IP 192.168.4.1
[000744] [WIFI] MAC 6A:C6:3A:8B:01:03
[000748] [WIFI] ----------------------------------------------
[000754] [MDNS] OK
[001568] [RELAY] Setting relay mask: 0
`
I try to compile with 1.13.5 and same problem :-(
Boot Log
` ets Jan 8 2013,rst cause:1, boot mode:(3,7)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v951aeffa
~ld
[000129]
---8<-------
[000130] [MAIN] ESPURNA 1.13.5
[000130] [MAIN] xose.perez@gmail.com
[000130] [MAIN] http://tinkerman.cat
[000130] [MAIN] CPU chip ID: 0x8B0103
[000133] [MAIN] CPU frequency: 80 MHz
[000136] [MAIN] SDK version: 3.0.0-dev(c0f7b44)
[000140] [MAIN] Core version: 2.5.0
[000144] [MAIN] Core revision: 2501570554
[000147]
[000148] [MAIN] Flash chip ID: 0x14405E
[000152] [MAIN] Flash speed: 40000000 Hz
[000155] [MAIN] Flash mode: DOUT
[000158]
[000159] [MAIN] Flash size (CHIP) : 1048576 bytes / 256 sectors ( 0 to 255)
[000166] [MAIN] Flash size (SDK) : 1048576 bytes / 256 sectors ( 0 to 255)
[000173] [MAIN] Reserved : 4096 bytes / 1 sectors ( 0 to 0)
[000181] [MAIN] Firmware size : 537840 bytes / 132 sectors ( 1 to 132)
[000188] [MAIN] Max OTA size : 483328 bytes / 118 sectors ( 133 to 250)
[000195] [MAIN] EEPROM size : 4096 bytes / 1 sectors ( 251 to 251)
[000202] [MAIN] Reserved : 16384 bytes / 4 sectors ( 252 to 255)
[000209]
[000210] [MAIN] EEPROM sectors: 251, 250
[000214] [MAIN] EEPROM current: 250
[000217]
[000218] [MAIN] EEPROM: 4096 bytes initially | 180 bytes used ( 4%) | 3916 bytes free (95%)
[000227] [MAIN] Heap : 42216 bytes initially | 5624 bytes used (13%) | 36592 bytes free (86%)
[000234] [MAIN] Stack : 4096 bytes initially | 976 bytes used (23%) | 3120 bytes free (76%)
[000242]
[000243] [MAIN] Boot version: 31
[000246] [MAIN] Boot mode: 1
[000249] [MAIN] Last reset reason: Power on
[000253] [MAIN] Last reset info: flag: 0
[000256]
[000257] [MAIN] Board: ITEAD_SONOFF_BASIC_2
[000261] [MAIN] Support: ALEXA API BROKER BUTTON DEBUG_SERIAL DEBUG_TELNET DEBUG_WEB DOMOTICZ HOMEASSISTANT LED MDNS_SERVER MQTT NTP SCHEDULER TELNET TERMINAL THINGSPEAK WEB
[000276] [MAIN] WebUI image: SMALL
[000279]
[000524] [MAIN] Firmware MD5: c8ba883b40ed37833f4cd7e65f96da33
[000525] [MAIN] Power: 4466 mV
[000525] [MAIN] Power saving delay value: 1 ms
[000526] [MAIN] WiFi Sleep Mode: MODEM
[000528]
---8<-------
[000543] [TELNET] Listening on port 23
[000545] [WEBSERVER] Webserver running on port 80
[000551] [RELAY] Retrieving mask: 255
[000552] [RELAY] Relay #0 boot mode 0
[000553] [RELAY] Relay #1 boot mode 0
[000554] [RELAY] #0 set to OFF
[000555] [RELAY] #1 set to OFF
[000558] [RELAY] Number of relays: 2
[000560] [BUTTON] Number of buttons: 2
[000564] [LED] Number of leds: 1
[000566] [MQTT] Async ENABLED, SSL DISABLED, Autoconnect ENABLED
[000582] [THINGSPEAK] Async ENABLED, SSL DISABLED
[000634] [WIFI] Creating access point
[000697] [WIFI] Captive portal enabled
[000698] [WIFI] -------------------------------------- MODE AP
[000699] [WIFI] SSID ESPURNA-8B0103
[000700] [WIFI] PASS fibonacci
[000702] [WIFI] IP 192.168.4.1
[000705] [WIFI] MAC 6A:C6:3A:8B:01:03
[000708] [WIFI] ----------------------------------------------
[000714] [MDNS] FAIL
[001557] [RELAY] Setting relay mask: 0`
I have try with 1.13.2 and CORE 2.4.2...same issue.
Serious problem on news librairies, no ?
The only stable release i have is 1.13.2.
The text was updated successfully, but these errors were encountered: