Hi, I am trying to convert my enocean 1.x binding to 2.4 binding. With the old binding I could use an enocean rocker switch to control a KNX rollershutter.
Now it is not working and I can’t figure out what I need to do to make it working again. The following configuration shows my things and items file. Switching KNX lights on and off is working properly.
in case you have not found the solution yet, the rockerSwitch thing does not support the virtualRollershutterA channel. So you have at least the following option. Bind the rockerswitchB to an switch item like in your first item definition, setup a rule which reacts to On/Off updates and sends Up/Down commands to your knx thing. I do not think that a rollershutter item can directly react on On/Off commands, so you have to convert it to Up/Down.
Second option: Set up a change request to implement a profle which converts rawrocker messages to Up/Down commands I did not implemented it yet as I did not see your use case (combine enocean and knx devices).
I just wanted to start the implemention of a profile for RawRockerSwitchEvents => RollershutterCommands. However before I do this I just wanted to ask you how you think the profile should work and how the KNX system reacts to certain commands.
I would suggest the following implementation:
Short press => just send UP or DOWN command (duration between PRESSED/RELEASED <= 500 ms)
Long press => on PRESSED event send UP/DOWN command, on RELEASE event send STOP command
Is this the expected behaviour? How will a KNX system react if you send two move UP commands (two short presses)? Will it stop the rollershutter or just move on?