KNX protocol integration

Hello, I currently have an installation entirely built on KNX and I would like to know whether, in the near or more distant future, the KNX protocol is likely to be integrated into GLADYS, because I want to add Matter or Zigbee switches to my installation

Kind regards

Hi and welcome here!

Unfortunately I don’t have the necessary knowledge to answer you — I didn’t even know about the KNX ecosystem. You should ask @pierre-gilles if he’s already heard of this.

Depending on what he tells you, it might be possible to make a feature request and see if other people are interested :wink:

Welcome @jean_pierre_33290 !

I know KNX by name but not in detail.
I just found this project that allows communicating to/from KNX over MQTT:

1 Like

I’ve already heard of it, but does this protocol have a future? In my mind it’s kind of like Z-Wave, an old dying protocol :sweat_smile:

Couldn’t this protocol benefit from integration with Matterbridge to then become Matter-compatible and therefore compatible with Gladys?

1 Like

There have been talks about KNX for native development here: Intégration du KNX

MMh it seems that you really don’t know KNX. :wink:

KNX is A Home building automation since more than 25 years. This is the Building automation used in all building around the world. with more than 200 companies supporting KNX with their product. Siemens, Theben, ABB…

KNX is a standard widely used. It support many possible media, such as twistedPair, IP, wifi, Wireless;

This is also a secure / encrypted ( not mandatory) for improved security.

you can go to the association managing the standard : https://www.knx.org/

Anyway, I’m developer(java/python) , I have knowledge about node.js even if it is not my best :wink:

I have a KNX install I have a very good knowledge about knx, I want to use gladys, I can most probably help with developing some parts, but I need someone to help me understanding the internal of Gladys.

Since my first message, I know that nodered have a lib for KNX which seems a good start

I’m mainly french speaking, but english is OK too.

1 Like

Hi @moustic :slightly_smiling_face:

I have to admit that I’m not at all an expert in KNX!

However, this seems to me like exactly the kind of integration that could be implemented via a Matterbridge plugin. The advantage is that, in addition to being compatible with Gladys, all your KNX devices would also become Matter-compatible.

Totally. Also, I don’t know if you use AI tools for development, but with solutions like Windsurf, Cursor, or Claude Code, if you provide an example Matterbridge plugin + this KNX plugin, there’s a good chance they could help you generate a first KNX → Matterbridge integration quite quickly.

What do you think?

I think a native integration without going through matterbridge would be much better. In KNX, for each functional device, you need to break down group addresses and assign them to functions…. In everything I’ve always used, it always goes through unreadable configuration files. Having a GUI to configure this is really necessary … and that’s exactly Gladys’s promise :slight_smile: no manual configuration….

In Matterbridge, it is also possible to create a configuration interface :slight_smile:

And from what I understand, the parameters to enter would be the IP address and port of the « controller » KNX?

Yes, to connect to the controller, but each switch, each module uses group addresses to define lines and actions

Ideally, if you show me how to start the integration, I can do it, but I need the basics.

And otherwise, there are ready-made Matter - KNX gateways, the price… 700 euros excluding VAT :frowning:

Hello :slight_smile:

You will find everything on the https://matterbridge.io/ website

You can take inspiration from the plugin template: https://github.com/Luligu/matterbridge-plugin-template

Give all these elements to an AI (Claude Code, Windsurf, Cursor), and it can help you create a plugin, I tested it and it’s amazing!

Hi @moustic @moustic999,

Have you seen the Matterbridge plugin factory?

I’m sure it’s possible to develop a KNX plugin for Matterbridge.

The only complicated part would be the user’s configuration of the plugin, but we could imagine a CSV file format that the user could pass to the plugin with all their KNX devices so that the plugin could use this CSV file as a « base » and expose all the devices.

Then, the plugin could use the npm package knx to control the devices.

What do you think?