||Modem/Router Watchdog Software|
The software/firmware for the Modem Watchdog. The zip includes a .uf2 file that can be copied directly to the Pico W plus the BASIC source code, which can be loaded onto a Pico W that's programmed with the WebMite firmware.
After loading the firmware, you still need to connect to the Pico W with a terminal program to set the WiFI credentials. Refer to the article for details on how to do that.
Update 28/11/2023: the software is now V3 and constructors are advised to upgrade. Changes are to the BASIC code only, so you can re-upload it. This fixes two bugs, one which caused a reboot if NTP fails regardless of the other checks, and another which might have prevented the relay from switching at all. V3.1 features a revised .uf2 file that should load more reliably.