arendst / Tasmota

Alternative firmware for ESP8266 and ESP32 based devices with easy configuration using webUI, OTA updates, automation using timers or rules, expandability and entirely local control over MQTT, HTTP, Serial or KNX. Full documentation at
https://tasmota.github.io/docs
GNU General Public License v3.0
21.75k stars 4.72k forks source link

Wifi not working correctly on Electrodragon modules since Version 6 #3282

Closed canis-ferrin closed 5 years ago

canis-ferrin commented 5 years ago

Tested with Electrodragon SPDT module. Flasched ESPEasy: working. Flasched Tasmota 5.12.0c: working. Flashed Tasmota sonoff6.1.1c: Wifi only working for short times, mostly no ping answer. Ping successful at approx. 10%

ascillato commented 5 years ago

Insufficient information to help you. Please, complete all the troubleshooting template

canis-ferrin commented 5 years ago

Where I find the all the troubleshooting template?

I found this: "By releasing the firmware 5.12, the new ExpressIf library 2.4.0 is being used by default. " Possibly it is not working with the Electrodragon Boards.

ascillato commented 5 years ago

When you have clicked on new issue button, it shows you 3 options, bug report, feature request and troubleshooting. If you click on troubleshooting, you will have a template to complete some information that is very helpful for us.

Now you can copy and paste that, and complete all the information required. That will help us a lot.

oriolism commented 5 years ago

This wifi issue is affecting the sonoff basic too.

Frogmore42 commented 5 years ago

If you want help, you really need to provide the requested information from the template.

Having said that, the WiFi in the underlying code, not Tasmota, has issues in some environments and on some devices. You may be using a combination that is known to be frequently bad in which case switching to something that is known to be generally mostly okay would be good. If you are already using that, your environment/device might be particularly sensitive to the issue.

canis-ferrin commented 5 years ago

Unit is an Electrodragon SPDT as described: https://www.electrodragon.com/w/ESP_Relay_Board_Hardware and https://www.electrodragon.com/w/File:ESP_Relay_Board_SPDT_01.JPG

What I did this morning: loaded sonoff.bin from https://github.com/arendst/Sonoff-Tasmota/releases flashed to Electrodragon SPDT connected disabled MQTT

status 0 delivers: 10:07:27 CMD: status 0 10:07:27 RSL: STATUS = {"Status":{"Module":1,"FriendlyName":["Sonoff"],"Topic":"sonoff","ButtonTopic":"0","Power":1,"PowerOnState":3,"LedState":1,"SaveData":1,"SaveState":1,"ButtonRetain":0,"PowerRetain":0}} 10:07:27 RSL: STATUS1 = {"StatusPRM":{"Baudrate":115200,"GroupTopic":"sonoffs","OtaUrl":"http://sonoff.maddox.co.uk/tasmota/sonoff.bin","RestartReason":"Software/System restart","Uptime":"0T00:00:45","StartupUTC":"2018-07-22T09:06:42","Sleep":0,"BootCount":3,"SaveCount":9,"SaveAddress":"FB000"}} 10:07:27 RSL: STATUS2 = {"StatusFWR":{"Version":"6.1.1","BuildDateTime":"2018-07-14T15:57:03","Boot":31,"Core":"2_3_0","SDK":"1.5.3(aec24ac9)"}} 10:07:27 RSL: STATUS3 = {"StatusLOG":{"SerialLog":2,"WebLog":2,"SysLog":0,"LogHost":"","LogPort":514,"SSId":["MeshNet",""],"TelePeriod":300,"SetOption":["00008001","55818000"]}} 10:07:27 RSL: STATUS4 = {"StatusMEM":{"ProgramSize":535,"Free":468,"Heap":18,"ProgramFlashSize":1024,"FlashSize":4096,"FlashMode":3,"Features":["00000809","0FDAE794","0C000000","23B6179E","00000000"]}} 10:07:27 RSL: STATUS5 = {"StatusNET":{"Hostname":"sonoff-5987","IPAddress":"192.168.211.100","Gateway":"192.168.211.254","Subnetmask":"255.255.255.0","DNSServer":"192.168.211.254","Mac":"68:C6:3A:93:37:63","Webserver":2,"WifiConfig":3}} 10:07:27 RSL: STATUS7 = {"StatusTIM":{"UTC":"Sun Jul 22 09:07:27 2018","Local":"Sun Jul 22 10:07:27 2018","StartDST":"Sun Mar 25 02:00:00 2018","EndDST":"Sun Oct 28 03:00:00 2018","Timezone":1,"Sunrise":"05:11","Sunset":"20:42"}} 10:07:27 RSL: STATUS10 = {"StatusSNS":{"Time":"2018-07-22T10:07:27"}} 10:07:27 RSL: STATUS11 = {"StatusSTS":{"Time":"2018-07-22T10:07:27","Uptime":"0T00:00:45","Vcc":3.239,"POWER":"ON","Wifi":{"AP":1,"SSId":"MeshNet","RSSI":88,"APMac":"5C:49:79:13:02:6F"}}}

