← Journal
Project & Design Process · 25 November 2026

Home Assistant Is Down. Does the Passage Light Still Work? Where the Logic Should Live in a KNX Home

In a KNX home, logic can live in the devices, in a KNX logic module, or in Home Assistant. How I decide which job goes where, and the one test every design should pass before handover.

Home Assistant Is Down. Does the Passage Light Still Work? Where the Logic Should Live in a KNX Home

It’s 21:30 on a Tuesday. Home Assistant has decided tonight is the night it installs an update and restarts. For the next few minutes, the server that runs half the house is thinking about itself.

Somebody walks down the passage to the kids’ rooms. Does the light come on?

In a well designed KNX house, yes, and nobody even notices the server was gone. In a badly designed one, the passage stays dark, the client phones me in the morning, and the fix is usually not a quick one.

The difference has nothing to do with the hardware. It comes down to where the logic lives.

Three places the logic can live

In a KNX home there are three places to put the “if this, then that”.

In the devices themselves. Every KNX actuator, push button, presence detector and thermostat is configured in ETS, and those parameters are logic. A staircase timer on a relay channel, a presence detector telling an actuator what to do, a window contact pushing a thermostat into protection mode. It runs inside the device and talks over the bus. There’s no server involved.

In a KNX logic module on the bus. When the device parameters aren’t enough (an AND gate, a comparator, “only if it’s dark and the alarm is off”), a logic module or a logic function in a KNX device does the extra thinking. It’s still on the bus and still configured in ETS. Still no server.

In Home Assistant. This is the clever layer. It can read anything on the bus, plus everything that isn’t KNX: the Victron system, UniFi, the gate, the weather, Apple Home through 1Home. It can do things KNX simply can’t. It is also one computer, running software that updates every month.

All three are useful. The mistake is putting a job in the wrong one.

My rule: the house works without the server

Helge Klein wrote one of the better guides to running Home Assistant with KNX, and his rule is the one I work to. All the core services should work without Home Assistant. KNX is a distributed system with no single device everything depends on, so don’t undo that by routing the basics through one box.

So before I put any function into Home Assistant, I ask one question. If this server is off for a day, does anyone in the house notice?

If the answer is yes, the logic belongs on the bus.

That puts these firmly in KNX:

  • Lights from wall buttons and presence detectors, including passage and bathroom night lighting
  • Staircase timers and central off
  • Room temperature control and HVAC modes
  • Blinds, and especially wind alarms
  • Window contacts forcing heating or cooling into protection
  • Anything tied to safety, like lighting a route when a smoke alarm goes off

None of this needs a server, and none of it should.

What the logic module is for

There’s an old but still sound best practice piece on the KNX Association’s site, written by Simon Buddle back in 2014. His point was that device parameters are often too limited for real jobs, a full PC-based controller is overkill on a lot of them, and a logic module is the “good half-way house” in between.

That still holds. The jobs I’d put in a logic module or a device’s built-in logic functions are small and boring:

  • The garden lights come on at sunset, but only if the house isn’t in holiday mode
  • The towel rail runs on a timer, but only between May and September
  • Underfloor heating gets a boost when the room is cold and someone is home

Buddle’s advice on doing it properly is worth repeating. Write the logic down or draw it before you open ETS. Test it on one device first. And check what it does when the bus fails or a value comes back out of range. The other thing I’d add is to document it in the ETS project, because an undocumented logic gate is a puzzle for whoever works on the house in five years’ time.

He was also clear about the limits. Logic modules suit simple gates and comparisons. If you find yourself chaining six of them together, that job wants a proper controller.

What Home Assistant is for

Home Assistant earns its place with the jobs that are optional, that change often, or that need to see beyond the bus. Klein’s example is presence simulation, and it’s a good one. If it fails, nobody is in the dark. The house just looks a little less lived in that week.

On my projects, the Home Assistant list usually looks like this:

  • Load shedding and energy logic. Reading the battery state of charge from the Victron Cerbo GX and dropping the pool pump, the geyser or the living-area aircon when the grid is down and the battery is getting low.
  • Presence simulation and holiday modes that use random timing instead of fixed timers.
  • Notifications to phones: a leak, a gate left open, a freezer that’s warming up.
  • Anything that crosses systems, like UniFi presence, the gate motor or the alarm panel.
  • Dashboards and voice control, through 1Home to Apple Home and Matter.
  • Seasonal tweaks the client wants to change themselves without calling me.

If that layer goes quiet for a day, life carries on. The house gets a bit less clever until it’s back.

When both layers want the same light

The tricky part is functions that live in both places. A hallway light might be on a KNX presence detector, with Home Assistant also wanting a dimmed night scene after 23:00.

There’s a 2021 thread on the Home Assistant community forum where someone planning a new build asked exactly this: can KNX do the basics while Home Assistant handles the advanced logic, with KNX taking over if HA is down? The replies from people running it are worth reading. One user explained that his lights fall back to a basic KNX level when Home Assistant isn’t in control. He also suggested a bus blocking object, one that Home Assistant sets while it’s active and that the KNX logic checks before acting.

That’s the pattern I use. KNX has a default behaviour that always works. Home Assistant can override it, but only through an object that is clearly documented in ETS. Where the devices allow it, I’d also have the block time out on its own if Home Assistant stops refreshing it, so a crashed server can’t leave the house stuck in its last override.

It’s the same rule I use for thermostat modes. Every function has one owner and one clear priority. If two systems both think they own the passage light, the last telegram wins and the house feels like it has a mind of its own.

Where it goes wrong

A few patterns turn up again and again.

Everything in Home Assistant. Wall buttons that only work because an automation listens for the press and sends the command. It’s fast to set up and it works fine until the first update night. KNX buttons should talk to KNX actuators directly.

Logic in two places. A schedule in the thermostat and another in Home Assistant, both sending modes. Or a presence detector switching a light while an HA automation switches it back. Pick one owner.

Home Assistant writing to group addresses ETS doesn’t know about. The ETS project should show every group address that matters, including the ones Home Assistant sends to. If it isn’t in ETS, the next integrator will never find it.

No plan for the reboot. Home Assistant will restart. It will update. One day the SSD will die. Design as if that’s a normal Tuesday, because it is.

What to put in the brief

If you’re an architect, a designer or a client planning a build, you don’t need to know any of the ETS detail. Just agree three things with your integrator before the design is finished:

  1. Which functions must work with no server, no internet and no app.
  2. Which functions are “nice to have” and can live in Home Assistant.
  3. Who owns each function when both could control it.

Write it down as a one-page list. It takes half an hour, and it makes the difference between a house that copes with an update night and one that doesn’t.

If you’re planning a KNX project and want the logic split properly from the start, I’m happy to talk it through. Just a conversation about what the project needs.

wayne@knxlogic.co.za | 082 564 3982 | www.knxlogic.co.za

Sources

Planning a build or renovation? See what we automate, the hardware we specify, or common KNX questions.

Start with a conversation
about what the project needs.

Phone
+27 82 564 3982
Email
wayne@knxlogic.co.za
Based in
Johannesburg · working nationwide