Page 1 of 1

Sonoff Basic not responsive since v2.0-20180124

Posted: 30 Jan 2018, 14:08
by wim16
Today I decided to 'upgrade' my Sonoff Basic from v2.0-20180112 to v2.0-20180130 and saw that the webpages are no longer responding.
I tried several nightlies and the v2.0-20180123 is the last build that works ok; all the later builds are not working well.
The Sonoff boots normally but does not respond to web requests and also seems to loose wifi connection several times. See the serial log below.

The only visible difference between v2.0-20180123 and 24 is the change regarding DST.
And when I fall back to v2.0-20180123 it does not set system time correct, but that may be because of some config change as a result of the new DST.

It is a bit strange, since my 5 NodeMCU's are running fine on the most recent version.
Can it be caused by the difference in flash-size between these boards?

Code: Select all

INIT : Booting version: v2.0-20180124
INIT : Warm boot #1
FS   : Mounting...
FS   : Mount successful, used 76053 bytes of 113201
INIT : Free RAM:25976
INIT : I2C
INIT : SPI not enabled
WIFI : AP Mode disabled
WIFI : AP Mode ssid will be Sonoff-1_21 with address 192.168.4.1
WIFI : Connecting WLAN_WIM attempt #1
Current Time Zone:  DST time start: 2018-03-25 02:00:00 offset: 120 minSTD time start: 2018-10-28 03:00:00 offset: 60 min
WIFI : Connected! IP: 192.168.178.241 (Sonoff-1_21)
EVENT: System#Boot
WD   : Uptime 0 ConnectFailures 0 FreeMem 22272
EVENT: Clock#Time=Tue,13:37
WD   : Uptime 1 ConnectFailures 0 FreeMem 22680
EVENT: Clock#Time=Tue,13:38
WD   : Uptime 1 ConnectFailures 0 FreeMem 22240
WD   : Uptime 2 ConnectFailures 0 FreeMem 22240
WIFI : Connecting WLAN_WIM attempt #1
WIFI : Connected! IP: 192.168.178.241 (Sonoff-1_21)
EVENT: Clock#Time=Tue,13:39
WD   : Uptime 2 ConnectFailures 0 FreeMem 22240
WD   : Uptime 3 ConnectFailures 0 FreeMem 22208

Re: Sonoff Basic not responsive since v2.0-20180124

Posted: 02 Feb 2018, 13:49
by wim16
Well, it seems not a lot of people have experienced this problem too :roll:.

In the mean time a have been investigating a little myself and found that the problem is probably in _P036_framedOLED plugin.
I have compiled ESPEasy from V2.0 20180130 source and it did not work.
However, if I replace P036 with the version of 20180123 (and keep the rest on 20180130) there is no problem and the Sonoff works ok.
Strange thing is that there is no P036 device in my setup, but somehow the plugin seems to cause a problem.
Now, to find out where that problem comes from...

Since I do not intend to use P036 I may choose to keep using the older version of this plugin but I would like to be able to upgrade ESPEasy without having to customize myself.

Re: Sonoff Basic not responsive since v2.0-20180124

Posted: 02 Feb 2018, 14:06
by grovkillen
Please add an issue on Github.

Re: Sonoff Basic not responsive since v2.0-20180124

Posted: 02 Feb 2018, 16:41
by wim16
Done!

Re: Sonoff Basic not responsive since v2.0-20180124

Posted: 02 Feb 2018, 17:33
by Shardan
With some plugins it is possible to just leave them off.
As it is not very likely that you use an OLED with the sonoff basic
you may try just deleting it from the source folder and see if that runs.