Hi guys,
I´ve got problems understanding this, so please make light for me here
The exmples are saying this for
knx.things
Bridge knx:ip:bridge [
type="TUNNEL",
ipAddress="192.168.0.10",
portNumber=3671,
localIp="192.168.0.11",
readingPause=50,
responseTimeout=10,
readRetriesLimit=3,
autoReconnectPeriod=60,
localSourceAddr="0.0.0"
] {
Thing device generic [
address="1.2.3",
fetch=true,
pingInterval=300,
readInterval=3600
] {
Type switch : demoSwitch "Light" [ ga="3/0/4+<3/0/5" ]
and the related item
Switch demoSwitch "Light [%s]" <light> { channel="knx:device:bridge:generic:demoSwitch" }
What I dont understand is the relation from item to thing:
channel=“knx:device:bridge:generic:demoSwitch”
The Bridge in things has this uid
- knx:ip:bridge
The thing is defined like this
- Thing device generic
and the channel like this
- Type switch : demoSwitch “Light” [ ga=“3/0/4+<3/0/5” ]
so I thought I´d have to define the channel like this
knx:ip:bridge:generic:demoSwitch
and not
knx:device:bridge:generic:demoSwitch
but it´s wrong unfortunately
Could anyone explain me how does this work ?
Thanks!