Hello,
I apologize for bad English.
When I leave the house carrying my phone, which is connected via WIFI, it is necessary that the Internet on the router is turned off, and when I return and my phone is reconnected to the WIFI network, the Internet appears again on the router. How to implement this?