-
Hello, I have now transferred almost all devices to Tasmota and am very happy with the functionality and possibilities Tasmota offers. Really great what you can do with it. I have not yet converted the Shelly dimmer devices. here I do not dare because of the "ripple control signal" in Germany and the alternative firmware needed. However, this state (both Tasmota & Shelly firmware) is quite interesting to look at the network page. On the network side, I use UniFi (Nano-HD and In-wall-HD devices) with current firmware 5.43.19.12493 Note: The Shellys had had many problems with WiFi in the past, with crashes every now and then where the device had to be restarted. In the current firmware 1.93RC4, these seem to be eliminated. UniFi shows me 100% Experiance here. This is not the case with the Tasmota devices: According to Wireshark, there seems to be tcp retransmissions from the Tasmota device from time to time. In practice, this is noticeable with delays when you press a button and it controls another device. Here you have to wait sporadically 1-2 seconds ... and you possibly press again, which then switches the device off again, after both a executed :-) It is interesting that the Tasmota device always receives responses from the server (e.G. MQTT) promptly, but sometimes responds itself with a delay of over one second. Then TCP retransmission is engaged. When you do a ping, you always see long response times at the beginning, which then suddenly drop to a few milliseconds and stay there if you go on. The same is with HTTP requests: The first one sometimes takes longer (1-2 seconds), then it slips and stays that way until you do nothing again for 30-60 seconds. I have already tried to systematically change the various parameters that Tasmota offers (setoption57, setoption56, setoption41, Sleep, SetOption60, Reset 3), but nothing has brought a change. And I don't see anything at the Console. Since I am currently running out of ideas, maybe someone has other thought/directions to look at: Is there a plan to move to the 3.X SDK versions? What I'm still going to try myself: Greetings and thanks for any hint, Sebastian |
Beta Was this translation helpful? Give feedback.
Replies: 18 comments 32 replies
-
Regarding HTTP GUI requests you might be surprised to find that Firefox responds a lot quicker than Chrome. |
Beta Was this translation helpful? Give feedback.
-
Hi Sebastian, I've seen similar behavior for a while but didn't took time to check with wireshark. I first suspected ARP but as you showed it, it's something different that creates TCP retransmits. I confirm that Chrome generates some HTTP traffic that Tasmota/Arduino doesn't like. I'm not sure if why, but using Chrome sometimes causes slow downs of Tasmota and a decrease of ~5Kb of available heap memory, that is recovered a few minutes later. Firefox does not generate this behavior. I have a UniFi nano-HD like you, but I had similar issues with my previous AP. So I'm not sure it's Unifi-specific. After a reboot of Tasmota, performance is great again. Then degrades after hours/days. If you find how to solve this, I would be immensely grateful. |
Beta Was this translation helpful? Give feedback.
-
Here is an example: Tasmota TCP retransmission.zip somehow strange. |
Beta Was this translation helpful? Give feedback.
-
Your question about using RTOS the answer is no. Tasmota is build using Arduino ESP8266. |
Beta Was this translation helpful? Give feedback.
-
Instead of ping I set TelePeriod 10 for the device 192.168.175.40 now changed to a rule: |
Beta Was this translation helpful? Give feedback.
-
Which values have you tried with |
Beta Was this translation helpful? Give feedback.
-
Tasmota does not use sleep function from espressif in standard setup. Tasmota has its own sleep routine not entering any of the sleep states from the chip |
Beta Was this translation helpful? Give feedback.
-
Next steps for me to try:
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
That's very interesting. I have seen contradictory behavior about BUT... Some users have seen the opposite, Would you be kind enough to try |
Beta Was this translation helpful? Give feedback.
-
Can you try this tasmota firmware? Based on latest development version. It is builded with latest Arduino ESP8266 core stage version and latest gcc build chain.
|
Beta Was this translation helpful? Give feedback.
-
And for me the mystery is that none of my devices does behave like this. Did ping test to devices |
Beta Was this translation helpful? Give feedback.
-
Yes with command
|
Beta Was this translation helpful? Give feedback.
-
If I use
If the LoadAvg with But we can see that with I have noted a few more questions that are bothering me. I hope no one feels offended that these are only a few basic questions. After all, sometimes it's the simple things, so we should check those off first....
If all of that doesn't help: could we ask the Arduino guys, if they have any idea? Because of all the questions and you said, that you don't have the problems, I will start from scratch:
Maybe there a no network problems at the beginning. If true, I will see, when that changes... Can you tell me what wifi router/ap you are using and which device, that has no such problems that I am facing? Sebastian |
Beta Was this translation helpful? Give feedback.
-
When sleep 0 LoadAvg is not valid anymore. You have to ignore. |
Beta Was this translation helpful? Give feedback.
-
Maybe it is worth to invest time in this direction https://forum.turris.cz/t/solution-found-for-wifi-clients-disconnects/6065 |
Beta Was this translation helpful? Give feedback.
-
Hi @Jason2866 : Thanks, I will look into it. So far I know that I prevent WIFI_LIGHT_SLEEP if I do a rule with a 5 second delay command for 60 seconds, every minute. That way, the device is much more responsive. I will look into that shortly, setting up a possibility to compile Tasmota myself to check out some settings... Maybe it is with UNIFI-Devices (I have IW-HD and Nano-HD, which obviously had some problems in the past). Thanks in advance, Sebastian |
Beta Was this translation helpful? Give feedback.
-
I have not only one ;-). My router is bintec elmeg router (Digitalisierungsbox premium OEM Telekom) |
Beta Was this translation helpful? Give feedback.
Maybe it is worth to invest time in this direction https://forum.turris.cz/t/solution-found-for-wifi-clients-disconnects/6065