If you have a Wi-Fi connection, you may encounter some problems with your Wi-Fi router, such as disconnecting from the internet. Most of the time, you can fix this issue by power cycling your router.
To make this process easier, I've created a wireless switch that lets you turn the router off and on without needing to be near it. Press a button at your desk, and the router will be turned off for two seconds, and then it will turn back on automatically.
link to the project
https://www.instructables.com/ESP32-B...