Replies: 25 comments 66 replies
-
Having written this, I wonder, if I should open an Issue? |
Beta Was this translation helpful? Give feedback.
-
Hello,
Strictly speaking, I have the issue when I am done with Wi-Fi Manager and when it first tries to connect to my normal network. Channels are: The SSIDs are different.
To be sure: I can only do that, after my workaround, as I have no access to the commandline before. After reset 3 it will be in Wifi-Manager Mode again, right? So then, I try to connect to Unifi and we will see, if reset 3 fixed my issue. Correct?
It did not connect later. It is also notworthy, that ESPEasy showed the same issue (not sure if the workaround also works there). Best regards, |
Beta Was this translation helpful? Give feedback.
-
Hello,
After that, it connected to my Unifi Network again. Best regards, |
Beta Was this translation helpful? Give feedback.
-
Anything else I can do in order to isolate the issue? |
Beta Was this translation helpful? Give feedback.
-
Hi, Please, can you test the following version? Is the same Tasmota.bin from the codebase but with the That is to test if the DHCP server don't like for whatever reason that Tasmota checks the connection, restarts and connects again. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Hello,
EchoNetz is tze FritzBox Network, that I used as Plan-B/Workaround. Greetings, |
Beta Was this translation helpful? Give feedback.
-
I have a similar/same issue with NodeMCU v3 boards. I've tried the modified firmware above (RESTART_AFTER_INITIAL_WIFI_CONFIG set to false), no help. If I erase+flash v9.4.0 or v9.5.0, it can't connect to my wifi. If I erase+flash v9.3.1 or older, it can connect, then no erase just flash/upgrade to v9.5.0, and it works! If I erase+flash v9.5.0 again, it can't connect to my wifi again. BUT! Once, the modified v9.5.0 was able to connect. But I wasn't able to reproduce this. I've flashed several times, reseted it, power cycled it, turned off my phone's WiFi, I've spent 2 hours to reproduce this, nothing, the erase+flash never resulted in a successful WiFi connection again, even after entering the credentials multiple times. The
|
Beta Was this translation helpful? Give feedback.
-
Please everyone with connecting problems restart the DHCP server. I still think the issue is a old DHCP entry which is blocking the connect. |
Beta Was this translation helpful? Give feedback.
-
Yes, i think so. Just try if it solves your issue. |
Beta Was this translation helpful? Give feedback.
-
I've power cycled my Linksys E900 router. My v9.4.0 tasmota things restarted, v9.5.0 reconnected.
I modified my WiFi settings from manual channel 1 to manual channel 6.
WiFi: auto channel, 20MHz only. It was running on channel 1 again, checked with WiFi analyzer app.
WiFi: manual channel 6, 20MHz only.
WiFi: manual channel 11, 20MHz only.
Though at the last 2 tests (manual channel 6 and 11) strange behavior happened:
|
Beta Was this translation helpful? Give feedback.
-
I've rebuilt v9.5.0 with
|
Beta Was this translation helpful? Give feedback.
-
@ascillato when was the connect mode selection introduced? Maybe setting to mode "n" generates problems? |
Beta Was this translation helpful? Give feedback.
-
I need your help. Please, can you check which Wi-Fi modes are enabled in your Router? Meaning if your Router only accepts 11n and not 11b/g/n. If it accepts ONLY 11n that is the root cause of the issue. In dual mode, the ESP8266 can only use 11b and 11g (a hardware limitation). The ESP8266 can only connects to a 11n-ONLY Wi-Fi Network in STA mode (only if the AP mode is turned Off). I can't test that because all my routers let me select the modes b/g/n or b/g or b. I can't select 11n alone. The test should be: If this test ends like that, we can have a solution to workaround this ESP8266 hardware limitation. Please, ensure your Tasmota device has all modes (b/g/n) turned on by going to the console ( http://192.168.4.1/cn ) and typing Thanks. |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for all the tests you have done. Very appreciated. Those were very helpful !!!! Here is a last firmware to test with the workaround/fix for this problem. If it works as expected, we can merge the PR #12566 to add this. The solution implemented here try to be as easy as possible for new users. What it does is: 1 - After you write the credentials, it test them. In the last step, if it fails, it will depend on the WIFICONFIG setting what is going to happen (just wait to Tasmota to publish its AP again or you need to push 6 times the button <-Default ). Thanks |
Beta Was this translation helpful? Give feedback.
-
I also had the problem of not being able to connect to a network with multiple TP-Link Deco T9 AP. Wifi connection failed "Please, check your credentials". I bought a Sonoff TH 16 from a store that sells them with Tasmota 9.5.0 already flashed. Eventually I managed to fix this thanks to the comment by @ascillato:
So that comment got me to the idea to dig up an old AVM Fritz!Box, set it to the same SSID and Password as the network created by the TP-Link APs, unplug the TP-Links APs and then connect the device. It successfully connected to the Fritz!Box! Next I unplugged the Fritz!Box and replugged the TP-Link APs and then (after a while) Tasmota also connected to the Decos without any issues. If the "dual mode" does not work properly with some APs it would be very helpful to have an option to turn it off. |
Beta Was this translation helpful? Give feedback.
-
Hello I have not read all posts so maybe this is already old information. I had the same issue with 9.5.0 on a Sonoff Basic. I was going through the migration path from an older version and for some reason I decided to reset the configs and got stuck at this version. Couldn't connect to my Unify network, wrong credentials error. I tried 192.168.4.1/cs? and the console is there. I just did a reset 3 and things happened like magic. The sonoff immediately connected to the network I was trying before. |
Beta Was this translation helpful? Give feedback.
-
Yes, wifi connection problems can have many reasons. Since most of the mandantory source code is closed source, it is guess work, trying around to find a solution :-( |
Beta Was this translation helpful? Give feedback.
-
Do we have any updates on this? The logs are always: Sometimes it connects for just a second and then disconnects. The worse part is it connects to my phone hotspot without problems 🤦🏻♂️ I have other 12 devices connected to my 2g network without issues. |
Beta Was this translation helpful? Give feedback.
-
Hi, I just recently ran into same problem, had one of four of my shutters (Sonoff Dual R3 v2) disconnected from my wifi network after half year of running without problems with log Edit: I was too quick with response. After short while it does same thing |
Beta Was this translation helpful? Give feedback.
-
maybe it helps someone: with me the response time in the ioBroker/Sonoff adapter was adjusted, set it back to 60 seconds and after that all problems were gone. |
Beta Was this translation helpful? Give feedback.
-
In my case Reset 3 command worked, still not clear what actually it does but for now it seems ok. I have a unifi AP's FYI
|
Beta Was this translation helpful? Give feedback.
-
Hello everyone!! Platform: SONOFF Basic V1 (ESP8266) Version 8, 9, 10 : No problem, the tasmota reboots and connects with no problem.
I'll have to stay in version 12.2 ;( Hope it helps!! |
Beta Was this translation helpful? Give feedback.
-
Another corner case when Tasmota v13.3.0 when both (!) ssid is configured, but only one is available.
Strange exprimental results:
UPDATE: v13.3.0 even with single WiFi setting is unstable, sometimes it takes a minute to connect to WiFi. |
Beta Was this translation helpful? Give feedback.
-
I just found this - having same issue. Happens with multiple SW stacks on the ESP 8266 (tasmota, esphome,...) -- however esp32 tends to work. Fails to join WIFI quickly (takes many retries: 30 secs to 10 mins) but usually eventually joins. Not DHCP. Rebooting router does tend to help. I suspect something in WPA hashing or something that the router is rejecting device until something times out. Probably (as mentioned above) in the ESP SDK itself. Would love someone to figure out the why.... some other threads have discussed changing "Smart Connect" and TWT settings in router (didn't help me). |
Beta Was this translation helpful? Give feedback.
-
I have similar case, that software up to 12_2_1 works (in terms of wifi) and above 12_3_1 (including) will not connect to network. all binaries are from "releases" - tasmota.bin What is most surprising that when I took another NodeMcu, and flashed with newest firmware - works great. from 12_3_1 some output
output from version 12_2_1 (I **** names)
Any idea what can be the reason? |
Beta Was this translation helpful? Give feedback.
-
Hello,
I had the issue, that I was not able to connect to my network. This is what I did:
On the serial Log, I got:
Connect failed with AP timeout
And the AP activated again, asking me for my credentials.
I had a very similar issue with ESP-Easy.
I used two different Boards (Witty-Board and NodeMCU)
As I had tried "everything" i.e. it could not be the Software (I had the issue with both ESPEasy and Tasmota) or the Hardware (two Boards), I assumed that it could be the Access-Point.
I should add, that I had used both boards with an older Version of Tasmota or Espeasy before (but again: I did erase the flash).
Thus, I wanted to rule out the Wifi-Network as the cause.
So I created another Wifi Network with different infrastructure (AVM Fritz-Box instead of Unifi).
Bingo. No issue at all. It connected instantaneously.
So... Next I opened the Web-Interface of Tasmot and connected to my normal network again (Unifi)
Bingo again.
So, what could be the reason?
Either the erease flash did not really work and something was left.
Or, I have the connection issue only in the Wifi-Manager/AP-Mode.
I think it is the second option. I flashed the same Tasmota again - also with erase flash. Same procedure as above. Same outcome.
I just wanted to document this, hoping it is of help for anyone.
Best regards,
Hendrik
I am using the latest release: 9.5.0
Beta Was this translation helpful? Give feedback.
All reactions