Hello,
i try to set OH2 with KNX binding. But without success.
Bridge knx:ip:bridge [
ipAddress="192.168.xx.xx",
portNumber=3671,
localIp="192.168.xx.yy",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
] {
Thing knx:device:thething (knx:ip:bridge) [
address="6.1.0",
fetch=true,
pingInterval=100,
readInterval=3600
] {
Type switch : demoSwitch "Light" [ ga="6/1/0" ]
}
}
The bridge is online but device is offline. can you help me to solve this.
Either define the thing as a child of the bridge:
Bridge knx:ip:bridge [
ipAddress="192.168.xx.xx",
portNumber=3671,
localIp="192.168.xx.yy",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
] {
Thing device thething "the Thing" [
address="6.1.0",
fetch=true,
pingInterval=100,
readInterval=3600
] {
Type switch : demoSwitch "Light" [ ga="6/1/0" ]
}
}
or define it separately
Bridge knx:ip:bridge [
ipAddress="192.168.xx.xx",
portNumber=3671,
localIp="192.168.xx.yy",
type="TUNNEL",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=1,
localSourceAddr="0.0.0"
]
Thing knx:device:bridge:thething "the Thing" (knx:ip:bridge) [
address="6.1.0",
fetch=true,
pingInterval=100,
readInterval=3600
] {
Type switch : demoSwitch "Light" [ ga="6/1/0" ]
}
same thing may be something wit the address is not write,
is working with different addres
Well, I thought you know what you are doing…
Bridge knx:ip:bridge [
ipAddress="192.168.xx.xx", // IP address of knx gateway
portNumber=3671, // default port
localIp="192.168.xx.yy", // IP address of openHAB server
type="TUNNEL", // mode of knx/IP gateway
readingPause=50, // default
responseTimeout=10, // default
readRetriesLimit=3, // default
autoReconnectPeriod=1, // maybe consider to set to 30
localSourceAddr="0.0.0" // default
] {
Thing device thething "the Thing" [
address="6.1.0", // individual address, must not be set for virtual devices
// not alowed to end with 0 (reserved for router/coupler/repeater
fetch=true, // only set for a real device
pingInterval=100, // only set for a real device
readInterval=3600 // only set if you need to
] {
Type switch : demoSwitch "Light" [ ga="6/1/0" ]
}
}
6/1/0 is a address of real device which i need to read only.
I guess 6/1/0 is the Group Address? 6.1.0 is an individual address of a knx device.