I have loaded the firmware 20241222_hard LC tech relay_1M from here https://td-er.nl/ESPEasy/ . That went fine and was able to configure my wifi settings. When reboot it never really gets connected to my wifi . This is the console from arduino
2:25:28.652Info : WIFI : Connecting Fibertel 165-2.4Ghz D0:6E:DE:9F:D9:5D Ch:1 (-50dBm) WPA2/PSK (bgn) attempt #239
02:25:28.660Info : WIFI : Set WiFi to OFF
02:25:29.077Info : WIFI : Set WiFi to STA
02:25:31.569Info : WIFI : Disconnected! Reason: '(1)'
02:25:31.770Info : WIFI : Disconnected! Reason: '(1)'
02:25:31.871Info : Reset WiFi.
02:25:34.061Info : WIFI : Connecting Fibertel 165-2.4Ghz D0:6E:DE:9F:D9:5D Ch:1 (-52dBm) WPA2/PSK (bgn) attempt #240
02:25:35.009Info : WIFI : Set WiFi to OFF
02:25:35.326Info : WIFI : Set WiFi to STA
02:25:35.531Info : WIFI : Connecting Fibertel 165-2.4Ghz D0:6E:DE:9F:D9:5D Ch:1 (-52dBm) WPA2/PSK (bgn) attempt #241
02:25:35.538Info : WIFI : Set WiFi to OFF
02:25:35.966Info : WIFI : Set WiFi to STA
02:25:38.457Info : WIFI : Disconnected! Reason: '(1)'
02:25:38.659Info : WIFI : Disconnected! Reason: '(1)'
02:25:38.760Info : Reset WiFi.
Any idea what might be wrong?
Wifi keeps disconnecting
Moderators: grovkillen, Stuntteam, TD-er
Re: Wifi keeps disconnecting
Have you power cycled the board after flashing?
Can you clear the ssid password and then connect to the access point started by ESPEasy?
Via the console you can set the wifi ssid to "ssid" which indicates it isn't set.
Then the ESP might need to be rebooted to start its AP mode.
Then you can connect to the access point started by the ESP using password "configesp"
Then in the browser you can go to http://192.168.4.1
Maybe you get redirected to /setup.
On this page you will see at the top the other tabs.
Go to the "Tools" tab and then Advanced.
Please try checking the box "Force WiFi B/G" and "Extra Wait WiFi Connect"
And then press "Submit" at the bottom.
Then Tools->Setup WiFi and then continue entering your WiFi credentials.
Can you clear the ssid password and then connect to the access point started by ESPEasy?
Via the console you can set the wifi ssid to "ssid" which indicates it isn't set.
Code: Select all
wifissid,ssid
save
Then you can connect to the access point started by the ESP using password "configesp"
Then in the browser you can go to http://192.168.4.1
Maybe you get redirected to /setup.
On this page you will see at the top the other tabs.
Go to the "Tools" tab and then Advanced.
Please try checking the box "Force WiFi B/G" and "Extra Wait WiFi Connect"
And then press "Submit" at the bottom.
Then Tools->Setup WiFi and then continue entering your WiFi credentials.
Re: Wifi keeps disconnecting
Hi TD-er,
thanks for looking at this.
[TD-er]Have you power cycled the board after flashing?
[Me] yes
[TD-er] Can you clear the ssid password and then connect to the access point started by ESPEasy?
Via the console you can set the wifi ssid to "ssid" which indicates it isn't set.
[Me] Will try and get back to you
[TD-er]Then the ESP might need to be rebooted to start its AP mode.
Then you can connect to the access point started by the ESP using password "configesp"
Then in the browser you can go to http://192.168.4.1
Maybe you get redirected to /setup.
On this page you will see at the top the other tabs.
Go to the "Tools" tab and then Advanced.
[Me] ESP reboots in AP mode and I do get the setup page. There it shows all the available networks, and I pick mine and below there is box for password. I set it up and then there is a connect button. Which I hit. After this cannot connect anymore to the add 192.168.4.1 and was expecting to connect to my wifi network but nothing happens . Reboot and see the messages I posted.
[TD-er] Please try checking the box "Force WiFi B/G" and "Extra Wait WiFi Connect"
And then press "Submit" at the bottom.
Then Tools->Setup WiFi and then continue entering your WiFi credentials.
[Me] Will try this setup and get back. I was doing all the wifi on the setup page, but did not find any "save" button and not sure if the "connect" button, also do save.
thanks for looking at this.
[TD-er]Have you power cycled the board after flashing?
[Me] yes
[TD-er] Can you clear the ssid password and then connect to the access point started by ESPEasy?
Via the console you can set the wifi ssid to "ssid" which indicates it isn't set.
[Me] Will try and get back to you
[TD-er]Then the ESP might need to be rebooted to start its AP mode.
Then you can connect to the access point started by the ESP using password "configesp"
Then in the browser you can go to http://192.168.4.1
Maybe you get redirected to /setup.
On this page you will see at the top the other tabs.
Go to the "Tools" tab and then Advanced.
[Me] ESP reboots in AP mode and I do get the setup page. There it shows all the available networks, and I pick mine and below there is box for password. I set it up and then there is a connect button. Which I hit. After this cannot connect anymore to the add 192.168.4.1 and was expecting to connect to my wifi network but nothing happens . Reboot and see the messages I posted.
[TD-er] Please try checking the box "Force WiFi B/G" and "Extra Wait WiFi Connect"
And then press "Submit" at the bottom.
Then Tools->Setup WiFi and then continue entering your WiFi credentials.
[Me] Will try this setup and get back. I was doing all the wifi on the setup page, but did not find any "save" button and not sure if the "connect" button, also do save.
Re: Wifi keeps disconnecting
That's why I suggested to NOT save the WiFi credentials first, but rather change some settings first and then go back to the WiFi credentials and enter those.
There is a bug in the code (which I'm working on) which prevents the ESP to start the AP mode when it cannot connect to the configured access point.
So that's why you now need to use this rather elaborate method to remove the WiFi credentials.
Did this ESP board run a different firmware before you installed ESPEasy?
If so, then it is best to completely wipe the flash and start over to flash ESPEasy.
It might be there is some left over RF calibration data on the flash chip which has become useless as ESPEasy is probably running a different version of the SDK.
There is a bug in the code (which I'm working on) which prevents the ESP to start the AP mode when it cannot connect to the configured access point.
So that's why you now need to use this rather elaborate method to remove the WiFi credentials.
Did this ESP board run a different firmware before you installed ESPEasy?
If so, then it is best to completely wipe the flash and start over to flash ESPEasy.
It might be there is some left over RF calibration data on the flash chip which has become useless as ESPEasy is probably running a different version of the SDK.
Re: Wifi keeps disconnecting
Now it is working. Kind of.... Thank you
Did what you suggest last. Change the settings in Advance and then config wifi .
So it is working the ESP, but not the relay . I setup postman to send msgs and it is working on the ESP . I got 200 OK on postman and in the ESP status I see the relay change, but nothing happens on the relay itself.
In the module I have the blue led on and the green is flashing quickly. According http://www.chinalctech.com/xwzx/24.html
"It’s means the ESP-01 are waiting for the APP configurate the password for it when D6 fast blink every 0.5S" , which is not correct, because the ESP is working ( I mean it has the wifi credentials), and I can access. So my first thought was about UART speed . It was in 115200 and changed to 9600, but still same behavior.
Any idea what am I missing here?
Sorry, just found out. Had to change the relay module mode by pressing S1 . Now I have a red led(solid) and still flashing green but every second.
Now I am happy camper. Thank you again
Did what you suggest last. Change the settings in Advance and then config wifi .
So it is working the ESP, but not the relay . I setup postman to send msgs and it is working on the ESP . I got 200 OK on postman and in the ESP status I see the relay change, but nothing happens on the relay itself.
In the module I have the blue led on and the green is flashing quickly. According http://www.chinalctech.com/xwzx/24.html
"It’s means the ESP-01 are waiting for the APP configurate the password for it when D6 fast blink every 0.5S" , which is not correct, because the ESP is working ( I mean it has the wifi credentials), and I can access. So my first thought was about UART speed . It was in 115200 and changed to 9600, but still same behavior.
Any idea what am I missing here?
Sorry, just found out. Had to change the relay module mode by pressing S1 . Now I have a red led(solid) and still flashing green but every second.
Now I am happy camper. Thank you again
Re: Wifi keeps disconnecting
You're welcome 
And this reminds me I need to place those parameters also on the setup page so one can set them without having to jump through hoops like you needed to do.

And this reminds me I need to place those parameters also on the setup page so one can set them without having to jump through hoops like you needed to do.
Who is online
Users browsing this forum: No registered users and 25 guests