Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tasmota 6.4.0.3 2.5 Huge Problem with Sonoff read ECONNRESET #4721

Closed
ymurawski opened this issue Dec 23, 2018 · 3 comments
Closed

Tasmota 6.4.0.3 2.5 Huge Problem with Sonoff read ECONNRESET #4721

ymurawski opened this issue Dec 23, 2018 · 3 comments
Labels
duplicated Result - Duplicated Issue

Comments

@ymurawski
Copy link

ymurawski commented Dec 23, 2018

Hi guys, today i flashed all of my devices (Sonoff Touch and Basic) to 6.4.0.3 with Core 2.5 and i have now huge problems. Every device is now restarting random time.
i already tried to flash back to 6.3 with core 2.3 but still the same problem.

My log file of iobroker shows:

sonoff.0 2018-12-23 21:24:59.615 info Client [Sonoff-Esszimmer-1-1ch] connected with secret 1545596699615_9052
sonoff.0 2018-12-23 21:24:59.357 info Client [Sonoff-Esszimmer-1-1ch] connection closed: closed
sonoff.0 2018-12-23 21:24:51.800 info Client [Sonoff-Gaestebad-2ch] reconnected. Old secret 1545596605971_3441. New secret 1545596691800_6886
sonoff.0 2018-12-23 21:24:51.492 info Client [Sonoff-Kueche-3-3ch] connected with secret 1545596691492_7251
sonoff.0 2018-12-23 21:24:51.483 info Client [Sonoff-Kueche-3-3ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:24:47.790 info Client [Sonoff-Flur-1-1ch] connected with secret 1545596687789_8489
sonoff.0 2018-12-23 21:24:47.026 info Client [Sonoff-Flur-1-1ch] connection closed: closed
sonoff.0 2018-12-23 21:24:37.149 info Client [Sonoff-Wohnzimmer-1-2ch] connected with secret 1545596677147_7673
sonoff.0 2018-12-23 21:24:37.142 info Client [Sonoff-Wohnzimmer-1-2ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:24:35.300 info Client [Sonoff-Schlafzimmer-2ch] connected with secret 1545596675298_5913
sonoff.0 2018-12-23 21:24:35.294 info Client [Sonoff-Schlafzimmer-2ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:29.133 info Client [Sonoff-Flur-1-1ch] connected with secret 1545596609133_7535
sonoff.0 2018-12-23 21:23:29.128 info Client [Sonoff-Flur-1-1ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:28.563 info Client [Sonoff-Esszimmer-1-1ch] connected with secret 1545596608562_4589
sonoff.0 2018-12-23 21:23:28.558 info Client [Sonoff-Esszimmer-1-1ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:25.971 info Client [Sonoff-Gaestebad-2ch] connected with secret 1545596605971_3441
sonoff.0 2018-12-23 21:23:25.705 info Client [Sonoff-Kinderzimmer-1ch] reconnected. Old secret 1545596528639_1790. New secret 1545596605705_5740
sonoff.0 2018-12-23 21:23:25.564 info Client [Sonoff-Hauswirtschaftsraum-1ch] connected with secret 1545596605563_5007
sonoff.0 2018-12-23 21:23:25.557 info Client [Sonoff-Hauswirtschaftsraum-1ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:25.266 info Client [Sonoff-Badezimmer-1ch] connected with secret 1545596605261_8060
sonoff.0 2018-12-23 21:23:25.255 info Client [Sonoff-Badezimmer-1ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:20.305 info Client [Sonoff-Kueche-3-3ch] connected with secret 1545596600304_8340
sonoff.0 2018-12-23 21:23:20.293 info Client [Sonoff-Kueche-3-3ch] connection closed: Error: read ECONNRESET
sonoff.0 2018-12-23 21:23:20.150 info Client [Sonoff-Gaestebad-2ch] connection closed: closed

Any ideas how to fix that ?

Edit:

I found out that when i deactivate the Sonoff adapter in iobroker all devices work perfectly (no reboot)
So i use Sonoff 2.2.2 but the last update was 6 month ago from the developer.

@GumbyMan82
Copy link

I am not sure if i'm facing the same, but since i've upgraded my sonoff 4ch (not pro) to Tasmota 6.4, the MQTT connection drops every now and then.
Wifi quality hasn't changed and is about 50% all the time.

The console shows the following.
Since the uptime isn't changing, the device isn't rebooting. It just seems that the connection to the MQTT broker drops.

22:55:32 MQT: tele/Home/Garden/Sonoff/RaisedBed/STATE = {"Time":"2018-12-23T22:55:32","Uptime":"2T23:59:20","Vcc":3.427,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"Pandora","BSSId":"9C:C7:A6:3D:4E:61","Channel":1,"RSSI":62}} 22:56:47 MQT: Attempting connection... 22:56:51 MQT: Connected 22:56:51 MQT: tele/Home/Garden/Sonoff/RaisedBed/LWT = Online (retained) 22:56:51 MQT: cmnd/Home/Garden/Sonoff/RaisedBed/POWER = 22:57:55 MQT: Attempting connection... 22:57:59 MQT: Connected 22:57:59 MQT: tele/Home/Garden/Sonoff/RaisedBed/LWT = Online (retained) 22:57:59 MQT: cmnd/Home/Garden/Sonoff/RaisedBed/POWER = 22:59:03 DNS: Initialized 22:59:04 MQT: Attempting connection... 22:59:04 MQT: Connected 22:59:04 MQT: tele/Home/Garden/Sonoff/RaisedBed/LWT = Online (retained) 22:59:04 MQT: cmnd/Home/Garden/Sonoff/RaisedBed/POWER = 23:00:39 MQT: tele/Home/Garden/Sonoff/RaisedBed/STATE = {"Time":"2018-12-23T23:00:39","Uptime":"3T00:04:27","Vcc":3.427,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"Pandora","BSSId":"9C:C7:A6:3D:4E:61","Channel":1,"RSSI":64}} 23:02:00 MQT: tele/Home/Garden/Sonoff/RaisedBed/UPTIME = {"Time":"2018-12-23T23:02:00","Uptime":"3T00:05:48"} 23:05:40 MQT: tele/Home/Garden/Sonoff/RaisedBed/STATE = {"Time":"2018-12-23T23:05:40","Uptime":"3T00:09:28","Vcc":3.427,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"Pandora","BSSId":"9C:C7:A6:3D:4E:61","Channel":1,"RSSI":64}} 23:10:40 MQT: tele/Home/Garden/Sonoff/RaisedBed/STATE = {"Time":"2018-12-23T23:10:40","Uptime":"3T00:14:28","Vcc":3.427,"SleepMode":"Dynamic","Sleep":50,"LoadAvg":19,"POWER1":"OFF","POWER2":"OFF","POWER3":"OFF","POWER4":"OFF","Wifi":{"AP":1,"SSId":"Pandora","BSSId":"9C:C7:A6:3D:4E:61","Channel":1,"RSSI":64}} 23:12:54 DNS: Initialized 23:12:55 MQT: Attempting connection... 23:12:55 MQT: Connected

Unfortunately i updated my broker around the same time - so i'm having troubles identifying if this is coming from the broker or tasmota...

@ascillato2
Copy link
Collaborator

Hi,

@ymurawski, @GumbyMan82

Seems that you have a bad flashing problem.

You should erase all flash with esptool.py as explained in the wiki and flash again with the precompiled bins from release.

Please, check the wiki at https://github.com/arendst/Sonoff-Tasmota/wiki/Troubleshooting#wifi-issues-arduino-core-versions-and-expressif-sdk for explanations
Also check issue: #4697

@ascillato2 ascillato2 added the duplicated Result - Duplicated Issue label Dec 24, 2018
@ymurawski
Copy link
Author

ymurawski commented Dec 30, 2018

So please #reactivate it again.

What i tried so far...

  • complete flash delete
  • flash version 6.4.1.1 with core 2.5
  • completely new pc with new install of iobroker
  • no repeater ... direct connection to router

I activated Hue emulation because of alexa
Could this make this error ??
Maybe because iobroker detects it as hue bridge and also via the sonoff adapter ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicated Result - Duplicated Issue
Projects
None yet
Development

No branches or pull requests

3 participants