Thanks. The gist of it is this:
2021-12-28 13:29:13.291 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:13.293 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state null -> LONG_PRESSED
2021-12-28 13:29:13.309 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG_START' from gateway with id 'CCU3'
2021-12-28 13:29:13.311 [WARN ] [irtual.ButtonVirtualDatapointHandler] - Unexpected vaule 'LONG_START' for PRESS virtual datapoint
2021-12-28 13:29:13.312 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG_START, value true, button state LONG_PRESSED -> null
2021-12-28 13:29:13.534 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:13.537 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state null -> LONG_PRESSED
2021-12-28 13:29:13.794 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:13.797 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:14.043 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:14.045 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:14.294 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:14.297 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:14.523 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:14.524 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:14.778 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:14.781 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:15.037 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:15.040 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:15.262 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:15.264 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:15.317 [DEBUG] [ematic.internal.misc.DelayedExecuter] - Executing delayed event for '00171BE99324D8:1#PRESS_LONG_START'
2021-12-28 13:29:15.320 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG_START, value false, button state LONG_PRESSED -> LONG_RELEASED
2021-12-28 13:29:15.537 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:15.539 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_RELEASED -> LONG_PRESSED
2021-12-28 13:29:15.785 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:15.787 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:16.050 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:16.052 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:16.292 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:16.294 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:16.537 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:16.539 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:16.790 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:16.792 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:17.034 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG' from gateway with id 'CCU3'
2021-12-28 13:29:17.036 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value true, button state LONG_PRESSED -> LONG_PRESSED
2021-12-28 13:29:17.583 [DEBUG] [ommunicator.AbstractHomematicGateway] - Received new (Boolean) value 'true' for '00171BE99324D8:1#PRESS_LONG_RELEASE' from gateway with id 'CCU3'
2021-12-28 13:29:17.585 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG_RELEASE, value true, button state LONG_PRESSED -> LONG_RELEASED
2021-12-28 13:29:19.045 [DEBUG] [ematic.internal.misc.DelayedExecuter] - Executing delayed event for '00171BE99324D8:1#PRESS_LONG'
2021-12-28 13:29:19.047 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG, value false, button state LONG_RELEASED -> null
2021-12-28 13:29:19.590 [DEBUG] [ematic.internal.misc.DelayedExecuter] - Executing delayed event for '00171BE99324D8:1#PRESS_LONG_RELEASE'
2021-12-28 13:29:19.594 [DEBUG] [irtual.ButtonVirtualDatapointHandler] - Handled virtual button event on 00171BE99324D8:1: press type LONG_RELEASE, value false, button state null -> null
So HMIP works differently than HM in this regard: HM sends LONG - CONT for repetition - LONG_RELEASE, HMIP sends LONG_START - LONG for repetition - LONG_RELEASE.
I guess previously you got more than one LONG_PRESSED event for each long press as well, right? (I think that’s the case because the binding didn’t handle LONG_START before either).
Either way, I’ll think about a solution for this that is compatible with both HM and HMIP.