Uno wifi always crash after few hours...

Hi!

i have use an uno wifi rev2 to remotly manage a wind generator/solar panel system… The code does what it supposed to do, except that it crash randomly, and i dont figure out why!

i have try to use the “watchdog” but it look like its not compatible with this board!

The board firmware is 1.4.1, all library are up to date…

Here is the code, maybe someone can help me figure out why my board always freeze?

Thanks!

(I have attached the code, because its over 9000 characters and i can not insert it in my post)

ControleurEolienneBeta14.ino (34.8 KB)