ping -t to device delivers:

C:\Users\Victor>ping 192.168.211.100 -t

Ping wird ausgeführt für 192.168.211.100 mit 32 Bytes Daten: Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.100: Bytes=32 Zeit=379ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=28ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=473ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=97ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=196ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=137ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=50ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=99ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=165ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=152ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=199ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=2ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=24ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=241ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=4ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=54ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=246ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=4ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=3ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=131ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=169ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=197ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=201ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=26ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=153ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=230ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=107ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=220ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=261ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=26ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=117ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=189ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=146ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=2ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=46ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=245ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=189ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.100: Bytes=32 Zeit=224ms TTL=128 Antwort von 192.168.211.100: Bytes=32 Zeit=21ms TTL=128 Zeitüberschreitung der Anforderung.

Another device of the same lot works flawlessly with Tasmota 5.12.0c

Thanks for Assistance, the Reason to update is the use of HC-SR501

canis-ferrin commented 5 years ago

This wifi issue is affecting the Wemos D1 mini (LOLIN) too.

Frogmore42 commented 5 years ago

WiFi is provided by the underlying libraries, not Tasmota. Core 2.3.0 has been providing the best results for most people, but it clearly doesn't work for everyone. There have been some cases where some of the non English binaries have had issues. It probably won't help, but you can try using the English one.

ascillato commented 5 years ago

Hi, please check https://github.com/arendst/Sonoff-Tasmota/issues/3289. Thanks

canis-ferrin commented 5 years ago

Problem is a little bit solved since Tasmota 6.1.1, but not completely, there are still several drops in WIFI connection and bad ping times.

Antwort von 192.168.211.170: Bytes=32 Zeit=22ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=71ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=69ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.170: Bytes=32 Zeit=11ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=3ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=74ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=59ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=50ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=68ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=70ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=69ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=16ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=36ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=65ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=17ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=29ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=7ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=42ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=18ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=25ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=58ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=40ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=3ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=41ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=7ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=2ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=52ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=31ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=4ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=8ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=48ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=34ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=16ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.242: Zielhost nicht erreichbar. Antwort von 192.168.211.170: Bytes=32 Zeit=2394ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=132ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=61ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=302ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=44ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=43ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=43ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=4ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=44ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=43ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=15ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=110ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=193ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=40ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.170: Bytes=32 Zeit=226ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=86ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=441ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=183ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=84ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.170: Bytes=32 Zeit=181ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=233ms TTL=128 Zeitüberschreitung der Anforderung. Zeitüberschreitung der Anforderung. Antwort von 192.168.211.170: Bytes=32 Zeit=193ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=245ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=118ms TTL=128 Zeitüberschreitung der Anforderung. Antwort von 192.168.211.170: Bytes=32 Zeit=123ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=186ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=74ms TTL=128 Antwort von 192.168.211.170: Bytes=32 Zeit=78ms TTL=128

ascillato2 commented 5 years ago

Hi,

please, share your status 0 output

ascillato2 commented 5 years ago

Hi,

Closing this issue as there is no feedback. Ask to reopen this issue if you need it. Thanks