Skip to Content

Balcony | Let the numbers tell you when to open a window

Everyone knows to shut the windows when the air is bad. The hard part is knowing when it has cleared.
October 27, 2025 by
Balcony | Let the numbers tell you when to open a window
渥屋科技股份有限公司, 系統管理者
Balcony

SMART HOME BUTLER · BALCONY

Let the numbers tell you when to open a window

Everyone knows to shut the windows when the air is bad. The hard part is knowing when it has cleared and you should be airing the place out.

2
sensors, one out and one in
35
µg/m³, the line between them
Both
ways — it closes and it opens

Most people only do half of it

When an air quality warning goes out, people shut the windows and switch on the purifier. That is right, but it is only half the job.

The other half is knowing when outside gets better again. However powerful a purifier is, it only removes particles already indoors. It cannot remove carbon dioxide and it cannot bring in fresh air. A home sealed for three days has low PM2.5 and stale air at the same time.

The catch is that a nose cannot judge outdoor air quality. You are not going to check an air quality website every hour, so what usually happens is that the windows stay shut too long and every genuinely good window of opportunity gets missed.

A balcony is the right place for an outdoor sensor

It is half outdoors, sheltered, and has power — the easiest place to measure outside air honestly. Add the indoor sensor you already have and you can see both numbers at once. Only with that comparison does "should I open or close?" have an answer.

dirtier outside · keep shut cleaner outside · open up 100 50 35 0 outdoor indoor shut · purifier on suggest airing out 06:00 11:00 16:00 20:00 24:00 What matters is not how high either line is, but which one is higher. The crossings are the moments to change what you are doing The amber line is outdoor, the blue one indoor. Indoor stays flatter because the purifier is holding it down
Two lines from the same day. Outdoor spikes through the morning commute and settles after dusk. The system watches which is higher, not any single number.

What it did across that day

  1. 06:00

    Early morning, clean outside

    Outdoor 20, indoor 18 — much the same. This is one of the best windows of the day for airing out, and the system says so.

  2. 08:30

    Commute, outside gets dirty

    Outdoor climbs past 35 and clearly above indoor. The system closes the powered window and starts the purifier. You are on your way to work and do nothing.

  3. 11:00

    The worst of the day

    Outdoor approaches 75. Windows stay shut, the purifier runs high, and the indoor line is held under 30.

  4. 16:00

    Starting to improve

    Outdoor falls back to the low 40s, but it is still higher than indoors. The system is in no rush to open up and holds the line.

  5. 20:00

    The lines cross

    Outdoor drops below indoor. This is the moment that matters. A message arrives: it is cleaner outside now, worth opening up.

  6. 22:00

    Aired out

    Twenty minutes of open window clears the stale air and the carbon dioxide with it, and the purifier can drop to low and rest.

Step five is where the real value sits. Closing windows is something you would do anyway. Catching the moment outside became cleaner is not something you can do without a number.

Four things it takes care of

Breathing

Bad air stays out and good air gets in. Both halves together make it complete — doing only the first leaves you living in a sealed box.

Filter life

The purifier runs only when it should. Cutting out all-day idling extends filter life noticeably, which shows up in both frequency and cost.

Laundry

The same sensor tells you whether today suits drying clothes outside. Hanging laundry out on a bad day is a way of moving particles into your wardrobe.

No checking

No more air quality websites. The number on your own balcony is closer to what you actually breathe than any monitoring station.

Different homes, different approaches

Your situationClose whenSuggest opening whenWhy
Typical homeOutdoor 35 and above indoorOutdoor 5 below indoorThe general approach, watching both sides
On a main roadOutdoor 30 and above indoorOutdoor 10 below indoorTraffic dominates, so close early and open conservatively
Asthma or allergies at homeOutdoor 25Outdoor below 20Gate on absolute values, not only relative ones
High floorOutdoor 40Outdoor below indoorLess affected by street-level dust, so you can relax it
Near a building site or night marketOutdoor 30Outdoor 10 below indoorSudden spikes are normal, so tighter thresholds react fast enough
No powered windows? Not a problem. Turn the closing step into a notification instead — the logic is otherwise identical, and the purifier side stays fully automatic.

What you need to have

What it doesCategory in the systemEssential?
Measure outdoor PM2.5sensor on the balconyYes
Measure indoor PM2.5sensor in the living roomYes
Air purifierfan or switchRecommended
Receive alertsnotify (phone app)Recommended
Powered or vent windowcoverIdeal if present
Keep the balcony sensor out of rain and out of the sun. A half-sheltered spot is best — under an eave or on the inner face of the parapet. Direct rain will kill it, and prolonged sun makes readings drift. Keep it away from air conditioning outdoor units too.

How the whole thing works

Balcony sensor outdoor number Living room sensor indoor number greenhouse blueprint compares the two dirtier outside cleaner outside about the same Close up, purifier to high Tell you to air the place out Hold, purifier on low
Two numbers in, one decision out. What sets this scenario apart from the others is that it compares two readings rather than testing one against a fixed value.

Use the ready-made blueprints

The hub ships with 22 tested automation blueprints — think of one as a fill-in-the-blanks form. This mostly uses greenhouse, which exists for comparing numbers, alongside entity_state_trigger_notify for the "you can open up now" message.

