Once the router is off, you will lose some smart functionalities. However, the pressing the switch physically will always work. Aqara Smart Hubs will connect back to your wifi automatically when the network is turned back on, and smart functionalities will be automatically restored.