KNX and KNXnet/IP implementation in Python

Question:

I am looking high and low for anything related to KNX implementation in Python, especially KNXnet/IP. So far I couldn’t find anything. I know there are few projects written in Java but I thought I’d give it a shot asking here before I start porting code from other languages.

Also, does anyone know of any free documentation of the KNX standard, its data structures and KNXnet/IP? The official documentation from the KNX association is ridiculously expensive, especially for something supposed to be an “open” standard.

thanks

Asked By: danielv

||

Answers:

There is the open-source BCUSDK software stack for KNX which has a C-based system daemon (eibd) with clients (Unix and TCP-socket based) for multiple languages (Python is one). I’ve written the Ruby and Lua client libraries as well, and I’m using it for day-to-day hacking with KNX.

Also, there is OpenRemote which has lots of information on KNXnet/IP and some Java classes that could get you started, if you wanted to, from scratch.

Answered By: ekarak

The KNX association have released the Falcon Runtime Developer kit but I think you can only get it if you are a KNX member. it doesnt supports Python but hey, its something i guess.

in regards to the documentation I could probably help.
is there a PM function on this site or something to give me your emails address?

Answered By: JustSomeDev

You might want to have a look a this (if by that time you are still looking for such a library) : https://github.com/leadrien/knxnet
This allows me to command KNX devices through an IP/KNX interface pretty well.

Alexandre

Answered By: A.Joly

Meanwhile there is an open source Python 3 implementation of KNX IP https://github.com/XKNX/xknx

The documentation of the protocol can be downloaded after (free) registration from https://my.knx.org

Answered By: farmio
Categories: questions Tags: , ,
Answers are sorted by their score. The answer accepted by the question owner as the best is marked with
at the top-right corner.