r/KNX • • 16d ago

open-source CLI + MCP server that lets Claude/ChatGPT read, audit and program a KNX installation - bussard

I'd like to share bussard: an open-source command-line tool (Windows, Linux, macOS) for KNX. It exposes everything over MCP so that Claude, ChatGPT etc. can read, audit and modify an installation.

Why? Instead of clicking through ETS menus, I want to change our installation with a sentence like:

"There's a door contact on the patio door, and we have a weather station. When the door opens, the outdoor light should turn on; when it closes, off again – but only when it's dark."

You install bussard and connect it via MCP to e.g. Claude Desktop. Claude can then find the right devices, create group addresses and links, set parameters and program the devices over the bus.

What it is not: I'm not trying to rebuild ETS, and there is no configuration UI (there is a bus visualisation, but that's mostly for my own debugging). It's aimed at smaller installations. I'm a software developer, not an integrator, so I don't know the workflows of large projects.

"What if the LLM messes things up?" That was the part I cared about most:

  • Every change can be undone. bussard stores a version per change.
  • The MCP server can be started read-only, so the LLM can e.g. look for errors but can't change anything.
  • All changes are planned and shown first, then applied explicitly.

Status: I use bussard on our own installation (Jung, Gira, Theben, ...). The project is still young, so please try it in read-only mode first.

Background: I've been a software developer in open source for 10 years. Over the last few months I've seen a lot of different approaches to building an ETS alternative, and I find them really inspiring. I wanted to try something that works a bit differently.

I'd love your feedback, especially: would you let something like this near your installation, and what would it take?

27 Upvotes

12 comments sorted by

5

u/CyberJunky_NL 16d ago

LOL we have ten of them now... Vibecoding is real..

1

u/tmbo454 16d ago

yes absolutely! and for good reason. it is a bit unfortunate that KNX is vendor agnostic on the hardware side, but very heavily gated by ETS on the software side in the past. about time to lift that restriction.

2

u/sullemandi 16d ago

This is one way only right? It won't translate back to a knxproj file?

2

u/tmbo454 16d ago

yes, knxproj files are signed unfortunately. i am looking at using an ETS plugin for that potentially. but then there are all the gates around that to clear...

1

u/Otherwise-Draft3481 16d ago

I retired from the industry a few years ago, so my input is probably moot. My background is in very large industrial/commercial and residential projects. But I’m not sure it’s a tool I would have seen a need/use for.

Is the aim simplifying or speeding up programming? Aiding fault finding?

1

u/tmbo454 16d ago

I'd say fault finding / simplifying setups for non-commercial buildings. Coming from a programming background I'd say it is the same as with large software systems: you can tackle a lot on smaller projects with LLMs at the moment, but the larger a project goes the more experience you need to set up proper gates between parts to keep an LLM in check. I'd assume the same is true for very large KNX projects.

1

u/Otherwise-Draft3481 15d ago

I’m sceptical of a lot of AI integration for this type of work. My feeling is that ‘needing to keep an LLM in check’ means they shouldn’t be any where near this type of deployment.
If you need AI assistance for a small scale project, then knx was probably not the backbone to choose. There are much more user friendly/graphic based programming systems for a few lights and heating in small projects.

1

u/ironfist99r 16d ago

I might give it a try. Does it support changing parameters on devices? And if so, how does it get the parameter information? Do you have a way to upload the manuals or are you relying on Claude to find the detail based on model numbers? Also would be interesting if it could visualize the diffs versus just tell.you what it's going to do.

1

u/gersilex 16d ago

xknx-editor does it already

1

u/deed02392 15d ago

I think this is very cool. I also think it's kind of a temporary thing. It looks like a great way to get familiar with KNX programming at the beginning, and early stages of a deployment you're actually living with. Once you've finished tuning your set up, I don't think you'd want to keep it integrated. I can see some people wanting to keep it around so that they could use a voice assistant to reprogram things or interrogate the logs like in your second screenshot but I don't see either of those features being worth the risk of accidental breakage or potentially the privacy risk of something/someone rogue talking to it.