mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 00:04:28 +01:00
[GH-ISSUE #346] Loss of connection after a few hours of use #1858
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @canoben on GitHub (Jul 3, 2024).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/346
Describe the bug
I have a few tags and they work fine using a Home Assistant automation. But after a few hours of use, the connection to the AP is lost, the built-in screen turns black and the RGB LED displays a constant blue or green light (instead of pulsating). Disconnecting the power and rebooting the device restores functionality.
To Reproduce
Steps to reproduce the behavior:
Expected behaviour
The device should work continuously without needing a reboot every day.
Screenshots
screen goes completely black
Additional context
I'm using latest firmware 2.60b
@Misiu commented on GitHub (Jul 4, 2024):
I have a similar issue.
I'm using BLE_ONLY firmware on ESP32S3 (installed via https://install.openepaperlink.de/), on the firmware updates page I see these variables:
I have a single BLE GICIsky 2.9 display and I'm controlling if from Home Assistant.
After some time I noticed errors in Home Assistant logs and was unable to access Access Point via IP, restarting the ESP solved the issue.
This situation happened 3 times till now.
Not sure how to debug this or get any logs that could help with fixing the issue.
@r2kch commented on GitHub (Jul 6, 2024):
had the same issue with my MiniAP V4 - downgraded to 2.52. Please be aware that there is no or limited ble support.
Can you grab the logs via the UART port? (see: https://docs.espressif.com/projects/esp-idf/en/stable/esp32/get-started/establish-serial-connection.html)
@Misiu commented on GitHub (Jul 16, 2024):
@r2kch thank you for the reply.
I'm aware that BLE is "experimental". I've had to restart my AP two days ago.
I'm using Windows, any steps I should follow? When should I connect the USB to UART? Should I unplug the the power and only have a single cable connected from UART to PC?
The AP works fine for a couple of days and then it crashes. Not sure when and for how long I should gather the logs.
@Derek-K commented on GitHub (Sep 1, 2024):
For reference, I saw this update was supposed rolled into 2.07
fix: in rare cases, an AP didn't connect to a WiFi network due to some tight timing
1d03eedfd6@Derek-K commented on GitHub (Sep 1, 2024):
However, I looked at the code change, it doesn't really explain why there is a WiFi disconnection in the first place.
1d03eedfd6/ESP32_AP-Flasher/src/wifimanager.cpp (L140-L145)1d03eedfd6/ESP32_AP-Flasher/src/wifimanager.cpp (L211-L214)It just adds
delay(100)inwifimanager@foorschtbar commented on GitHub (Sep 4, 2024):
Same problem here with 2.60b. Lost wifi connection nearly every day with my ESP32S3 mini AP
Maybe some changes in the ESP SDK!?
@nlimper commented on GitHub (Sep 4, 2024):
It can be caused by all kinds of reasons. The people who react 'me too!' could have a very different cause as the original poster. Without extensive debugging, it's impossible to fix. It can be caused by all kinds of things, including your Wifi AP settings, including using an instable power supply for the OEPL AP.
When BLE is enabled: it's experimental, and the BLE stack is kind of buggy. Won't fix.
The reference to 1d03eed: that's completely unrelated
To debug, capture the serial output of the AP, to see if there's anything interesting happening. Also, check whether it also hangs if you don't make a HA connection. Also, change the power supply of your AP to a different one to rule that out too, it has happened more often that that was the problem.
@foorschtbar commented on GitHub (Sep 4, 2024):
You can also see it differently. I notice a problem and first check if there is already a similar one and then someone describes a similar problem. What should I do? Open a new issue? I think it would be helpful to tell the OP in which constellation (hardware + firmware) I also have the wifi issue, so that WE can look for similarities to solve the error.
@nlimper commented on GitHub (Sep 4, 2024):
Fair enough. As long as all participants realise that 'the wifi issue' can be different (and will have different causes) for everybody :-)