I have a fleet of 30 boards. I have them all set up to sleep for most of the time but wake up from network messages, a GPIO pin, or a duration of 15 minutes (to keep them all cloud connected). Only the GPIO pin wakeup method keeps the board awake for an extended period of time, the other wake up methods wake the board up for a very short amount of time, publish their vitals, and then put them back to sleep.
This mostly works. Except, only occasionally on some boards do they continuously wake up about every 10 seconds. I'm logging these messages during that time but I don't know what to make of them. I can't figure out what network activity is causing them to wakeup. Here are the logs:
Serial connection closed. Attempting to reconnect...
Serial monitor opened successfully:
0000044226 [comm.coap] TRACE: Received CoAP message
0000044227 [comm.coap] TRACE: ACK 0.00 size=5 token=29 id=251
Time to sleep.. bye!
reason: 4
0000045035 [system.sleep] TRACE: Entering system_sleep_ext()
0000045036 [system.sleep] TRACE: Interface 3 is off already
Serial connection closed. Attempting to reconnect...
Serial monitor opened successfully:
Time to sleep.. bye!
reason: 4
0000070588 [system.sleep] TRACE: Entering system_sleep_ext()
0000070589 [system.sleep] TRACE: Interface 3 is off already
Serial connection closed. Attempting to reconnect...
Serial monitor opened successfully:
Time to sleep.. bye!
reason: 4
0000074814 [system.sleep] TRACE: Entering system_sleep_ext()
0000074815 [system.sleep] TRACE: Interface 3 is off already
Serial connection closed. Attempting to reconnect...
Serial monitor opened successfully:
0000078911 [comm.coap] TRACE: Received CoAP message
0000078912 [comm.coap] TRACE: ACK 0.00 size=5 token=2d id=259
Time to sleep.. bye!
reason: 4
0000079740 [system.sleep] TRACE: Entering system_sleep_ext()
0000079741 [system.sleep] TRACE: Interface 3 is off already
Serial connection closed. Attempting to reconnect...
Serial monitor opened successfully:
0000086670 [comm.coap] TRACE: Received CoAP message
0000086671 [comm.coap] TRACE: ACK 0.00 size=5 token=2e id=261
Time to sleep.. bye!
reason: 4
0000087543 [system.sleep] TRACE: Entering system_sleep_ext()
0000087544 [system.sleep] TRACE: Interface 3 is off already
The "reason: 4" log is tracking the "System.wakeUpReason()"
Could someone help me interpret this? If you're wondering - I have the boards set up with a webhook integration but they are set up to only subscribe to events attached to their board's ID.