Hallo KNX-Freunde,
erstmal ein großes Lob an dieses Forum.
Ich habe eine Wago-SPS mit KNX-Klemme bei mir im Haus verbaut.
Alles prima.
Nun möchte ich Openhab einsetzen, habe aber kleinere Probleme, das zum
Laufen zu bekommen:
IP der Wago 750-849:
192.168.178.40
Die AddOns sind im entsprechenden Ordner abgelegt.
Die GA der Kochfeldbeleuchtung ist 1/2/10
Habe alles folgendermaßen konfiguriert:
openhab.config:
#################### KNX Binding ##########################################
#
# KNX gateway IP address
# (optional, if serialPort or connection type 'ROUTER' is specified)
knx:ip=192.168.178.40
# 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.
knx:type=TUNNEL
# KNX gateway port (optional, defaults to 3671)
#knx
ort=
# Local endpoint to specify the multicast interface, no port is used (optional)
knx:localIp=192.168.178.40
# Serial port of FT1.2 KNX interface (ignored, if ip is specified)
# Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux
#knx:serialPort=
# Pause in milliseconds between two read requests on the KNX bus during
# initialization (optional, defaults to 50)
#knx
ause=
# Timeout in milliseconds to wait for a response from the KNX bus (optional,
# defaults to 10000)
#knx:timeout
# Number of read retries while initialization items from the KNX bus (optional,
# defaults to 3)
#knx:readRetries
# Seconds between connect retries when KNX link has been lost
# 0 means never retry, it will only reconnect on next write or read request
# Note: without periodic retries all events will be lost up to the next read/write
# request
# (optional, default is 0)
#knx:autoReconnectPeriod=30
bluehome.items:
Switch KuecheKochfeld "Kochfeld" { knx="1.001:1/2/10" }
default.sitemap:
sitemap default label="Wohnhaus"
{
Frame
{
Group item=grpErdgeschoss label="Erdgeschoss" icon="groundfloor"
{
Group item=grpKueche label="Küche" icon="kitchen"
{
Switch item=Kochfeld mappings=[OFF="All Off"]
}
}
}
}
Irgendwie läuft das so nicht, der sitemap wird angezeigt und läuft auch, ich bekomme nur keine Verbindung zum KNX, wenn ich den switch vom Kochfeld betätige.
Habe ich da irgendwo einen Fehler gemacht und kann mir vielleicht jemand sagen, wie ich was ändern muss, damit ich das Licht an- und abstellen kann?
Bin für jeden Tip dankbar.
Gruß
Yankee
erstmal ein großes Lob an dieses Forum.
Ich habe eine Wago-SPS mit KNX-Klemme bei mir im Haus verbaut.
Alles prima.
Nun möchte ich Openhab einsetzen, habe aber kleinere Probleme, das zum
Laufen zu bekommen:
IP der Wago 750-849:
192.168.178.40
Die AddOns sind im entsprechenden Ordner abgelegt.
Die GA der Kochfeldbeleuchtung ist 1/2/10
Habe alles folgendermaßen konfiguriert:
openhab.config:
#################### KNX Binding ##########################################
#
# KNX gateway IP address
# (optional, if serialPort or connection type 'ROUTER' is specified)
knx:ip=192.168.178.40
# 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.
knx:type=TUNNEL
# KNX gateway port (optional, defaults to 3671)
#knx

# Local endpoint to specify the multicast interface, no port is used (optional)
knx:localIp=192.168.178.40
# Serial port of FT1.2 KNX interface (ignored, if ip is specified)
# Valid values are e.g. COM1 for Windows and /dev/ttyS0 or /dev/ttyUSB0 for Linux
#knx:serialPort=
# Pause in milliseconds between two read requests on the KNX bus during
# initialization (optional, defaults to 50)
#knx

# Timeout in milliseconds to wait for a response from the KNX bus (optional,
# defaults to 10000)
#knx:timeout
# Number of read retries while initialization items from the KNX bus (optional,
# defaults to 3)
#knx:readRetries
# Seconds between connect retries when KNX link has been lost
# 0 means never retry, it will only reconnect on next write or read request
# Note: without periodic retries all events will be lost up to the next read/write
# request
# (optional, default is 0)
#knx:autoReconnectPeriod=30
bluehome.items:
Switch KuecheKochfeld "Kochfeld" { knx="1.001:1/2/10" }
default.sitemap:
sitemap default label="Wohnhaus"
{
Frame
{
Group item=grpErdgeschoss label="Erdgeschoss" icon="groundfloor"
{
Group item=grpKueche label="Küche" icon="kitchen"
{
Switch item=Kochfeld mappings=[OFF="All Off"]
}
}
}
}
Irgendwie läuft das so nicht, der sitemap wird angezeigt und läuft auch, ich bekomme nur keine Verbindung zum KNX, wenn ich den switch vom Kochfeld betätige.
Habe ich da irgendwo einen Fehler gemacht und kann mir vielleicht jemand sagen, wie ich was ändern muss, damit ich das Licht an- und abstellen kann?
Bin für jeden Tip dankbar.
Gruß
Yankee
Kommentar