Reading KNX using Raspberry Pi 3 GPIO

6k Views Asked by At

My dad wants me to make kind of a smart home.

I would like to interface with KNX (a home automation protocol) using the GPIO on a Raspberry Pi 3. Ideally, I would like to build a web interface for it, but I don't have a clue how to interface with KNX in the first place.

Any suggestions?

4

There are 4 best solutions below

0
On BEST ANSWER

It wont make sense for you to interpret and understand the KNX bus communication protocol directly. There is a massive specification behind the KNX bus which deals with so many problems from device addresses to collision detection. It would take years to master it and unless you develop KNX devices you really should not spend your time on it. You will be better off by doing the following:

0
On

I see two options for you:

A) use an IP interface (e.g. the ones from MDT) and access the IP interface from your raspberryPi (e.g. with http://calimero-project.github.io/)

B) use a TPUART controller, which makes KNX TP telegrams accessible (r/w) to UART - see http://www.konnekting.de/konnekting-lernen/l1-knx-mit-arduino/

0
On

You can't connect the KNX bus to anything on the pi. The KNX bus has its own electrical specs, and you need specialized hardware to connect to it. Such hardware is available, but probably a KNXnet/IP device (such as the Siemens N148) is a better option.

0
On

KNX Hat for pi3 and a bunch of other single boardies