Thanks again for your detailed explanation of how you’ve linked openHAB2 to QLCplus, it really inspired me to get my head around it.
Curiously, I’ve managed to do everything I wanted to by just using the DMX binding of openHAB2 and link sACN channels to elements of the Virtual Console in QLCplus.
As I’ve also got my head around the expire binding, I can create the button press that you were looking for purely with DMX too.
But it seems to respond to any value >0 to trigger.
So I just use a button in HabPanel to send anything to the correct DMX Dimmer Item and let it time out back to 0
(Dimmer 9 is what I’ve tested it with in these examples.)
Being able to use a ColourPicker in HabPanel to set the start and end colours of effects is pretty cool too.
These are the sample Things and Item files that got me started.
Things
Bridge dmx:sacn-bridge:QLCBridge "QLCsACN" @ "QLC" [ mode="unicast", address="192.168.178.202", universe=1 ] {
dimmer QLC_Master "QLC Master Dimmer" @ "QLC" [dmxid="1", fadetime=1000, dimtime=1000 ]
dimmer QLC_all "QLC All sub Channels" @ "QLC" [dmxid="2/511" ]
dimmer QLC_Ch02 "QLC Channel 2" @ "QLC" [dmxid="2" ]
dimmer QLC_Ch03 "QLC Channel 3" @ "QLC" [dmxid="3" ]
dimmer QLC_Ch04 "QLC Channel 4" @ "QLC" [dmxid="4" ]
dimmer QLC_Ch05 "QLC Channel 5" @ "QLC" [dmxid="5" ]
dimmer QLC_Ch06 "QLC Channel 6" @ "QLC" [dmxid="6" ]
dimmer QLC_Ch07 "QLC Channel 7" @ "QLC" [dmxid="7" ]
dimmer QLC_Ch08 "QLC Channel 8" @ "QLC" [dmxid="8" ]
dimmer QLC_Ch09 "QLC Channel 9" @ "QLC" [dmxid="9" ]
dimmer QLC_Ch10 "QLC Channel 10" @ "QLC" [dmxid="10" ]
dimmer QLC_Ch11 "QLC Channel 11" @ "QLC" [dmxid="11" ]
chaser QLC_chase01 "QLC Chase 01" @ "QLC" [dmxid="2/10", steps="2000:255,0,0,0,0,0,0,0,0,0:-1" ]
chaser QLC_chase02 "QLC Chase 02" @ "QLC" [dmxid="2/10", steps="2000:0,255,0,0,0,0,0,0,0,0:-1" ]
chaser QLC_chase03 "QLC Chase 03" @ "QLC" [dmxid="2/10", steps="2000:0,0,255,0,0,0,0,0,0,0:-1" ]
chaser QLC_chase04 "QLC Chase 04" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,255,0,0,0,0,0,0:-1" ]
chaser QLC_chase05 "QLC Chase 05" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,255,0,0,0,0,0:-1" ]
chaser QLC_chase06 "QLC Chase 06" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,0,255,0,0,0,0:-1" ]
chaser QLC_chase07 "QLC Chase 07" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,0,0,255,0,0,0:-1" ]
chaser QLC_chase08 "QLC Chase 08" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,0,0,0,255,0,0:-1" ]
chaser QLC_chase09 "QLC Chase 09" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,0,0,0,0,255,0:-1" ]
chaser QLC_chase10 "QLC Chase 10" @ "QLC" [dmxid="2/10", steps="2000:0,0,0,0,0,0,0,0,255,0:-1" ]
color QLC_rgb01 "QLC RGB 01" @ "QLC" [dmxid="50/3", fadetime=1000, dimtime=10000 ]
}
Items
Group:Dimmer:MAX QLC_SubMaster_1 "QLC SubMaster 1"
Switch QLCMasterMute "QLC Master Mute" { channel="dmx:sacn-bridge:QLCBridge:mute" }
Dimmer QLCMaster "QLC Master" { channel="dmx:dimmer:QLCBridge:QLC_Master:brightness" }
Dimmer QLC_Ch02_Dim "QLC Channel 02 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch02:brightness" }
Dimmer QLC_Ch03_Dim "QLC Channel 03 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch03:brightness" }
Dimmer QLC_Ch04_Dim "QLC Channel 04 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch04:brightness" }
Dimmer QLC_Ch05_Dim "QLC Channel 05 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch05:brightness" }
Dimmer QLC_Ch06_Dim "QLC Channel 06 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch06:brightness" }
Dimmer QLC_Ch07_Dim "QLC Channel 07 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch07:brightness" }
Dimmer QLC_Ch08_Dim "QLC Channel 08 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch08:brightness" }
Dimmer QLC_Ch09_Dim "QLC Channel 09 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch09:brightness",expire="1s,command=0" }
Dimmer QLC_Ch10_Dim "QLC Channel 10 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch10:brightness" }
Dimmer QLC_Ch11_Dim "QLC Channel 11 Dimmer" (QLC_SubMaster_1) { channel="dmx:dimmer:QLCBridge:QLC_Ch11:brightness" }
Switch QLC_Chase01 "QLC Chase 01" { channel="dmx:chaser:QLCBridge:QLC_chase01:switch" }
Switch QLC_Chase02 "QLC Chase 02" { channel="dmx:chaser:QLCBridge:QLC_chase02:switch" }
Switch QLC_Chase03 "QLC Chase 03" { channel="dmx:chaser:QLCBridge:QLC_chase03:switch" }
Switch QLC_Chase04 "QLC Chase 04" { channel="dmx:chaser:QLCBridge:QLC_chase04:switch" }
Switch QLC_Chase05 "QLC Chase 05" { channel="dmx:chaser:QLCBridge:QLC_chase05:switch" }
Switch QLC_Chase06 "QLC Chase 06" { channel="dmx:chaser:QLCBridge:QLC_chase06:switch" }
Switch QLC_Chase07 "QLC Chase 07" { channel="dmx:chaser:QLCBridge:QLC_chase07:switch" }
Switch QLC_Chase08 "QLC Chase 08" { channel="dmx:chaser:QLCBridge:QLC_chase08:switch" }
Switch QLC_Chase09 "QLC Chase 09" { channel="dmx:chaser:QLCBridge:QLC_chase09:switch" }
Switch QLC_Chase10 "QLC Chase 10" { channel="dmx:chaser:QLCBridge:QLC_chase10:switch" }
Color QLC_rgb01 "QLC RGB 01" { channel="dmx:color:QLCBridge:QLC_rgb01:color" }
// I didn't need these extra controls in the end, I just set the Uni & Channel manually in QLCplus
// Dimmer QLC_rgb01_RED "QLC RGB 01 RED" { channel="dmx:color:QLCBridge:QLC_rgb01:brightness_r" }
// Dimmer QLC_rgb01_GREEN "QLC RGB 01 GREEN" { channel="dmx:color:QLCBridge:QLC_rgb01:brightness_g" }
// Dimmer QLC_rgb01_BLUE "QLC RGB 01 BLUE" { channel="dmx:color:QLCBridge:QLC_rgb01:brightness_b" }
Huge amounts of Kudos to @J-N-K again for giving us the DMX binding in the first place.