Skip to Content

Living Room | The five seconds coming in and the five going out

Hands full, running late, and dark. The two moments that most need help and get the least.
February 12, 2026 by
Living Room | The five seconds coming in and the five going out
渥屋科技股份有限公司, 系統管理者
Living Room

SMART HOME BUTLER · LIVING ROOM

The five seconds in, and the five seconds out

The two moments in a day when you most need a hand both happen at the front door. Arms full, running late, pitch dark. Coming home has to be fast. Leaving has to be thorough.

30 sec
Home, and the room is ready
60 sec
Out, and the house shuts down
3
Rules is all it takes

The doorway is the busiest place in the house

When you walk in, your hands are usually full. Keys in one, groceries in the other, a bag on your shoulder. That is exactly when you have to reach for the row of switches on the wall, and get the order wrong. After dark it is worse, because the entry is the darkest stretch of floor you own.

Walking out is the mirror image. You are in a hurry and your head is already at work. Did the air conditioner go off? The lamps? The blinds? Those questions usually arrive in the lift, and nobody turns back for them. So everything stays on all day.

The two halves are not equally hard. A welcome has to be fast — the light has to be on within three seconds of the door opening, or it may as well not exist. A departure has to be thorough — thirty seconds late is fine, but nothing can be missed, and it must never fire while somebody is still home.

Which is why they listen to different things

The welcome listens at the door. A magnetic contact reports the moment the door swings, and that signal is close to instant, so the lamps can move straight away. The departure listens to your phone. Once the phone leaves the area around your home the system does not act immediately — it first confirms that nothing inside the house is moving, and only then starts switching things off, one at a time.

ARRIVING · 0 to 30 seconds Has to be fast, the door is the cue LEAVING · 0 to 60 seconds Has to be thorough, slow is fine IN OUT 0s Door contact reports an opening Entry and living room lamps rise to 30% 3s Motion confirms you walked in Lamps reach 60%, hallway follows 8s Blinds open halfway Daytime only, after dark they stay shut 15s Cooling leaves its away setting Target temperature returns to your usual 30s It stops, the room is yours again Whatever you adjust now, it leaves alone 0s Your phone leaves the home area Noted only, nothing switched off yet 10s Checks nothing indoors is moving Any motion cancels the whole run 25s Living room, hallway, entry go dark Inward out, never all at once 45s Cooling stops, blinds drop for shade This is the stretch that saves a summer bill 60s Vacuum sets off, your phone buzzes The message lists what it just closed Read down the left and the room brightens. Read down the right and it goes dark. Same room, opposite directions.
The two timelines run against each other. The left one starts at the door and lights the room up. The right one starts when you are already down the street and puts the room away. The band between them is your front door.

The welcome, second by second

Here is the left half of that drawing written out. Not one step in it needs a hand from you.

  1. 0s

    Door opens, a little light appears

    The magnetic contact reports the door swinging and the entry and living room lamps come straight up to 30%. Deliberately not full, because you might only be reaching in for something, and because you may have just walked out of bright daylight and your eyes need a beat.

  2. 3s

    Someone really came in, so it brightens

    The living room motion sensor confirms movement and the lamps rise to 60%, with the hallway following. If the door opened but nobody entered, the light fades back out after two minutes rather than burning all evening.

  3. 8s

    If it is daytime, the blinds open halfway

    The system checks the daylight first. In daylight it opens the blinds halfway, and once the room is bright enough the lamps can dim again. After dark it skips this entirely and the blinds stay shut.

  4. 15s

    Cooling comes back from its away setting

    While you were out the target temperature was nudged to something cheaper to hold. Now it returns to what you normally like. Nothing is restarted, only the target moves, so there is no sudden roar from the unit.

  5. 30s

    It stops, and hands the room back

    After thirty seconds the system stops acting on its own. Dim the lamps, close the blinds, kill the lights — it will not push back. This matters more than anything else on the list. An automation that keeps overruling you gets switched off within three days.

Why not go straight to full brightness? Two steps feel very different from one. The first says someone is home. The second says and I am staying. Three seconds apart, and those three seconds are roughly what your eyes need.

The shutdown, and why the order matters

Leaving takes twice as long as arriving because it has to make sure first. The sequence is not arbitrary either.

TimeWhat it doesWhy it sits here
0sNotes that your phone left the home areaNoted only, nothing has been switched off
10sChecks the indoor motion sensors for activitySomeone still home cancels everything, gladly
25sLiving room, hallway and entry go dark in orderInward out, so anyone left inside can still walk out
45sCooling stops and the blinds come downLights first, so nobody is startled by sudden dark
60sThe vacuum starts and a message reaches your phoneThe noisiest thing goes last, once the place is empty
A false trigger is the real risk here. Phone location alone is not enough. It drifts, and other people live in the house too. So the rule has to carry a second condition: no indoor motion for a stretch of time. Without it, the lights go out while you are on the sofa watching television, and the whole setup gets torn out that same evening.

