Dimmer with KNX Binding

Hi,

I am really new to openhab and knx, and so there are a lot of problems for me. I am trying to create dimmer items with knx binding, but they don’t work. Normal switches and rollershutters do. But the dimmer items drive me crazy.

I got 5 adresses for one dimmer:
0/0/23 dimmer (Dimmen Licht)
0/0/24 listening adress for dimmer (Rückmeldung Dimmen Licht)
0/0/30 on/off (Schalten Licht)
0/0/34 listening on/off (Rückmeldung Schalten Licht)
0/0/39 value (Rückmeldung Wert Licht)

Sorry for that list, but i hink thats the biggest problem i got. Thats the list i received from the electrician. Postet the german translation in brackets.

Tried differnt possibilities, but none worked.

Dimmer dimmer_esszimmer1 “Dimmer Esszimmer [%d %%]” { knx=“0/0/30+<0/0/34, 0/0/23, 0/0/39+<0/0/24” }

Dimmer dimmer_esszimmer2 “Dimmer Esszimmer 2 [%d %%]” { knx=“0/0/30+<0/0/34, 5.001:0/0/39+<5.001:0/0/24” }

Dimmer dimmer_esszimmer3 “Dimmer Esszimmer 3 [%d %%]” { knx=“1.001:0/0/30+0/0/34, 5.001:0/0/39+0/0/23+0/0/24” }

Hope, someone can help.
Thx

Your GA ar strange. There should be:

  • Set ON/OFF state, DPT 1.001 (your GA 0/0/30)
  • Get ON/OFF state, DPT 1.001 (your GA 0/0/34)
  • Set absolute % state, DPT 5.001 (missing)
  • Get absolute % state, DPT 5.001 (your GA 0/0/39?)
  • up/down dimming , DPT 3.007 (your GA 0/0/23?)

the item should be like

Dimmer MyDimmer "My Dimmer is [%d %%]" {knx="0/0/30,5.001:missing+<5.001:0/0/39"}

I doubt there is a return address for dimming action, as this is useless.
The actuator has to has the R flag (L flag in german) set for 0/0/39 to get the value of the dimmer when starting openHAB.

Please take a look at https://knx-user-forum.de/forum/supportforen/openhab/1033902-newbie-dimming-openhab?p=1169076#post1169076

Hi,

Digging out this old post but now relating to the KNX2.4 binding.
Since I upgraded to 2.4 many of my rules (which did work before) don’t work properly anymore.
Let me start with dimmers:
I have a rule which tries to influence the dimm value depending on another variable:

rule "Bathroom Night Light"
when
	Item Licht_Elternbad_dim received command ON
then
	if (Licht_Elternbad_Night.state == ON) {
		Licht_Elternbad_dim.sendCommand( 30)
	}
end

My thing:

Type dimmer : Licht_Elternbad_dim "Elternbad" [switch="1/3/101+<1/3/104", increaseDecrease="1/3/102", position="1/3/103+<1/3/105"]

Item:

Dimmer Licht_Elternbad_dim "Elternbad" (gE, gLights_E33, gLights, gLOG) { channel="knx:device:bridge:generic:Licht_Elternbad_dim"}

Previously this worked fine, but now the item doesn’t receive an ON command anymore. What am I doing wrong here?

Thanks
Matthias

A dimmer channel will not receive any commands but only changes.
As you want the commands, you have to use an additional control channel.
It’s a bad idea to use the on/off-status of the dimmer either, but you can use this one for the switch:
things:

Type dimmer : Licht_Elternbad_dim "Elternbad" [switch="1/3/101", increaseDecrease="1/3/102", position="1/3/103+<1/3/105"]
Type switch-control : Licht_Elternbad_sw "Elternbad Switch" [ ga="1/3/104" ]

items:

Dimmer Licht_Elternbad_dim "Elternbad" (gE, gLights_E33, gLights, gLOG) { channel="knx:device:bridge:generic:Licht_Elternbad_dim", autoupdate="false" }
Switch Licht_Elternbad_sw "Elternbad Switch" { channel="knx:device:bridge:generic:Licht_Elternbad_sw" }

rule:

rule "Bathroom Night Light"
when
    Item Licht_Elternbad_sw changed to ON
then
    if (Licht_Elternbad_Night.state == ON) 
        Licht_Elternbad_dim.sendCommand( 30)
end