FHEM Forum

FHEM => Automatisierung => Thema gestartet von: spaceboy am 27 August 2017, 20:25:54

Titel: Module 91_sequence: add delay option
Beitrag von: spaceboy am 27 August 2017, 20:25:54
Hi there

Here is a small patch to 91_sequence, which adds a delay option to detect for example a press and hold of a button, and subsequent RE's can omit device name to reuse the one that matched previously.

Note: German doc is not updated (my German is suboptimal ;) )

Thanks for review

Petr
Titel: Antw:Module 91_sequence: add delay option
Beitrag von: rudolfkoenig am 03 September 2017, 17:22:11
Thanks for the patch. I shortened it by replacing the part after "if($hash->{TS} > gettimeofday())" with sequence_Trigger(), and added the german translation.
Titel: Antw:Module 91_sequence: add delay option
Beitrag von: spaceboy am 04 September 2017, 15:08:24
Perfect, thanks!