But my ESPEz->Sonoff upgrade didn't go as planned. I installed a recent release (ESP_Easy_mega-20181204_normal_ESP8266_1024) using grovkillen's ESP Easy Flasher. Unfortunately the AP mode refuses to connect. ESPEz refuses AP login (using "configesp" password).
I tried the flasher's FORCE-DOUT option as well as the recent ESP8285 releases. Clearing ALL the memory and reflashing does not help either.
It's not as simple as a failed flashing. The serial port shows that the firmware is running. System commands (via serial access) all work as expected. But no joy establishing a Wifi connection.
I even used the serial port's system commands to configure the Wifi STA. No problems with the command line configuration but the WiFi connection is still refused.
Boot logs show everything is great (correct SSID and password, STA mode enabled). BTW, the AP mode is always active. That is to say, it continues to appear as a WiFi access point in my mobile devices and desktop PC. I believe that is the normal fallback when STA is not successful.
Over a six hour period I chased my tail trying to get WiFi to connect. I eventually tried a release from last Sept (ESP_Easy_mega-20180910_normal_ESP8266_1024) and this broke everything. The serial port just constantly spews characters.
Finally success. The June release (ESP_Easy_mega-20180611_normal_ESP8266_1024) works perfect. It was fully configured with devices and rules, all good. After achieving success I installed today's release (ESP_Easy_mega-20181207_normal_ESP8266_1024) and ran into the WiFi connection problem again. After restoring the June release everything is great again.
Here is the serial log with the 20181207 release, which is identical to my other non-working attempts. It shows everything looks good: rules running and WiFi connected. But no web access!
Code: Select all
INIT : Booting version: mega-20181207 (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
103 : INIT : Warm boot #2 - Restart Reason: Software/System restart
105 : FS : Mounting...
111 : FS : Mount successful, used 76555 bytes of 113201
461 : CRC : program checksum ...OK
473 : CRC : SecuritySettings CRC ...OK
495 : INIT : Free RAM:24112
496 : INIT : I2C
497 : INIT : SPI not enabled
513 : INFO : Plugins: 46 [Normal] (ESP82xx Core 2_4_2, NONOS SDK 2.2.1(cfd48f3), LWIP: 2.0.3 PUYA support)
515 : EVENT: System#Wake
550 : WIFI : Set WiFi to STA
582 : WIFI : Connecting *REDACTED* attempt #0
584 : IP : Static IP : 192.168.1.XXX GW: 192.168.1.1 SN: 255.255.255.0 DNS: 192.168.1.1
599 : EVENT: System#Boot
608 : ACT : event RelayOff
617 : Command: event
619 : EVENT: RelayOff
648 : ACT : gpio,12,0
657 : Command: gpio
658 : GPIO : 12 Set to 0
669 : ACT : event LEDoff
675 : Command: event
676 : EVENT: LEDoff
704 : ACT : gpio,13,1
712 : Command: gpio
713 : GPIO : 13 Set to 1
810 : SW : GPIO=0 State=1 Output value=0
817 : EVENT: PushSwitch#switch=0.00
2076 : WD : Uptime 0 ConnectFailures 0 FreeMem 21792
- Thomas