How do you set up Mijia Homecoming mode? When the door lock is turned on, both the lights and air conditioning turn on, and I copy my scenario linkage configuration directly

worked overtime last Wednesday until 9:30 to come home, entered in the dark, searched for the entryway switch, and bumped his 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 Mijia devices at home for over three years, each managing their own things: the lights are on the lights page, the air conditioner is on the air conditioner 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.
first distinguish two things: device intelligence and scenario linkage are not the same thing
many people get stuck at the first step: they think installing the app guarantees whole-house smart living. 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 manage these two things is on the "Smart" tab at the bottom. Tap the plus sign in the top right corner to choose which
| type | how to trigger | what is suitable for | |
| manual scenes | you can tap buttons yourself or call out to Xiao Ai | When the conditions for automated | |
| come homecoming, leave, and goodnight modes, you can run on your own, without needing to be | sensor linkage, scheduled tasks, or door lock triggers |
in short: manual scenes are buttons, automation is a switch . 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 a trigger, lining up in a series of actions
The core of
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.
geofence problem 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. When I unlocked, this problem didn't happen—the fingerprint triggered instantly with zero error. When I chose smart door lock back then, I specifically chose the Bluetooth version with linkage capability when I chose , which was the right choice.
Here's how I arranged the
action list:
| device | actions | why is it so arranged |
| entrance light + living room light | on, brightness at 80% | Two lights on the entrance route, Zero and Huo smart switch directly controlling |
| air conditioning (walled) | turn on at 26 degrees | Air Conditioner Companion send infrared codes, faster than searching for a remote control |
| speaker | announce a welcome message | and have Xiao Ai speaker announce room temperature, so you can tell right when you enter the door whether to open the window |
one detail to keep in mind: 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 stations
more worthwhile than the 'home-to-home' mode is the 'away from home' mode. 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.
trigger method, I ended up sticking a wireless switch at the door—the same wall-mounted model I bought when buying the lighting switch. Press it before leaving, much faster than taking 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 not put in Away from Home mode . First, the cameras. When they go out, it's exactly when they're supposed to be at work, and all six are recording around the clock. I thought this through carefully during the safety checks of the cameras, the six self-checks at home only let them 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? Running isn't the button control. I copied this method from the vacuum cleaner's offline test article. the vacuum didn't lose the map for three days without losing the map. For devices with strong local capabilities, running it in remote mode is actually unnecessary.
sensor linkage: the night light that lights up at midnight
Beyond
scene buttons, what truly makes family members feel "this money is worth it" 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, and the power consumption is so low that you only replace the battery once a year. I wrote about protocol tricks in Zigbee : with more than twenty sensors at home, all connected to one gateway, the router's backend can't even count them.
second commonly used is to stick the door and window sensor against the window: in winter, if the window is open for ventilation and not turned off for more than twenty minutes, the phone will pop up a reminder. The third is the balcony water leak sensor next to the washing machine: it immediately pushes out leaks 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, but choosing the wrong current setting could cause problems.
these sensors share a common temperament: the trigger logic is locally on the gateway, but it runs even when the external network is disconnected. It's the same as electric curtains—the cloud only sends notifications to your phone.
three pitfalls were all tackled: running around the fence, family members rushing to trigger the phone trigger, and splitting the internet in half
first pitfall, mentioned earlier, geofence positioning drifts, 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.
second pitfall is even more hidden: everyone has Mijia installed on their phones, and the geofence's 'Leave Home' condition defaults to triggering if either person 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 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, so they don't interfere with the mainnet. How to divide the network segment is written in the about converting old routers to APs. On the day I lost the internet, my experience was: the night light stayed on, but pressing the 'leave home' button didn't respond (because the button was Zigbee but had a WiFi port in the action). When the scene, you need to keep this line in mind: which actions would make the internet go unresponsive, and I would flip through my own list without knowing .
copy my instructions: three steps together
don't need to do dozens of moves at once; my suggestion is to follow it in three steps:
| sequence | what to do | time-consuming |
| Step | first create two manual scenes: Home mode and Away mode, Insert three or four of each for the most painful actions | ten minutes |
| Step two | add the homecoming mode plus the door lock unlocking trigger + sunset time conditions, stick a wireless switch tube at the door, leave the house | ten minutes |
| Step 3 | choose a sensor to test automation (human body + night light is the least likely to fail), and if it runs smoothly, add another half | hour |
I have dozens of devices, want to go even harder with cross-brand collaboration, then consider installing Home Assistant on a NAS. I can do more after installing HAs into Feiniu 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.