Four things it quietly takes care of

Safety

Those first few steps inside are no longer dark. Arms full, a threshold underfoot, light already on — that is one fewer chance to trip.

Running cost

Cooling does not idle in an empty house all day, and lamps do not burn until evening. On a summer afternoon that is the most expensive stretch of the day.

Peace of mind

A message lands on your phone spelling out what was closed. No more reconstructing the checklist from memory in the lift.

Convenience

The vacuum waits until you are gone, so you come back to clean floors instead of a machine circling your feet.

It is the same living room either way. The difference is that you no longer hunt for a switch in the dark, and no longer replay the checklist on the way to work. Those two moments happen more than seven hundred times a year, and the attention they hand back is worth more than the seconds.

What you need in place

Home Assistant calls every device in the house an entity — the smallest thing the system can give an order to. The brand and model do not matter at all. What matters is which family it belongs to.

JobFamily it belongs toEssential?
Knowing the door openedbinary_sensor door contactYes
Knowing somebody is therebinary_sensor motionYes
Knowing you have gonedevice_tracker phone locationYes
Living room and hallway lampslight lightingYes
Blinds or curtainscover shadingNice to have
Air conditioningclimate coolingNice to have
Robot vacuumvacuum cleaningNice to have
The confirmation after you leavenotify phone appRecommended
Blind motor that cannot report its position? Wrap it with cover_rf_time_based, which works the position out by timing the travel. After that the system commands it like any other blind. The component ships with the hub, so there is nothing extra to buy.

How the whole thing is wired together

There are only three lines through it: one comes in at the door, one leaves with your phone, and one is reserved for you.

Door and motion A near-instant signal Phone location Only once it leaves Wall switch or button For when you want it now binary_sensor_trigger_things Sensed, then acts in order notify_leaving_zone Confirms first, closes after switch_trigger_things One press runs the same list Welcome: light in two stages Blinds open in daylight, cooling back to normal Shutdown: lights, cooling, blinds Vacuum sets off, one confirmation is pushed Manual: no waiting, straight through Close up before you go, or greet a guest at the door
Sensors only report. Every judgement happens in the three blueprints in the middle. The three lines are independent, so one of them failing never drags the other two down.

A blueprint is a fill-in-the-blanks form

The hub ships with a set of tested automation blueprints. Think of a blueprint as a form where the boxes are already drawn for you and all you do is fill them in. This setup uses three of them.

The boxWhat goes in itSuggested
What counts as the startThe front door contact opening—
What else must be trueLiving room motion within three secondsRequired
First actionEntry and living room lamps come up30%
Second actionLamps rise further, blinds open in daylight60%
When to stop actingAfter this long it stops leading30 sec
How long before leaving countsIndoor stillness required before shutdown10 min

Fill those in and both halves have an owner. You never have to work out what happens if somebody is still home, because that condition is already built into the blueprint.

Different homes, different numbers

Those are general-purpose values. If your place is unusual, shift them like this.

Your situationFirst-stage brightnessLeaving delayWhy shift it
Typical household of two or three30%10 minGeneral values, fine for most homes
Studio flat, living alone50%5 minSmall space, one stage is enough, nobody else to shut out
An older relative home in the day40%30 minWait longer, a nap leaves motion sensors quiet for ages
Someone often home very late20%10 minA dimmer first stage at night will not wake anyone sleeping
Cats or dogs indoors30%20 minPets trip motion sensors, so a longer wait reads truer
If you cannot decide, take the general values. Every one of these numbers can be changed later with a single sentence. Nothing has to be rebuilt.

Four optional extras

The three core blueprints are genuinely enough. Everything below is a bonus — add whichever one you actually want.

What you wantBlueprintWhat it does
A warmer-looking welcomeadascene_singleTreats the whole room as one scene, so the ceiling light, floor lamp and cabinet strip land in proportion instead of popping on one by one
A warning about open windowsentity_state_trigger_notifyIf a door or window is still open at shutdown it messages you first, and closes everything else as planned
To say it out loud on the way outvoice_trigger_thingsTell the system you are heading out and the shutdown runs immediately, without waiting on location. Useful when you are in a rush
Lamps and blinds working togetherlight_sync_cover_and_fanWhen daylight comes in through opening blinds the lamps dim to match, so room brightness stays level instead of doubling up
The timing of the vacuum is a deliberate choice. It goes last in the shutdown because you are already down the street by then and it can be as loud as it likes. Move it earlier and it will be circling your ankles while you are still lacing your shoes.

