IoT cloud disconnect after a few hours UNO R4 WIFI

Hi,

I use a UNO R4 WIFI to control and monitor temperatures in a greenhouse and be able to receive alarms and also use my phone to verify live greenhouse conditions.

I have an issue when connected to the cloud.

After a few hours of normal operation, it loses connection to the cloud.

The program use the led matrix to show the status of the connection. When connected to the cloud, the program draws a cloud on the led matrix. When there is no WIFI, it draws a big X and when there it's connected to WIFI but not to cloud it draws a WIFI symbol.

Theses photos show the different state shown on the led matrix.



After booting, the led matrix shows the X, then the wifi symbol and then the cloud symbol wich is normal state of operation. The cloud symbol stays until the connection to the cloud get lost after a few hours, typically between 3 and 12 hours.

At that moment, The led matrix shows the X and the WIFI symbols alternaltly at a 1 second interval wich is probably my program scan time.

I reserved an IP address on the DHCP router to avoid conflict.

The program has nearly a thousand lines.

I wonder what is the problem if anyone can help.

Sorry for my english writing if I made some errors.

Thank you in advance.

Hi just to show the connection time, here is a seven days graph of temperatures monitoring. I have to reset the controller manually so this is why there is such inactive period of time.

Thank you all.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.