Hi,
I’m fairly new to knx and openhab.
I’m able to press on a switch with knx and turn a lightbylb on (GA: 0/0/4)
Now i’m just trying to do the same with openhab.
I installed openhabian, installed the binding using paperUI.
configured the knx.cfg (removed the comment lines.
knx.cfg
# KNX gateway IP address
# (optional, if serialPort or connection type 'ROUTER' is specified)
ip=224.0.23.12
# Local KNX Binding bus address.
# Use it, when two or more openHAB Instances are connected to the same KNX bus.
# (optional, defaults to 0.0.0)
busaddr=
# Ignore local KNX Events, prevents internal events coming from
# 'openHAB event bus' a second time to be sent back to the 'openHAB event bus'.
# Note: To send back events second time is a Bug, but for backward compatibility, the behavior is not changed.
# For new installations, its recommend to set "ignorelocalevents=true"
# (optional, defaults to false)
ignorelocalevents=true
# KNX IP connection type. Could be either TUNNEL or ROUTER (optional, defaults to TUNNEL)
# Note: If you cannot get the ROUTER mode working (even if it claims it is connected),
# use TUNNEL mode instead with setting both the ip of the KNX gateway and the localIp.
type=ROUTER
# KNX gateway port (optional, defaults to 3671)
# Note: If you use eibd, setting to 6720
port=3671
# Local endpoint to specify the multicast interface, no port is used (optional)
localIp=192.168.0.112
My openHAB configuration:
switch.items
Switch licht_test "lamp 1" {knx="0/0/4"}
demo.sitemap
sitemap demo label="LampEen" {
Frame {
Switch item=licht_test icon="light" mappings=[OFF="uit", ON="aan"]
}
}
I also configured the basicUI to open the correct sitemap.
I can see a slide with uit ------ aan
when i slide the slider nothing happens.
I do have communication with knx.
line from openhab.log
2017-05-30 07:51:03.008 [INFO ] [nx.internal.connection.KNXConnection] - Established connection to KNX bus on 224.0.23.12:3671 in mode ROUTER.
My question what am i doing wrong?
Am i missing something?
I appologize for my not so good english.
Can someone help me?
If more info is needed EX. configuration files etc… just let me know.
thanks in advance.