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/
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.
XKNX contains a Plugin for the Home-Assistant automation plattform
The software was tested with the following devices:
- GIRA KNX/IP-Routers 216700
- GIRA KNX/Switching Actor 104000
- GIRA KNX/Shutter Binary Actor 103800
- GIRA KNX/Binary Input 111900
- GIRA Tastsensor 3 Plus 2-fach 514200 (This sensor is also used as Thermostat)
- KNX Dimmaktor 4fach
# 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()