/xknx

XKNX - A KNX library written in Python

Primary LanguagePythonGNU Lesser General Public License v3.0LGPL-3.0

XKNX - A KNX library written in Python

Build Status

A Wrapper around KNX/UDP protocol written in python.

The wrapper is also intended to be used as a KNX logic module, which means to connect different KNX devices and make them interact.

At the moment the wrapper works with KNX/IP routers.

See documentation at: http://xknx.io/

Help

We need your help for testing and improving XKNX. For questions, feature requests, bugreports wither join the XKNX chat on Gitter or write an email.

Home-Assistant Plugin

XKNX contains a Plugin for the Home-Assistant automation plattform

Supported / Tested Devices

The software was tested with the following devices:

Basic Operations

# Outlet

xknx.devices["Livingroom.Outlet_1"].set_on()
time.sleep(5)
xknx.devices["Livingroom.Outlet_2"].set_off()

# Shutter
xknx.devices["Livingroom.Shutter_1"].set_down()
time.sleep(2)
xknx.devices["Livingroom.Shutter_1"].set_up()
time.sleep(5)
xknx.devices["Livingroom.Shutter_1"].set_short_down()
time.sleep(5)
xknx.devices["Livingroom.Shutter_1"].set_short_up()