Skip to content

TASMOTA Hand Wave detection #20441

Answered by sivabala21
sivabala21 asked this question in Q&A
Discussion options

You must be logged in to vote

Thanks for the assistance! I was able to craft the following rule with the help of your suggestions and the documentation:

Rule1 ON Switch1#state==2 DO
  IF ((%power2% == 0) AND (%power4% == 0))
    Backlog Power2 1; Power4 1
  ELSEIF ((%power2% == 1) AND (%power4% == 1))
    Backlog Power2 0; Power4 0
  ELSE
    Backlog Power2 0; Power4 0
  ENDIF
ENDON

Important note for ESP8266 users:

  • This rule requires a custom Tasmota build with IF and expression features enabled. It will not work with the default ESP8266 build.

Replies: 2 comments 9 replies

Comment options

You must be logged in to vote
8 replies
@barbudor
Comment options

@sfromis
Comment options

@barbudor
Comment options

@sfromis
Comment options

@barbudor
Comment options

Comment options

You must be logged in to vote
1 reply
@Jason2866
Comment options

Answer selected by sivabala21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants