Hello,
I am new to OpenHAB. I have a new KNX installation at home that I configured myself in ETS6.
I am running openhabian on a Raspberry 4 in 32bits. My version of openhab is 3.4.4.
I configured a dimmer through the UI. Everything seems to work fine except the update of the physical wallswitch.
If the lamp is turned on by the slider on the item or by the rule with a sendCommand I am expecting that the next click on my physical push button would turn off the lamp. But the next click is turning the lamp on the last saved percentage and it needs a second click to turn off.
Here is my thing configuration:
UID: knx:device:8101b5be9f
label: Module Dimming 1
thingTypeUID: knx:device
configuration:
pingInterval: 600
address: 1.1.2
readInterval: 0
fetch: false
bridgeUID: knx:ip:712968f0b8
location: Tableau
channels:
- id: Eclairage_Couloir
channelTypeUID: knx:dimmer
label: Eclairage Couloir
description: “”
configuration:
position: 5.001:1/3/23+<1/4/23
switch: 1.001:1/1/23+<1/5/23
Here is my item configuration:
My physical push button configuration in ETS:
and my dimming module configuration in ETS:
Reading threads on the forum I have tried a few configuration and added lately the autoupdate=false on the item but it doesn’t have any effect. I also tried not adding the switch status to the channel configuration but it is not helping either.
Is it an expected behavior? Is there an issue with my configuration? Is there a way to reach my expected behavior (turning off the light on the next first click)?
EDIT: Forgot to mention that if I click on the push button the percentage value is correctly updated on the item.
EDIT2:
Logs in ETS:
#move slider to 20
2 06-06-23 22:20:46,859 from bus Low 1.1.255 - 1/3/23 Couloir éclairage dimming valeur Eclairage Couloir 6 GroupValue_Write $33 | 20%
3 06-06-23 22:20:47,148 from bus Low 1.1.2 DM 4 T (4x dimming actuator) 1/5/23 Couloir éclairage statut Eclairage Couloir 6 GroupValue_Write $01 | On
4 06-06-23 22:20:47,408 from bus Low 1.1.2 DM 4 T (4x dimming actuator) 1/4/23 Couloir éclairage luminosité Eclairage Couloir 6 GroupValue_Write $33 | 20%
#click on push button
6 06-06-23 22:21:03,705 from bus Low 1.1.13 Interrupteurs Cuisine Passage 1/1/23 Couloir éclairage commutation Eclairage Couloir 6 GroupValue_Write $01 | On
7 06-06-23 22:21:04,097 from bus Low 1.1.2 DM 4 T (4x dimming actuator) 1/4/23 Couloir éclairage luminosité Eclairage Couloir 6 GroupValue_Write $80 | 50%
#second click on button
8 06-06-23 22:21:05,788 from bus Low 1.1.13 Interrupteurs Cuisine Passage 1/1/23 Couloir éclairage commutation Eclairage Couloir 6 GroupValue_Write $00 | Off
10 06-06-23 22:21:06,357 from bus Low 1.1.2 DM 4 T (4x dimming actuator) 1/5/23 Couloir éclairage statut Eclairage Couloir 6 GroupValue_Write $00 | Off
11 06-06-23 22:21:06,617 from bus Low 1.1.2 DM 4 T (4x dimming actuator) 1/4/23 Couloir éclairage luminosité Eclairage Couloir 6 GroupValue_Write $00 | 0%
Logs in openhab:
#move slider to 20
22:20:43.050 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' received command 20
22:20:43.422 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 0 to 100
22:20:43.686 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 100 to 20
#click on push button
22:20:59.977 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 20 to 100
22:21:00.368 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 100 to 50
#second click on button
22:21:02.061 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 50 to 0
If I remove the switch status address (switch: 1.001:1/1/23 instead of switch: 1.001:1/1/23+<1/5/23)
Logs in ETS are similar but the behavior in openhab seems more correct:
#move slider to 20
22:31:52.727 [INFO ] [openhab.event.ItemCommandEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' received command 20
22:31:53.414 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 0 to 20
#click on push button
22:32:08.367 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 20 to 100
22:32:08.749 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 100 to 50
#second click on button
22:32:09.671 [INFO ] [openhab.event.ItemStateChangedEvent ] - Item 'Eclairage_Couloir_Eclairage_Couloir' changed from 50 to 0
Kind regards,