You do not have to set this up yourself

The WOOWTECH smart hub ships with HA-MCP installed, which lets an AI connect straight into your system and do the work: find the devices, build the rules, tune the numbers, then go back and check whether any of it actually runs. All you do is say what you want.

YouSet up a welcome and a shutdown for the living room. Lights on when the door opens, and everything off once I have left.
pi agentFound the front door contact, living room motion, the living room and hallway lamps, the blinds, the air conditioner and your phone location. Both rules are built. I ran each one by hand just now and the lamps and blinds both moved. There is no robot vacuum here, so I skipped that part.
YouCould the lights go out while I am still home?
pi agentNo. The shutdown carries a second condition: ten straight minutes with no indoor motion. Any movement cancels the whole run. Say the word if you want that delay longer.

Prompts you can copy straight out

Every block below can be copied whole, and the button on the right does it for you. Pick the one closest to what you want. You do not need all five.

The bare minimumUse this if you just want it running
Set up a welcome for my living room. When the front door opens,
turn on the entry and living room lights, brighter after dark,
and skip it entirely if there is already plenty of daylight.
Leave everything else for now, I will ask later.
The full versionWelcome and shutdown in one go
Set up both the arriving-home welcome and the leaving-home shutdown
for my living room.

Arriving: when the front door opens, bring the entry and living room
lamps to 30%, and once motion confirms someone walked in, raise them
to 60% and turn on the hallway. In daylight open the blinds halfway,
after dark leave them shut. Bring the air conditioner back from its
away temperature to my usual one. After thirty seconds, stop acting.

Leaving: only start once my phone has left the home area and the
indoor motion sensors have been quiet for ten straight minutes. Then
switch off the living room, hallway and entry lights in that order,
stop the air conditioner, lower the blinds, start the robot vacuum,
and send me one message listing what was turned off.

When it is done, test it yourself, confirm it really runs, and then
tell me which devices you used.
Adjusted for your homeThe version for a relative home in the day
An older relative is home during the day, and while he naps the
motion sensors can stay quiet the whole time. So keep the shutdown
conservative: after my phone leaves the home area, wait for thirty
straight minutes of stillness indoors before closing anything, leave
the air conditioner alone, and only switch off the living room and
hallway lights. Raise the first welcome stage to 40% as well, he
needs more light than I do.
Changing it laterOne sentence is enough
The first stage of the living room welcome is too dim. Make it 50%,
and raise it to 80% once someone walks in.
Also change the leaving delay from ten minutes to twenty, because
half the time I am only taking the rubbish downstairs.
Just tell me when it is changed, no need to rebuild anything.
When something goes wrongwork out what is in charge first
I got home last night and the lights did not come on the way they usually do,
but I am not sure which setup to blame, because the leaving-home one may still
have been running.
Sort one thing out for me first. How many separate setups are currently in charge
of the hall and living room lamps, can they fight each other, and which one wins.
Once that is clear, ask me for whatever details you need. I still remember last night.
One caution: the HA-MCP connection URL is the key to your home. Do not paste it anywhere public, and do not hand it to a service you do not trust.

Common questions

The lights went out while I was still home
That means the shutdown is looking at phone location only, with no motion condition attached. Add ten straight minutes with no indoor movement and it stops happening. You can stretch that delay further too.
The door opened but no light came on
Check whether the door contact is still reporting at all. A state stuck on the same value for a long time usually means a flat battery or a dropped connection. If the contact looks healthy, the daylight condition probably blocked the run, and that threshold can be moved.
Two of us live here and it shuts down when one leaves
The condition has to be nobody is home, not one person left. Add every household phone to the rule so that it only counts once all of them are outside the home area.
The cat keeps tripping the motion sensor
Mount the sensor higher so its field skips floor level, or push the leaving delay out past twenty minutes. Doing both works best.
The welcome light is harsh, it comes up too fast
Drop the first stage lower, somewhere between 20 and 30. You can also fade from the first stage into the second over three to five seconds instead of jumping.
Phone location drains my battery, is there another way
Yes. Trigger the shutdown from a wall switch or a button in the app and press it on your way out, with no location involved at all. You can also keep both, and let whichever fires first do the work.
two seconds

What you get back is not really time

The welcome might save you two seconds. The shutdown saves you a trip back upstairs, at most.

But once those five seconds at the door stop asking for your attention, coming home is just coming home, and leaving is just leaving.

Share this post