I still need some help in understanding the basics of the new knx binding… i just dont get it
What I (think) understood so far;
I differentiate channels between channels for KNX components (knx.things and knx.items) and channels for eg zwave components (control.things and knx.items)
Let’s just look at the first case
I have an actuator with 6 channels (1/1/1). I put that one into knx.things… like:
Thing device aktor1 [
address="1.1.1",
fetch=true,
pingInterval=300,
readInterval=3600
] {
Type switch : KanalA "Light" [ ga="1/0/1" ]
Type switch : KanalB "Light" [ ga="2/0/1" ]
Type switch : KanalC "Light" [ ga="3/0/1" ]
Type switch : KanalD "Light" [ ga="4/0/1" ]
Type switch : KanalE "Light" [ ga="5/0/1" ]
Type switch : KanalF "Light" [ ga="6/0/1" ]
}
Then I would go to knx.items and assign for every switch an item and a channel:
Switch KanalA "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalA" }
Switch KanalB "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalB" }
Switch KanalC "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalC" }
Switch KanalD "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalD" }
Switch KanalE "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalE" }
Switch KanalF "Light [%s]" <light> { channel="knx:device:bridge:aktor1:KanalF" }
I think sitemap is optional… bute:
- Is the above correct?
- Where do I have to go when I would like to switch 2 GAs? Just make another GA or is it possible inside OH?
- I still dont see the benefits / sin / use of of the channel. But maybe because the above is just wrong
- Is it still possible to split .items in more than 1 file? I’ve got a lot of actuators and want to keep it tidy (~130) - things is not possible iirc…
Thanks a lot in advance!
Alex