Page 1 of 1

[SOLVED] ESP-11 support

Posted: 10 Feb 2017, 21:25
by msome
Hello, I receiver ESP-11 Module und tried to program with R147_RC8 version.
It looks like programming succeeded with the ESP on tooling using serial report. Why I think successful? After restart there is an AP opened up with correct MAC-part inside its name.
Smartphone connect works and an 192.168.4.xxx IP is issued (DHCP).

Unfortunately when I try to access the config webpage on 192.168.4.1 it times out.
My experience is very limited, it is restricted to successful programming & config of 4 Sonoff devices...

Anyone having any guess what might be wrong to not be able to access the config webpage?
Did someone successfully flash & configure a ESP-11 device yet?

Thanks for any help.

Re: ESP-11 support ?

Posted: 11 Feb 2017, 16:29
by costo
The AP should have the name ESP_0.
AP name that has part of the MAC address in it means something is wrong.
Maybe there is some other software in memory which interferes with ESPEasy.

You can try this:
Short RX & TX temporary and reset the ESP.
That will clean the unused parts of the memory.
After that your ESP may have ESP-0 as AP_name which would be OK.

Re: ESP-11 support ?

Posted: 12 Feb 2017, 09:37
by msome
Hi,

thanks for this. I tried to program with smaller binary (using the ESPEasy_R147_512.bin instead of the ESPEasy_R147_4096.bin binary) and finally I end up with ESP_0 access point.
No idea why the 4k binary does not work as expected but the 512 binary works - according to the flash-tool read-out, it's a 4k chip...

It's now also an protected AP, so I need the configesp default key to connect to the network. So far, so good.

Unfortunately the rest is same. I connect, get IP 192.168.4.2 (gateway 192.168.4.1). When I try to navigate to 192.168.4.1 I get a timeout in browser.

The serial console shows those messages (starting with releasing the reset-pin) --> see attachment.
Is there a possibility to get more debug messages on serial console ?

Thanks.

Re: ESP-11 support ?

Posted: 12 Feb 2017, 10:22
by Madbanana
On occasions I've had this issue and the only solution is to enter details from the serial console. Start with typing setttings (then enter) which should basically say you are not connected to wifi.

Then WifiScan to view the APs, WifiSSID <SSID> for the one you want to connect to, WifiKey <Wifi WPA key> for the password. Then save to store to flash and power cycle. With any luck this should then connect.

Typing reset will clear the flash settings and maybe worth a try if the above doesn't work. Command set here if you don't already have it - http://www.letscontrolit.com/wiki/index ... _Reference - good luck!

Re: ESP-11 support ?

Posted: 12 Feb 2017, 14:18
by msome
Hello,

great. Thanks. With the commands on serial console it worked. Connected to my home-WiFi and now I'm able to use the GUI.
Also the two GPIOs are working.

Thanks for the quick and great help !

Matthias

Re: [SOLVED] ESP-11 support

Posted: 12 Feb 2017, 17:54
by Madbanana
Excellent, that's great news! In the main these are really very stable but just occasionally they don't play as they should - so far I've always found a work around.