I have similar Problems.
M5Paper V18.104.22.168 and 1.7.4
I'm using my M5Paper as a temperature/humidity monitor and to toggle a smart humidifier. I'm using UiFlow and my Homebridge's REST API via HTTP GET/PUT method.
It all works perfectly (updating every 5 minutes), but after several days (about 3, have to figure it out exactly) the device freezes during the connection / data update process.
Has anyone noticed similar problems?
I also tried to implement a scheduled reboot every night as a workaround, but the restart placed in a timer also freezes the device...