How to turn off WiFi on a Xiaomi router at a fixed time? The switch is hidden in the health mode of the Xiaomi WiFi app, and you can't access the 31.1 backend or the Mijia app

Two weeks before my child's midterm exam,
teacher talked to us and said he was sleeping in class. When I got home, I scrolled through his tablet—he was still watching a game stream at 1 a.m. I had already set up child control before; as soon as the internet was offline, the tablet would log off. But this guy pulled out a classmate's old phone, connected it to the home WiFi, and kept scrolling. I got angry and decided to make a one-size-fits-all approach: when the time comes, FamilyMart's WiFi will be turned off immediately, and no devices will be connected to it.
idea was simple: he spent forty minutes looking for the switch. Searching online for "Xiaomi router scheduled WiFi shutdown" only shows the TP and Mercury backend paths. Following it to access 31.1, it doesn't match at all. In this article, I'll write all at once about my route finding process, setting up the test, and the night crash. Xiaomi users can just copy it.
clarify: timed WiFi off, scheduled restart, and child control are three key things
Before
start looking for switches, you need to know exactly which function you want, because Xiaomi has three similar-looking things lying here, each managing completely different things.
scheduled restart the whole device is powered off and restarted. My main router is set every Wednesday at 4 a.m., and after more than 900 hours of operation, lag and speed drops occur. During those one or two minutes of reboot, the whole family disconnects and WiFi returns on its own. I've written a full about setup process. child management is based on device time. My child's tablet is offline at 10 o'clock, and my phone is frequently taken with photos. It's precise but requires setting up one device at a time, so I can't prevent him from finding his own way. timed shutdown WiFi is exactly what I want this time: turn off all wireless signals when the time comes, keep the router still alive, and have dial-up, wired, and routing functions all included. When the time is up, it will automatically turn back on. One fixes machines, one manages equipment, one closes the door.
| function turn off | are wired devices affected | who is it suitable for | |
| reboot timed | the whole device is powered off and reboots for one or two minutes | then disconnect together | the router lags after prolonged use |
| children are controlled | designated devices during internet hours | regardless of wired | only the child and not the adult |
| timer turns off WiFi | completely off wireless signals | completely unaffected | allowing the whole family to cut off wireless |
Where is the
switch: I searched three places before I found it
first stop, I opened my computer. The browser entered 192.168.31.1 to enter the webpage backend. In 'Frequently Used Settings,' check WiFi settings and internet settings one by one, and 'Advanced Settings' is all the way down, so there's no option to turn off WiFi on a scheduled timer. I had previously mapped through the entire menu in 31.1 from start to finish, but I never saw this feature that time—it wasn't even in the web backend.
second stop, Mijia App. Clicking into the router device page, I know the toolbox contents: anti-internet access, WiFi toolbox, scheduled restart, and child control are all there, but there is no timer for wireless shutdown. Here's a bit of confusion: Mi Home and 'Xiaomi WiFi' are two separate apps, and most of the advanced functions for managing routers are in the latter. I mentioned their division of labor in my toolbox review article, this was the one I didn't go into detail at the time.
third stop, Xiaomi WiFi App. Connect to your home WiFi and open it. Drag the 'Toolbox' down to the bottom, where a portal called ' Health Mode ' lies—the name sounds vague, and its function is to shut off WiFi on a schedule. According to the official description, it helps you stay up late to save time. If you find an old tutorial saying to set health mode in the webpage backend, that was back when my first Xiaomi Router 3 was back in the day. The new firmware had already moved it into the app, so don't follow the old path on a new device.
My settings: Off at 11:30 PM, open at 6:30 PM
enter Health Mode, and you'll find a schedule: turn off time, start time, and repeat days. I set it to close at 23:30 on Monday to Friday, open at 06:30, and close at 00:00 on weekends—let it watch for half an hour on Friday and Saturday, and on Sunday nights it stays at 23:30. After saving, the app's homepage will display a new line saying "Health Mode Enabled," so no one will be watching when it's time.
there are two points to watch out for when setting up. First, it's best to connect your phone to your home WiFi—it's best to use it locally for the first time; If you're away from home, you can also change the time, provided the router has already bound your account in advance. the remote management system I've written , you can still change data on the bound machine. Second, the schedule follows the router's system clock. When the power is cut off at home, the time resets to zero, and the scheduled tasks get messed up. I've the time reset to zero—the machine with health mode checked the switch again.
had an accident that very night: it shut off all the WiFi
of this routerfirst night at 23:30, the signal disappeared right on time, and the WiFi name at home disappeared from the phone list. The child's tablet and the borrowed old phone were both taken off, so this step was considered successful.
But his equipment was not the only one missing. Half an hour later, before bed, I glanced at the Mi Home app. It was gray: the speaker, thermometer, and air purifier connected to the main router were all offline, with alarms flooding half the screen. Seeing this scene for the first time really makes me nervous. I've written about Mijia's collective offline inspection of equipment before but this time it's a living textbook—not a single piece of equipment is broken, but the network is gone. Health Mode does not turn off the WiFi name, but the entire wireless signal emitted by that router. My family had previously disassembled dual-band integration to make network setup easier, 2.4G and 5G each had their own , but that night both disappeared together.
interesting thing was the discovery the next day. At home, fourteen cameras, a vacuum cleaner, and sensors are attached to a dedicated IoT network—an old AX3600 modified AP, with a dedicated 2.4G network sent. The networking idea is in this article—the main router's health mode has no impact at all, and the recording never stops throughout the night. This AX3600 was installed as the replacement for the old AC2100. wrote about how it was adopted as a private network AP, and I wrote an about it. Unexpectedly, it gave away this side effect: when you want to take over the system in one go, the machines hide behind their own network and work as usual.
one more pitfall I had thought of in advance: wired devices are completely unaffected. The TV and desktop at home were connected via Ethernet cable, so it was online as usual that night. In other words, if a child knows a bit of the ropes, they can plug a network cable into a desktop computer and play without hesitation. I helped my cousin set up the timer switch on the Mercury side, their home had a direct network cable plug . This trick has been used across all routers—a one-size-fits-all approach never cuts off wired cables.
three remedial moves: relocation, shrinking, and temporary
Afterthe pitfall, I adjusted three more times and came up with three remedial methods, sorting them out by convenience.
first move is to move. Don't use the main router for devices worried about losing the internet: if possible, use an old router as an IoT private network AP and move about ten smart devices at once; If you don't want to go through the hassle, find a way to route the one or two units you fear most (like surveillance cameras) through wired connections. The equipment is layered and cut cleanly in one go.
second trick is to shorten the time slot. Health mode doesn't have to be turned off all night. Later, my home was reduced from 23:30-06:30 to 00:00-05:30. During those hours in the early morning, the speaker was offline, since no one was using it anyway, so it came back before dawn. If you choose a time when no one is using the internet, accidental damage is much less.
third trick is to use it temporarily. If you really need to use the internet in the middle of the night, there are two options: keep your phone on data, enter the Xiaomi WiFi app or Mi Home app, temporarily turn off health mode, wait half a minute for WiFi to come back, and after using it, turn it back on; Or if you can reach the router, just find a network cable. This automatic activation mechanism is always in place when it's time, so no one needs to manage it in the morning.
which types of families should be avoided, and wrap up with an order
two types of families, I advise you not to make a mess. First, all smart devices in the house are connected to one WiFi on the main router, with each off-off triggering an alarm. First, spend half an hour disconnecting the dual-band and separating the devices, then discuss scheduled shutdowns; Second, since your home mainly uses wired internet, no one freeloads wireless at night, so this feature is basically useless.
| your purpose | the functions you should use | my home uses it mainly |
| to control children | secretly play at night, Health mode is a safety net | tablet control plus timed network shutdown |
| to prevent staying up late and scrolling on your phone | Health mode | 23 turn off your phone at 1:30 PM and there's no way to do it |
| router gets stuck after prolonged use | reboots on a scheduled | every Wednesday at 4 a.m |
| smart devices that are old offline | first check for regular checks | follow the offline inspection sequence |
the order is as follows: first, think carefully about which of the three things you want; If you need to turn off WiFi regularly, install the Xiaomi WiFi App on your phone, enter the toolbox, and enable Health Mode; Before the scheduled period, remove equipment that is likely to be interrupted from the main route; On the first night, I just glanced at the alarm list in the Mi Home app—those on it were the ones who could be accidentally harmed; Remember, cutting off power will reset time and mess up scheduled tasks. Tenda's timed switch path is exactly the opposite of Xiaomi's—whether the website has an app or not. helped a colleague set up Tengda's post about , and both brands can be seen side by side.
