-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
WifiManager / WiFi softAP mode crashes when Tenda Nova MW3 or MW6 in range #4915
Comments
Thx, for informing. As you already mentioned it is not a bug from Tasmota and nothing can be done here to prevent this. Please close this issuse. So if someone is searching the info will be found. |
Hi @Jason2866 please keep this question (not a bug) open for day or two... Maybe someone has any idea how this is possible, what exactly can causing this kind of problem? I just want to understand how this is even possible. Thanks |
You can try with Core 2.5.0 that uses sdk 3.0.0 : http://thehackbox.org/tasmota/020500/ In this case, please, remember to erase all flash with esptool.py before flashing again. |
Also, the AP mode is in channel 1. You can choose another channel compiling by yourself changing in my_user_config.h the wifi ap channel setting Please, check also: #4673 |
Please, try with core 2.5.0 And then, after that test, please try with another channel for the AP mode and report back. Thanks |
Hi @ascillato2 Thanks for prompt response :) I can already confirm that it is ok with core 2.5.0, this issue is only on 2.3.0 Do you have any clue why router can break AP? Ps |
That is a really good news!!! Thanks for sharing 👍
May be it was because they were in the same channel your router AP and your Tasmota AP (1 is the default in Tasmota for Soft AP) so they interfere each other. That issue happened before in #4673 and Theo added the user configuration for Soft AP Channel in my_user_config.h
Yes, well always will depend on your wifi setup, distances, obstacles, interferences, other wifi networks, amount of devices, etc etc. In my case, the 3 core versions (2.3.0, 2.4.2 and 2.5.0) have worked the same. Some reports a slightly different RSSI but in the practice was the same. The devices (for testing) with less than 20% signal (far from router) continue having obvious disconnections and the ones with signal greater than 35% have zero or nearly zero disconnections. So, you have to choose the core that works better in your wifi setup. |
Hi @ascillato bingo 👍 changing a channel can solve the problem :) Last question concerning this topic, do you think it is possible to figure out in the code (on device) which channel is free for softAP? Just to prevent this kind of problems. Or maybe I should try in loop 1..13 Thanks again for your help! I will play with this a little bit more to fully understand this topic but of course the issue can be closed. PS I have quite strong WiFi signal from my mesh WiFi for the test I hardcoded the channel to 13: now for the first time I'm able to see the WifiManager on 2.3.0 |
This is not a bug in Tasmota and probably not Arduino core too, but maybe Espressif sdk.
Anyway I would like to ask you about advice how this is possible and ideas to bypass this problem.
Thanks in advance!
Like I reported here #4659
I was able to find out that the ESP crashes after a couple of seconds in WIFI_MANAGER mode, after line:
WiFi.softAP(my_hostname, NULL, channel);
this happend whenever a specific mesh wifi ap is in range -> Tenda Nova MW3 or MW6
How it is possible that softAP on ESP is crashing by router? The router is sending something to AP and this is the reason of a crash???
Anybody has any idea how to bypass this?
PS;
I'm not the only one who is facing this problem, please see the issue here:
esp8266/Arduino#4735
status 0
:The text was updated successfully, but these errors were encountered: