Heater wrote: ↑Fri Feb 21, 2020 6:09 pm
Assume anything can fail at any time. Due to your software bugs, network interruptions, even bugs in the OS or drivers or device firmwares.
Keeping WiFi working seems particularly troublesome with the Pi. If there are not enough packets regularly traveling back and forth, the WiFi radio appears to switch into power saving mode. At this point packets routed through the access point can no longer can reach the Pi. In turn, some access points appear to forget the cryptographic secret. Then, even if the WiFi interface on the Pi leaves low power mode, there is no connection.
One solution, out of desperation, is to create a ridiculous keep-alive process on the Pi that sends packets to and fro (like Nagios) and thereby prevents the WiFi radio from entering low-power mode.