ok, that’s clear now! Sorry for the confusion and thanks for your patience!
I’m learning a lot theses days
To summarize the current status:
ETS/KNX:
The knx switch “Gira Tastsensor 3” is configured as dimmer. The status led uses the group adress of switching (“Funktion der Status LED = Statusanzeige (des Schaltobjekts)”)
Things and assigned Items
Zigbee-Bulb
There ist only one Zigbee-Channel, a “DIMMABLE LIGHT: Level Control”.
I assigned two openHAB-Items: One item with type “Switch” an another with type “Dimmer”.
KNX placeholder thing
channels:
- id: knx_unterschrank_kueche_dimmer
channelTypeUID: knx:dimmer-control
label: KNX Unterschrank Kueche Dimmer
description: null
configuration:
increaseDecrease: 1/3/30
frequency: 300
switch: 1/2/30+1/1/30
Here i assigned one Item, the Swich-Item!
So far (actually) no rules!
what works
- switch on/off with knx sensor
- switch on/off with openHAB-Items
- dimming with openHAB-Items
- status led knx sensor and openHAB-Items (both directions)
- everything very fast without any delay
What is not working
Dimming with the knx sensor is not working. But the events are recieved!
When i press long “ON” at the knx sensor, i can see the following log events in openHAB:
2024-02-24 13:19:00.192 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'kueche_Unterschrank_Switch' received command INCREASE
2024-02-24 13:19:00.410 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 46 to 44
2024-02-24 13:19:01.409 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 44 to 41
When i press long “OFF” at the knx sensor:
2024-02-24 13:22:22.594 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'kueche_Unterschrank_Switch' received command DECREASE
2024-02-24 13:22:22.801 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 41 to 39
2024-02-24 13:22:23.800 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 39 to 36
The INCREASE event is ok, but the percent value decreases (46 → 41).
When i use the item dimmer in openhab, i’m observing a strange behavior, too. There are alway two events. But the at the end the state is correct. For example one “click” on the dimmer control in openHAB:
2024-02-24 13:28:20.991 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' received command 63
2024-02-24 13:28:21.107 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 36 to 63
2024-02-24 13:28:21.213 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 63 to 38
2024-02-24 13:28:22.214 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Zigbee_Kueche_Unterschrank_10w' changed from 38 to 63
Perhaps now the nex step is to reactivate my rule, i will see…