Skip to content
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

OpenDTU-Wifi does not reconnect after a network WiFi failure #2366

Open
4 tasks done
dg3feh opened this issue Oct 21, 2024 · 9 comments
Open
4 tasks done

OpenDTU-Wifi does not reconnect after a network WiFi failure #2366

dg3feh opened this issue Oct 21, 2024 · 9 comments
Labels
bug Something isn't working

Comments

@dg3feh
Copy link

dg3feh commented Oct 21, 2024

What happened?

When e.g. rebooting my wifi accesspoints (Mikrotik Devices) in the network the OpenDTU-Esp32 does not reconnect to the network. All esphome devices are fine with that.

To Reproduce Bug

Just reboot the Mikrotik Devices and it will happen again

Expected Behavior

After a reboot the OpenDTU-esp32 connect to the Wifi and requets an IP using DHCP.

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?

No response

Please confirm the following

  • I believe this issue is a bug that affects all users of OpenDTU, not something specific to my installation.
  • I have already searched for relevant existing issues and discussions before opening this report.
  • I have updated the title field above with a concise description.
  • I have double checked that my inverter does not contain a W in the model name (like HMS-xxxW) as they are not supported.
@dg3feh dg3feh added the bug Something isn't working label Oct 21, 2024
@tbnobody
Copy link
Owner

Did you consider this?
image
https://www.opendtu.solar/firmware/faq/#debugging

@dg3feh
Copy link
Author

dg3feh commented Oct 21, 2024

AccessPointTimeout is set to 30min. The Device reboot takes about 1...2min, thus it should reconnect after 10min, at least after 20min, but it doesn't.

@tbnobody
Copy link
Owner

In this case, please provide a output of the serial console.
But I think it's the same as #2202

@mhin76
Copy link

mhin76 commented Nov 11, 2024

Same issue here since upgrade to newer version. I am turning off my wifi on purpose over night. That worked just fine on version v24.6.29 using prebuild generic-ESP32 version. But on later version I had to reboot the DTU every time. I am back on version v24.6.29 again.

@stinkmop
Copy link

stinkmop commented Nov 25, 2024

Not exactly the same, but very similar. My wifi is switched off every night for security reasons. During the day it happens again and again that the OpenDTU cannot be pinged. A few minutes later it works again without me having changed anything. The OpenDTU is only 1 meter away from the WLAN router. This means that the GUI is sometimes not accessible. This problem has been going on for a few weeks. I have regularly updated the firmware of the OpenDTU. When I bought the OpenDTU in May, this problem did not exist. It only appeared in the months that followed. Unfortunately, I don't know how to install an older firmware to test when this problem occurs.

@mhin76
Copy link

mhin76 commented Nov 25, 2024

Not exactly the same, but very similar. My wifi is switched off every night for security reasons. During the day it happens again and again that the OpenDTU cannot be pinged. A few minutes later it works again without me having changed anything. The OpenDTU is only 1 meter away from the WLAN router. This means that the GUI is sometimes not accessible. This problem has been going on for a few weeks. I have regularly updated the firmware of the OpenDTU. When I bought the OpenDTU in May, this problem did not exist. It only appeared in the months that followed. Unfortunately, I don't know how to install an older firmware to test when this problem occurs.

try to downgrade to v24.6.29. you can download prebuild firmware from github repository. how do you upgrade currently to new version? in case you also use a file based firmware, you can just use (overwrite it with) older version.

@stinkmop
Copy link

stinkmop commented Nov 25, 2024

I currently upgrade in the GUI of the OpenDTU. I download it from here: https://github.com/tbnobody/OpenDTU/releases

I tried a downgrade to an older version in the GUI as well, but this failed. As I am not an IT expert, I have no idea how to downgrade other than with the GUI.

@mhin76
Copy link

mhin76 commented Nov 25, 2024

I currently upgrade in the GUI of the OpenDTU. I download it from here: https://github.com/tbnobody/OpenDTU/releases

I tried a downgrade to an older version in the GUI as well, but this failed. As I am not an IT expert, I have no idea how to downgrade other than with the GUI.

I use a special upgrader, but that is because I have bought a prebuild OpenDTU hardware: https://www.diamex.de/dxshop/DX-DTU-Klassik-mit-kleinem-OLED-Display-096-242-cm under download there is this DX-DTU uploader. But if you don't use a DX version, I would not use it. Cannot further help you on downgrading. Maybe someone else in the community has an idea or you find it by googling. Good luck!

@stefan123t
Copy link

@stinkmop you may follow the installation documentation on how to install a current or old firmware. As others noted you may need to use a USB cable to connect your OpenDTU i.e. the ESP32 chip on it to your PC and flash the firmware image.
Did you take backups of your pin_mapping.json and config.json under System > Config ?

Please kindly consider to open your own discussion or join the Discord as this is not related to the original issue discussed here anymore. Thanks!

@tbnobody tbnobody mentioned this issue Nov 29, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants