Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
KCS firmware
#10
How define triggers to click, doubleclick and hold on on input.
With setting below
 
Code:
  on_click:
    - min_length: 50ms
      max_length: 350ms
      then:
        - switch.toggle: output03
    - min_length: 1000ms
      max_length: 5000ms
      then:
        - switch.turn_on: output02
    on_double_click:
    - min_length: 50ms
      max_length: 350ms
      then:
        - switch.turn_on: output01
works single click as expected - toggle output 3
but double click turns on output 1 and toggle output 3 twice
hold input longer then 1 sek turn on output 2 as expected

how to eliminate double toggling output 3 in doubleclick?
Reply


Messages In This Thread
KCS firmware - by remiasz - 09-08-2024, 05:28 PM
RE: KCS firmware - by admin - 09-09-2024, 12:32 AM
RE: KCS firmware - by remiasz - 09-13-2024, 02:05 PM
RE: KCS firmware - by admin - 09-13-2024, 10:11 PM
RE: KCS firmware - by remiasz - 09-15-2024, 02:02 PM
RE: KCS firmware - by admin - 09-15-2024, 11:55 PM
RE: KCS firmware - by remiasz - 09-16-2024, 08:55 PM
RE: KCS firmware - by admin - 09-16-2024, 11:37 PM
RE: KCS firmware - by remiasz - 09-18-2024, 07:55 PM
RE: KCS firmware - by remiasz - 09-18-2024, 08:55 PM
RE: KCS firmware - by admin - 09-18-2024, 11:48 PM
RE: KCS firmware - by xxpeta - 10-06-2024, 04:12 PM
RE: KCS firmware - by admin - 10-07-2024, 01:07 AM
RE: KCS firmware - by xxpeta - 10-07-2024, 07:27 AM
RE: KCS firmware - by admin - 10-07-2024, 07:55 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)