maniac103 88975dcd13
[homematic] Remove double press events and improve long press events for button trigger (#11186)
HM devices provide not only 'long press' events, but also 'long
press continued' (sent in configured long press interval) and 'long
press released' events. So far, those events were swallowed in the
button datapoint handler.
Improve the situation by forwarding those events to the button trigger
channel, making them usable in e.g. rules that react on button long
presses.

A double press timeout of 2 seconds is too long and disturbs single
press processing. Additionally, for double press processing to be
useful, the first press would need to be swallowed until double press
timeout elapses, which is not what happened here: the first PRESS was
sent out as SINGLE_PRESS event, making it impossible to meaningfully
distinguish the 'single press' and 'double press' events within rules.

If needed, double press handling can be implemented equally well within
a rule.

Signed-off-by: Danny Baumann <dannybaumann@web.de>
2021-09-18 14:32:40 +02:00
..
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00
2021-06-27 23:25:35 +02:00