Enviro randomly stops transmitting

I have 3 of the enviro sensors with 2 in the attic and 1 in the garage. All 3 randomly stop transmitting to the mqtt server. When I notice a long duration, hours, of no updates and go look at it, the warn light is on. Once i hit the reset button, they return to operation. Ive updated all 3 to the newest firmware and the newest code from github.

What I’m looking for is a bit of a watchdog function or an auto reboot every 1 to 2 hours. As this code is extensive to say thr least, im not quite sure where this could be injected.

Climbing up into the 2 attic spaces multiple times a day is getting old. Sometimes this can be 12 hours, sometimes 1 hour. All 3 of these have dedicated power with USB power being provided.

Thoughts on how I can get an auto reset feature enabled?
Garage sensor:

Sorry can only attach one image at a time

Another

Last picture. Flashing warn light. Pressed reset and its back to reporting.

Ok, one last showing its reporting now.

Log Data:

2000-01-01 00:00:01 [debug / 119kB] > performing startup
2000-01-01 00:00:01 [info / 114kB] - wake reason: unknown
2000-01-01 00:00:01 [debug / 112kB] - turn on activity led
2000-01-01 00:00:01 [info / 127kB] > clock not set, synchronise from ntp server
2000-01-01 00:00:01 [info / 125kB] > connecting to wifi network ‘WIFI_NAME’
2000-01-01 00:00:03 [debug / 119kB] - connecting
2000-01-01 00:00:04 [debug / 113kB] - connecting
2000-01-01 00:00:01 [debug / 119kB] > performing startup
2000-01-01 00:00:01 [info / 128kB] - wake reason: unknown
2000-01-01 00:00:01 [debug / 127kB] - turn on activity led
2000-01-01 00:00:01 [info / 125kB] > clock not set, synchronise from ntp server
2000-01-01 00:00:01 [info / 123kB] > connecting to wifi network ‘WIFI_NAME’
2000-01-01 00:00:03 [debug / 117kB] - connecting
2000-01-01 00:00:06 [debug / 103kB] - connecting
2000-01-01 00:00:07 [info / 98kB] - ip address: 192.168.1.201
2022-09-11 22:46:50 [info / 89kB] - rtc synched
2022-09-11 22:46:50 [info / 128kB] > 1 cache files need uploading
2022-09-11 22:46:50 [info / 126kB] > already connected to wifi
2022-09-11 22:46:51 [info / 110kB] - uploaded 2022-09-11T22:46:50Z.json to mqtt
2022-09-11 22:46:51 [info / 107kB] > going to sleep
2022-09-11 22:46:51 [debug / 105kB] - clearing and disabling timer and alarm
2022-09-11 22:46:51 [info / 103kB] - setting alarm to wake at 22:50pm
2022-09-11 22:46:51 [info / 101kB] - shutting down
2022-09-11 22:46:51 [debug / 99kB] - on usb power (so can’t shutdown) halt and reset instead