Mijia Homecoming-Home mode cooperates with the same configuration, and when the door lock is on, both the lights and air conditioning turn on

Last Wednesday, I worked overtime until 9:30 to get home, entered the door in the dark, searched for the entryway switch, and bumped my knee against the shoe bench. The next day, I set up the "homecoming mode" I'd put on hold for half a year—now, with a fingerprint press, the entrance and living room lights turn on one after another, the air conditioner turns on to 26 degrees, and the speakers say "Welcome home." My knees didn't get knocked in vain.
Actually, I've been saving up dozens of Mi Home devices for over three years, each managing its own way: the lights are on the lights page, the air conditioner is on the air conditioning page, and every night before bed, I have to turn them off one by one. The equipment is intelligent, but its operation is still loose. Putting them together, only after finishing did I realize it was easier than I thought, and there were more pitfalls than I had imagined. This article covers all the configurations I've mastered and the pitfalls I've encountered.
Let's clarify two things: device intelligence and scenario linkage are not the same
thingMany people get stuck at the first step: they think installing the app guarantees whole-home intelligence. The difference is far. Single-product intelligence means a single device can be controlled by its own phone, while scenario linkage means multiple devices are synchronized with a single action. In the Mijia App, the place to handle these two things is on the "Smart" tab at the bottom. Click the plus sign in the top right corner to select which one to create
| How to trigger | the type | , what is suitable |
|---|---|---|
| In manual scenes | , click the button yourself, or call Xiao Ai, ' | Gohome' mode, 'Leave home' mode, 'Good night mode |
| the automation | condition is up, run on your own, no need to intervene | Sensor linkage, scheduled tasks, door lock triggers |
In short: manual scenes are like buttons, automation is switches. For things like going home and leaving home—which should only happen when you're downstairs—using manual scenarios and triggers is the safest choice; Things like getting up at night and turning on night lights—things that happen even when no one is watching—are automated now. At first, I made the homecoming mode fully automated (triggered by geofences), but I made some pitfalls, which I'll explain later.
My homecoming mode: unlocking the door as the trigger, a series of actions lined up
The core of the Home mode is to choose an "entry move" as the starting gun. There are three options: mobile geo-fence (automatically triggered when people arrive in the community), door lock unlocking (activated with a single fingerprint press), and wireless door switch (triggered with one press). I've tried all three, but in the end, the only option left was unlocking the door.
The problem with geofencing is that it is inaccurate. Once, I walked downstairs, my phone entered the fence first, and all the lights at home were on—I was still in the elevator. What's worse is the reverse scenario: the location drifts to me as I "leave," and the "Leave Home" mode leaves my family in a dark room. The door lock doesn't have this issue; the fingerprint triggers instantly when pressed, with zero error. When I chose the I deliberately chose the Bluetooth version with linkage capability, which was the right choice.
Here's how I arranged the action list:
| the device | actions arranged like | |
|---|---|---|
| Entrance light + living room light | turned on, brightness 80% | bright, two lights on the entrance path, Zero-Fire Smart Switch Direct Control |
| Conditioner (Wall-Mounted) | 26 degrees | Air Conditioner Companion Delivers Infrared Code, Faster Than Finding a Remote Speaker |
| Broadcasts Welcome Message | Casually let Xiao Ai speaker announce room temperature, so you can tell when you enter the door whether to open the window |
One detail to note: add a time condition: "After sunset." I didn't add it to the first page, but when I got home during the day, the lights were on all the way, just a day's dazzling day. With the added time condition, during the day the lock only triggers the air conditioning, and at night, the lights are on. In the condition bar, you can also select "weekdays" and "weekends," so you can check both so you don't even need to turn on the air conditioner when you get home during the weekend.
Away from home mode is truly worry-free: one button shuts down ten devices
Compared to the homecoming mode, the away mode is more worthwhile. What's the most annoying thing before going out? Go door to door checking if the lights and air conditioning are off. At my place, this button is pressed: all six lights in the house are turned off, the air conditioner companion is turned off, the TV socket is cut off, the vacuum cleaner starts up when I go out and starts working, and the bathroom exhaust fan shuts off by itself after a ten-minute delay.
The last way I triggered it was a wireless switch stuck at the door—the same wall-mounted model I bought when buying the lighting switch. Press it before leaving, much faster than pulling out your phone and clicking the app, and much more reliable than geofences. Whoever leaves the family last, the one who leaves is the one to hold the responsibility.
There are two things I deliberately left out of Away mode. First, the cameras. When I went out, it was exactly when it should be working, and six heads were recording around the clock. I thought this through especially well when checking camera security. the six heads at home for self-checkingOnly after finishing do you dare to let it work with peace of mind. Second, cat feeders and other cat-care devices are supposed to be online all the time, so putting them in away mode is just a careless move. When preparing your checklist, ask yourself if you're unsure about the device: If the internet goes off, will it still run on its own? The running power doesn't fall under this button control. I copied this method from the article about the vacuum cleaner's offline offline test. the vacuum cleaner didn't lose the map even after three days of internet disconnection. For devices with strong local capabilities, running it in away mode is actually unnecessary.
Sensor linkage: the night light that wakes up at midnight
Beyond the scene buttons, what truly makes family members feel "this money is well spent" is sensor linkage. The most successful one: corridor human body sensor + entrance light strip. Between 2 and 5 p.m., if someone passes by, the warm light will turn off by 20%, and it will turn off 30 seconds after someone leaves. Elderly people don't need to touch switches when getting up at night, and the warm light isn't harsh. The sensor is Zigbee, using a multi-mode gateway, with low power consumption so low that the battery is replaced only once a year. I wrote about protocol secrets in the article Zigbee: with more than twenty sensors at home, all connected to one gateway, the router's backend can't even count them.
The second commonly used method is to stick the door and window sensor on the window: in winter, if you open the window for ventilation for more than twenty minutes and don't turn it off, your phone will pop up a reminder. The third is the balcony water leak sensor next to the washing machine: if leaks occur, it immediately pushes the sensor and simultaneously shuts off the washing machine's smart socket—this socket is one of the seven smart sockets in my home. When I first divided it into 10A and 16A, I spent a long time thinking about it. choosing the wrong current level can cause problems.
These sensors share a common trait: the trigger logic is locally stored at the gateway, and it runs even when the external network is disconnected. It's the same as electric curtains—the cloud only sends notifications to your phone.
I hit all three pitfalls: running around the fence, family members rushing to trigger the phone, and splitting the internet in
halfThe first pitfall, mentioned earlier, is geofence location drift, and the trigger timing depends entirely on your phone's mood. My conclusion: the fence only serves as a backup reminder (like "I'm almost home, turn on the air conditioner early"). Don't rely on it for the main scenario of going home or leaving.
The second pitfall is even more hidden: everyone has Mijia installed on their phones, and the geofence's 'leave home' condition defaults to 'if anyone leaves.' One time, I left first, and my wife was still asleep, with all the lights and air conditioning turned off. You have to change 'anyone' to 'everyone' in the condition settings, or just like I did, abandon the fence and use the door button—whoever leaves last, presses it—physically the most honest.
The third pitfall is internet disconnection. The scenario linkage is divided into two halves: the cloud half includes geofences, remote button taps on phones, app pushes, and the entire network is stuck when broadband is cut off; The local half is sensors→ gateways→ and executing devices, running through the home local area network; if the external network is disconnected, it still runs smoothly. My router has been isolated by IoT private networks. All these sensor devices are embedded in the private network and do not interfere with the main network. How to divide the network segment is written in the article on old router converted to AP. On the day of the internet outage, my experience was: the night light stayed on, but pressing the 'leave home' button didn't respond (because the button used Zigbee but had a WiFi port in the action). When planning scenarios, keep this line in mind: which actions would cause the network to go blank? I had to go through my own list without knowing what would happen.
Follow my copy: three steps to match it
Don't do dozens of moves at once; my suggestion is to follow in three steps
| What | sequencetakes time | |
|---|---|---|
| Step one | : create two manual scenarios: home mode and away mode — insert three or four of each for the most painful | actions for ten minutes |
| Step two | : add the door lock to the home mode and unlock the trigger + At sunset, place a wireless switch tube at the door for ten minutes from home | |
| Step three | :choose a sensor to test automation (human body + night light is the least likely to fail). If it runs smoothly, add | another half hour |
If you have dozens of devices and want to go even harder with cross-brand collaboration, then consider installing Home Assistant on a NAS, After I installed HA in Feiniu, I can do more, but that's just a hassle route. At the step of ordinary people reaching Mijia's built-in scenes, 80% of the whole-house intelligence is already experienced. The rest, wait until you hit your knee a bit before you can talk about it.
