AWSW-de / WordClock-16x8-LED-matrix

WordClock 16x16 LED matrix (2023)
GNU General Public License v3.0
21 stars 8 forks source link

looses wifi connection in +- one day #15

Closed jlandegent closed 3 months ago

jlandegent commented 4 months ago

it is not possible to login after one day. the board looses connection with the wifi. ip's are not seen in the router anymore or ip scan. tested with two different setups, two different wifi spots. maybe a scheduled restart can be implemented to keep alive the wifi?

AWSW-de commented 4 months ago

Hello, are you using the recommended board for the project or a clone? I am running several WordClock with both ESP32 models and the run for months and are triggered each day from my smart home environment successfully…. The used router and chip are a variable of course. How far is the device away from your router? Maybe to weak signal? A maintenance restart could be added, but there are several thousand devices now running and this is the first report to this. So please try to sort the above named reasons out before we add functionality that might not help with the problem in the end. Thanks and kind regards =)

jlandegent commented 4 months ago

i use the recommended hardware by using the links from the project. the clocks are just a few meters away from wifi points. maybe the issue is on my end.... every night my wifi points have a restart scheduled. maybe when the clocks loosing their connection they won't reconnect to the network. i will disable the scheduled restart. will report back.

jlandegent commented 4 months ago

use for several days without reset my router, the clocks remain connected. so it means that when wifi signal is lost, there will be no handshake anymore and the clocks will functioning offline.

AWSW-de commented 3 months ago

V3.7.0 addresses this issue. The ESP32 seems to try only a few minutes on its own to reconnect. After this it stops the reconnect tries. In the new version WordClock activly checks its connection every minute and will perform theses actions:

The option can be turned off in case someone will not like this new function, but will be enabled by default:

Unbenannt

Hope to help!

Kind regards AWSW