FieldWhat it meansSuggested
Which number to watchPM2.5 from the balcony sensor—
Close aboveAnd only while above the indoor reading35
Open belowAnd only when clearly under indoors5 under indoor
What to controlThe purifier, plus powered windows if any—
Alert hoursNo need to wake you at 3am07:00–22:00
Why insist on 5 below indoors before suggesting you open up? A gap of one or two points buys very little, while an open window can let in heat, noise and insects. Waiting for a real gap makes the trade worthwhile.

Just say the word

You do not have to fill in any of those thresholds by hand. The WOOWTECH hub ships with HA-MCP, which lets AI connect straight into your system, build the rules, and then check for itself that they really fire — so you are not left testing it.

YouI have air sensors on the balcony and in the living room. When it is dirtier outside, close up and run the purifier. When it gets cleaner outside, tell me to open a window.
pi agentFound both — balcony is at 42 and the living room at 19, so right now you are in the keep-shut state. You have no powered windows, so I made the closing step a notification and left the purifier fully automatic. Opening reminders run 7am to 10pm so they will not wake you. I simulated both directions just now and the messages did reach your phone.
YouCan it also tell me if today is good for drying laundry?
pi agentYes. It now checks the balcony reading at 8am and messages you when it is under 35. That is already live, so the first one arrives tomorrow morning.

Prompts you can copy straight across

Every block below can be copied whole with the button on the right. Pick the one closest to what you want — you do not need all five.

The simplest versionuse this if you just want it running
I have air sensors on the balcony and in the living room. Use them
to work out whether the windows should be open or shut. Run the
purifier when it is dirtier outside, and message me to open up when
outside gets cleaner. Find the devices yourself, and if you cannot
find one, say so rather than guessing.
The full versionthresholds, alert hours and laundry in one go
Set up balcony-based air quality decisions for me. The point is to
compare the outdoor and indoor numbers, not to watch a single
threshold. Before you build anything, be certain which sensor is
outdoor and which is indoor — do not get them the wrong way round.
When the balcony reading is above 35 and higher than the living
room, put the purifier on high and close any powered windows; if I
have none, message me to close them instead. When the balcony
reading is 5 or more below the living room, message me that now is
a good time to air the place out, with both numbers in the message,
and only between 7am and 10pm. Also check the outdoor number at 8am
daily and tell me when it is under 35 that laundry will dry well.
Use the ready-made blueprints on the hub rather than writing your
own. When it is built, test it yourself, confirm it really fires,
and then tell me which devices you used.
Tuned to your homefor anyone living on a main road
We live right on a main road with traffic below all day, so the air
turns bad far faster here than in a quiet street. Tighten the
closing threshold: act as soon as the balcony passes 30, do not wait
for 35. Make the open-up reminder more conservative in return — only
call me when outside is at least 10 below inside, because a gap of a
point or two is not worth opening for. Rush hour is never going to
be good, so do not keep messaging me during those two stretches.
Changing it lateradjust a number in one sentence
On the balcony air rules, move the closing threshold from 35 to 45.
The purifier sits on high far too much and it is loud, so I want it
starting later. Leave the open-up reminder alone and keep everything
else exactly as it is. Tell me once you have changed it.
When something goes wrongonly afternoons misfire, so start with the clock
Mornings it gets this right. Afternoons it goes odd — from about
two onwards it keeps telling me to shut the windows, and the air
out there smells no worse to me than it did at breakfast. Come at
this from the time angle: split the last week into morning and
afternoon readings and lay them side by side, then check whether
the balcony sensor sits in direct sun by then, or something else
shows up at the same hour daily. Say what you reckon it is, and
leave the settings alone until we have talked it over.
One caution: the HA-MCP connection URL is the key to your home. Do not post it publicly, and do not give it to services you do not trust.

Common questions

Will rain destroy the balcony sensor?
Yes. It has to sit under an eave or somewhere sheltered. Keep it out of direct sun as well — sustained heat makes readings drift over time. The ideal spot is ventilated but shielded from both, such as high on the inner face of the parapet.
The two sensors read very differently — is one broken?
Not necessarily. With a purifier working indoors, the inside reading should be lower. What actually warrants concern is two sensors reading identically for a long stretch, which usually means one is stuck. Put them side by side for half an hour and the numbers should come out close.
Could I use a public air quality feed instead?
You can, but it will be inaccurate. The monitoring station may be kilometres away and is not measuring the air outside your window. Proximity to roads, building sites and your floor level all change things substantially. Your own sensor measures what you will genuinely breathe.
The purifier runs on high and it is loud
Raise the closing threshold from 35 to 45, or cap the maximum speed during night hours. Most purifiers hold indoor quality perfectly well on medium; save high for genuinely bad days.
The open-up reminder arrives while I am at work
Normal enough. Limit reminders to hours when you are usually home, say 6pm to 10pm. You can also switch to a daily summary listing which windows of the day were good, and read it when you get in.
Do I have to rebuild it to change the thresholds?
No. Just say "the purifier is too loud, close at 45 instead" and the assistant will find that rule and edit it.
one month later

A month from now

You know which parts of the day the air is good where you live, and the purifier filter is not going black as quickly as it used to.

The biggest change is that the windows are no longer shut all day — because now you know when it is safe to open them.

Share this post