This object is in archive! 

How to ignore sensor ?

Ennio Babic shared this question 7 years ago
Need Answer

I have Fibaro RGBW controller and motion sensor, when sensor is triggered it start the rule for RGB strip to strobe for 20 seconds, but when sensor is triggered two times in row in that time of 20 seconds, something goes wrong and everything start to block.


I need some rule to ignore that sensor for 20 seconds, and after that to start detect motion again.


I'm beginner in this whole thing, so I'm probably doing something wrong, can anyone help me ?

Files: Rule.jpg

Replies (3)

photo
2

Insert a join block after the when block. What is the first if block? This IF is pointless as 100 will never equal 0, what are you trying to achieve here? Variables?

And make the wait blocks 1 second. Something like this should work.


Basically what this rule does is this. Upon any change of state of the door sensor, it will run this rule. If the door state is opened, then it will lock the rule until it is finished, Join puzzle. THen it will repeat the on off pattern as described. Hope this helps you understand a little more about the puzzles.

Also see here for more info on puzzle pieces. https://community.zipato.com/knowledge-base/article/the-puzzle-blocks

photo
2

I did not quite understand the if 100 != 0 part. What do you need that?


However, inserting a JOIN puzzle right after the WHEN block before anything else should answer your question. that should ignore the WHEN trigger during the execution time of the rule.

photo
1

Yeah ok, I will try that.

Thanks a lot for answers.


I thought that it need something like that 100!=0 before repeat... I don't know why.

Leave a Comment
 
Attach a file