-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
EMW3080/RTL8710BN: WiFi connection failure after upgrade to LT1.0.1 #113
Comments
There were some wifi related changes in Realtek that were meant to make reconnection better (and it did in my case). Apparently not for everyone. Is the old bin compiled with latest 0.13.0/0.12.6 LibreTuya? Or something older than this? |
This is the bin I re-flashed (and which is working ok):
If you give me a rough hint where to look I can do some trial-and-error changing/testing. |
Well, I guess you could compare the WiFi impl between 0.13.0 and 1.0.0 on Realtek... I sadly don't have time to do this right now, but that's what I would begin with. |
WiFi seems to be OK for normal operation, at least for the last days. However, this morning (the inverter switches off during the night), the stick was initially unable to connect to WiFi ( |
This is a problem I couldn't fix on Realtek. The SDK doesn't like disconnecting from the AP, it usually can't reconnect back to it. I have tried many options, and none of them worked. |
Within ESPhome WiFi component there is a 'reboot_timeout=15min' setting ("The amount of time to wait before rebooting when no WiFi connection exists"). Unfortunately this problem seems not to be catched by this counter, the device is caught in an endless loop. Is there a way to reboot the device if WiFi STA fails (re-)connecting? |
Is there a way to use |
No, there's no easy way to do this. |
I'm still getting it with a RTL8710BN on the latest v1.0.2 though Like, sometimes it'll connect, but sometimes I'll need to disconnect&reconnect it from power a few times for it to connect to my WiFi Log shows the same |
And that's how it's been for the whole time, I think. I was getting these errors on 0.13.0 as well. |
ah, well, I can't install the Midea UART integration anyways (requires the LibreTiny works great on Tuya ESP clones tho |
I upgraded from LibreTuya to LibreTiny via OTA and the EMW3080 stick did not reconnect to network. Analysis via serial port showed:
I took the stick out of the room where the solar inverter is located and placed it near the router antenna. With this, the stick gets an IP address but restarts shortly after during the boot process.
With LibreTuya the WiFi connection never was a problem (even in the room where the solar inverter is stored).
For now, I re-flashed an old LibreTuya firmware bin and everything is working fine again.
The text was updated successfully, but these errors were encountered: