wifi gui and ping not responding but not ap mode and ESP is up

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

wifi gui and ping not responding but not ap mode and ESP is up

#1 Post by riker1 » 13 May 2019, 08:18

Hi
have a problem with an ESP

Wifi reception is good:
-

ESP is custom LC Tech : ESP01S

After some time webgui is opening again.

Code: Select all

System Info	Value
Unit:	143
GIT version:	(custom)
Local Time:	2019-05-13 07:32:51
Uptime:	0 days 2 hours 51 minutes
Load:	23.80% (LC=19434)
Free Mem:	10264 (3944 - ExecuteCommand)
IP:	192.168.0.143
Wifi RSSI:	-60 dB
ESP is saying : Uptime: 0 days 2 hours 44 minutes

but I could not connect to the webgui and ping was also not working
but did not see an AP from ESP

Code: Select all

I try to capture ap mode:
on WiFi#APmodeEnabled do
     TaskValueSet,10,2,[dummy#ap-mode-counter]+1
	 timerSet,7,300
     event status_send=AP_Timer_7_Start // publish control 
	 event wifirestart
endon

On Rules#Timer=7 do 
	 Publish STATUS/%sysname%/status/WifiAP-TimerStart,enabled um-%lcltime%
	     event status_send=AP_Timer_7_0
 	 reboot
endon 
so AP Counter is not increased.

any idea how to further analyse this situatino?

Thx T

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: wifi gui and ping not responding but not ap mode and ESP is up

#2 Post by ThomasB » 14 May 2019, 21:50

any idea how to further analyse this situatino?
Three ideas:

1. Reboot the WiFi router. Check to see if the problem is resolved.

2. Monitor serial log until wifi has connected. Maybe the log messages will help with your troubleshooting. Be sure to disable serial log when you are done using it.

3. When WiFi finally connects, immediately check ESPEasy's Devices tab to see if any have been disabled ("Enabled" setting unchecked). The last one to be disabled is the device plugin that may be involved with the connection issue.

- Thomas

riker1
Normal user
Posts: 344
Joined: 26 Dec 2017, 18:02

Re: wifi gui and ping not responding but not ap mode and ESP is up

#3 Post by riker1 » 21 May 2019, 12:28

ThomasB wrote: 14 May 2019, 21:50
any idea how to further analyse this situatino?
Three ideas:

1. Reboot the WiFi router. Check to see if the problem is resolved.

2. Monitor serial log until wifi has connected. Maybe the log messages will help with your troubleshooting. Be sure to disable serial log when you are done using it.

3. When WiFi finally connects, immediately check ESPEasy's Devices tab to see if any have been disabled ("Enabled" setting unchecked). The last one to be disabled is the device plugin that may be involved with the connection issue.

- Thomas
Hi Thomas, thanks for your support.
ad 1: i tried different APs but same behaviour
ad 2 and ad 3. : hard to check as ESP is ESP01 and remote. so can not connect via serial
-> would syslog help here? Will enable info/debug and check

I experienced:

Uptime already 2 days , wifi reconnect counter > 20.

Looks it is going into sleep mode, even while disabled.

After a couple of pings http requests esp is responding..


I keep trying....

User avatar
ThomasB
Normal user
Posts: 1065
Joined: 17 Jun 2018, 20:41
Location: USA

Re: wifi gui and ping not responding but not ap mode and ESP is up

#4 Post by ThomasB » 21 May 2019, 17:16

would syslog help here? Will enable info/debug and check
I don't expect it will help, but worth a try.

Syslog can't provide log info when WiFi is disconnected. And to fully understand your WiFi connection issues you'll want to know the events before ESPEasy connects. Only serial log will provide that.
ad 3. : hard to check as ESP is ESP01 and remote. so can not connect via serial
#3. Serial log is not used to check the Devices Tab. When WiFi connects check for any disabled devices.

- Thomas

Post Reply

Who is online

Users browsing this forum: No registered users and 40 guests