Here's an overview of Keep Connect's General Operation: All highlighted text are default values and can be modified.
1. Every few minutes (5 minutes), Keep Connect monitors your internet health by attempting to reach a primary domain (google.com). If the primary domain is unreachable, it will retry after one minute using the secondary domain (cnn.com). If both attempts fail, Keep Connect concludes that the internet is down and proceeds to restart your router.
2. After restarting the router, Keep Connect waits for a few minutes (3 minutes) before attempting to reconnect to your WiFi network and check if the internet is available. This is to make sure router/modem already supplying internet before KC
3. If the internet is still down, Keep Connect continues to restart your router (repeating step 1) until it successfully detects internet connectivity. The default value for the maximum allowable resets is 3 (adjustable up to 99).
4. If the maximum allowable restarts are reached (e.g., Keep Connect restarts your router 3 times), it will wait for a couple of hours (4 hours) before attempting to restart the router again (for up to 3 times).
5. This loop continues until Keep Connect successfully regains internet connection to monitor your internet health.
Lastly, Once Keep Connect reconnected to your WiFi and finds a healthy internet, Keep Connect sends a notification that a reboot or power cycle was initiated.