Stability Problem: Sunrise alarm clock , controlled by Eventor, but Wemos crashes multiple time a night

Here’s the link to the original code:

I hope somebody can help me:)