Thank you for your message.
I posted my program.
I got an error in the same time several times in this program.
So, I measured the sensor value every 5 seconds, but I extended it every 10 seconds.
I don't know if that was good, but so far it hasn't stopped for 3days.
Please let me know if there is anything else you know.
0_1655105371937_m5_2.png