Last Sunday I prepared 3 exactly the same Sonoff Basic devices with 3 different Sonoff-Tasmota firmwares, see below for the details. Today I see a big difference between the firmware based on the new 2.5.0/3.0.0 dev core and the current firmware based on the 2.4.2/2.2.1 core, in favor of the newest firmware.
Although all firmware’s show disconnections in the HA history, the 6.4.1 with the 2.4.2 core/2.2.1 SDK shows over a ten times more disconnections.
During the measurement (24 hours) the 3 Sonoff basic devices were placed next to each other less than 4 meters away from the WIFI access point.
Fresh installed with 6.4.1.9/3.0.0 dev core using serial after erasing flash
Erased flash using:
[esptool-2.6]$ esptool.py --port /dev/ttyUSB0 erase_flash
esptool.py v2.6
Serial port /dev/ttyUSB0
Connecting....
Detecting chip type... ESP8266
Chip is ESP8285
Features: WiFi, Embedded Flash
MAC: dc:4f:22:d3:63:14
Uploading stub...
Running stub...
Stub running...
Erasing flash (this may take a while)...
Chip erase completed successfully in 4.3s
Hard resetting via RTS pin...
And then installed 6.4.1.9 using serial:
(builded myself from latest development source using VSCODE + PlatformIO plugin on Fedora Linux)
Sonoff Basic Module
basic1
Program Version 6.4.1.9(sonoff)
Build Date & Time 2019-01-20T16:23:56
Core/SDK Version STAGE/3.0.0-dev(c0f7b44)
Uptime 2T01:17:00
Flash write Count 12 at 0xF8000
21 disconnects:
Upgrade from 6.4.1 to 6.4.1.9 using OTA
Sonoff Basic Module
basic2
Program Version 6.4.1.9(b5824fc-sonoff)
Build Date & Time 2019-01-18T12:13:06
Core/SDK Version 2_5_0_BETA2/3.0.0-dev(c0f7b44)
Uptime 2T1:30:09
Flash write Count 8 at 0xFB000
17 disconnects:
Fresh installed with 6.4.1 using serial connection
(builded myself from the 6.4.1 release, using VSCODE + PlatformIO plugin on Fedora Linux)
Sonoff Basic Module
basic3
Program Version 6.4.1(sonoff)
Build Date & Time 2018-12-24T14:41:00
Core/SDK Version 2_4_2/2.2.1(cfd48f3)
Uptime 2T02:11:24
Flash write Count 43 at 0xF9000
Over 200 disconnects (very hard to see, so zoom in):
I found this difference in disconnects quite remarkable. Has any one tested this too?
Sorry, but I did not test with the older firmware’s.
my conclusion
the newest dev firmware work much better than the current 6.4.1 release with the 2.4.2core and 2.2.1 SDK.