-
-
Notifications
You must be signed in to change notification settings - Fork 514
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
ESP32 does not reconnect to Wifi #2400
Comments
I have same issue.
|
You are right. at least the setting of |
@tbnobody I think @LPG-PG is right, we maybe somehow using the wrong signature for the The actual The issue seems to be in the „new credentials… “ code path of the OpenDTU/src/NetworkSettings.cpp Lines 279 to 298 in 3dc70ab
If this is the case/cause somehow that code path gets active after 2-5 days for some yet unknown reason, but it should eventually show up in the logging. |
I haven't tried it yet. |
same here for me. Really anoying when you're away from the DTU... Hope it gets fixed ! |
Ich habe vor 2 Wochen von der 24.5.6 auf 24.11.7 upgedatet. I updated from 24.5.6 to 24.11.7 2 weeks ago. |
Guten Tag, |
habe mit v25.1.14 seit Mittowch keine Abbrüche mehr. |
I have upgraded to 25.1.14 yesterday and today OpenDTU doesn't connect to Wifi anymore. No changes otherwise, in particular I haven't moved the device or anyting. |
actually after almost a week running without any issue I got same error yesterday evening again. |
I think they must have changed something on the wifi stack - or maybe wireless transmission power? The OpenDTU device is located in the basement. No wifi connection problems whatsoever since more than a year now. With the new firmware it didn't connect. I now brought it upstairs, closer to an AP and it connects without problems. Back in the basement it also connects now for some reason. |
What happened?
After an indefinite period of time, the ESP32 module loses the connection to the WiFi. No new DHCP lease is obtained, so neither web, API, MQTT nor ping works.
To Reproduce Bug
It happens ramdomly between 1 and 5 days
Expected Behavior
OpenDTU has to be reboot to fix it temporary
Install Method
Pre-Compiled binary from GitHub releases
What git-hash/version of OpenDTU?
v24.10.15
What firmware variant (PIO Environment) are you using?
generic_esp32
Relevant log/trace output
No response
Anything else?
I checked some parts of the code and I'm not sure, if there is a bug in NetworkSettings.cpp -> NetworkSettingsClass::applyConfig()
line 288ff
I mean, that Wifi.begin is called with Channel 1 because the enum WIFI_ALL_CHANNEL_SCAN value is 1.
The declaration of the called function is:
So the third paramter is the channel, which is in this case 1.
Please confirm the following
The text was updated successfully, but these errors were encountered: