Hello,
I have created tow items in OH3, one for ON OFF toggling and one for the status;
and one for the LED:
//*.things
Type switch : LEDGarderobe "Garderobe | status LED" [ ga="24/6/55" ]
Type switch : ETGarderobe "Garderobe | Taster" [ ga="24/6/155" ]
//*.items
Switch KNX_ET_Garderobe "Garderobe | Taster[%s]" { channel="knx:device:bridge:generic:ETGarderobe" }
Switch KNX_LED_Garderobe "Garderobe | status LED[%s]" <light> { channel="knx:device:bridge:generic:LEDGarderobe" }
Switch LED_power "Garderobe [%s]" <light> { channel="wifiled:wifiled:DC4F22DE23C1:power" }
I found the following in the documentation: KNX - Bindings | openHAB
I am very insecure so I ask you before I do anything wrong.
I want to show you what I would do:
//new.things
Type switch-control : LEDGarderobe "Garderobe | Licht" [ ga="24/6/155<24/6/55" ]
//new.items
Switch KNX_LED_Garderobe "Garderobe | Licht[%s]" <light> { channel="wifiled:wifiled:DC4F22DE23C1:power", channel="knx:device:bridge:generic:LEDGarderobe" }
Is that implemented correctly?
I would be happy if you take a look at it and give me feedback.