[SOLVED] Problems getting ESPEasy configured - unresponsive after reboot

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

[SOLVED] Problems getting ESPEasy configured - unresponsive after reboot

#1 Post by dolittle » 11 Feb 2019, 18:37

Hi,
first of all I want to emphasize that I love the flexibility of ESPEasy and thank you guys for the great job.

Nevertheless I'm constantly experiencing problems when it comes to configuring my devices. The description of it is very simple.

1. flash the device
2. boot the device - most of the time I have to repower the device multiple times to show up in my mobile although I wait a minute or more until power cycle
3. enter the wifi credentials - This fails very often. Most of the time I end up in erasing the flash and starting at 1.
4. enter the config page and adjust the settings
5. reboot and very often the device gets stuck here. LEDs flash, but no open access point and no fetching of DHCP address. So back to 1.
6. sometimes it helps to import an old config.dat to survive the reboot

If I flash the very same device with tasmota. There's no such problems at all. But it doesn't have the flexibility.

I experienced this across all devices I flashed. Namely Sonoff Touch, Sonoff S20, H801. About 20 devices they all showed the same problem.

No difference if stock firmware image or self compiled.

Anyone any idea what I'm doing wrong or experiencing the same?

Thanks
Last edited by dolittle on 22 Feb 2019, 07:51, edited 1 time in total.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Problems getting ESPEasy configured - unresponsive after reboot

#2 Post by grovkillen » 11 Feb 2019, 19:08

Thanks for the feedback. You shouldn't have these problems but you might want to try the ESP.Easy.Flasher.exe of you're on Windows. It will speed things up for you.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: Problems getting ESPEasy configured - unresponsive after reboot

#3 Post by dolittle » 11 Feb 2019, 19:14

Thanks for the fast reply.
I am happily using esptool under Linux without any flashing problems. It’s no problem to get the firmware in the flash memory. No problem with tasmota but with ESPEasy.

User avatar
grovkillen
Core team member
Posts: 3621
Joined: 19 Jan 2017, 12:56
Location: Hudiksvall, Sweden
Contact:

Re: Problems getting ESPEasy configured - unresponsive after reboot

#4 Post by grovkillen » 11 Feb 2019, 19:19

Ok so please report everything on GitHub. Meanwhile: program the settings using serial commands.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you :idea: :idea: :idea:

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: Problems getting ESPEasy configured - unresponsive after reboot

#5 Post by kimot » 12 Feb 2019, 19:13

My way to program Sonoffs:

To check comunication:
esptool.py --port /dev/ttyUSB0 flash_id

Erase flash:
esptool.py --port /dev/ttyUSB0 erase_flash

Program ESPeasy bin:
esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ESP_Easy_v2.0-20180322_normal_ESP8285_1024.bin

Repower Sonoff and connect to ESP in AP mode after a little delay.

Configure my home wifi SSID and password and let ESPeasy connect to my wifi.

But now I do not know IP assignet to ESPeasy by DHCP server of my router.
So open DHCP server leases tab end check which IP was assigned.

Write this IP to browser and on opened ESPeasy web page config new Static IP.
Reboot and use this new IP.

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: Problems getting ESPEasy configured - unresponsive after reboot

#6 Post by dolittle » 12 Feb 2019, 19:51

Hi kimot,
that's exactly the way I do it.

esptool.py --port /dev/ttyUSB0 write_flash --flash_mode dout 0x0 latest_build.bin

The flash rate is not limited by me because there's a hash check if everything was written properly at the end of the process.
kimot wrote: 12 Feb 2019, 19:13 My way to program Sonoffs:

To check comunication:
esptool.py --port /dev/ttyUSB0 flash_id

Erase flash:
esptool.py --port /dev/ttyUSB0 erase_flash

Program ESPeasy bin:
esptool.py --port /dev/ttyUSB0 --baud 115200 write_flash 0x00000 ESP_Easy_v2.0-20180322_normal_ESP8285_1024.bin

Repower Sonoff and connect to ESP in AP mode after a little delay.

Configure my home wifi SSID and password and let ESPeasy connect to my wifi.

But now I do not know IP assignet to ESPeasy by DHCP server of my router.
So open DHCP server leases tab end check which IP was assigned.

Write this IP to browser and on opened ESPeasy web page config new Static IP.
Reboot and use this new IP.

kimot
Normal user
Posts: 190
Joined: 12 Oct 2017, 20:46

Re: Problems getting ESPEasy configured - unresponsive after reboot

#7 Post by kimot » 12 Feb 2019, 21:01

Try without --flash_mode DOUT , like me.

dolittle
Normal user
Posts: 17
Joined: 14 Jan 2018, 19:39

Re: Problems getting ESPEasy configured - unresponsive after reboot

#8 Post by dolittle » 22 Feb 2019, 07:50

OK,
sorry for the late reply. But now I sorted this out. The problem was in fact the DOUT parameter. I upgraded my 8266 devices from 1MB flash to 4MB flash and according to the platformio.ini file the firmware is flashed in DIO mode instead of DOUT. By omitting this parameter everything went fine.

Thanks for helping.

Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests