Rule Machine - This is Frustrating the Heck Out of Me


#41

That is what 4.0 is all about. I don’t understand the question I think.


#42

If it is, then that goes back to my original question -- how can I do that in 4.0? I don't see any way of doing it. I thought your reply was indicating that it's ONLY available in 3.0.


#43

Conditional Actions. It was available from RM 3.0, but RM 4.0 changes how rule logic works.

[Released] Rule 4.0


#44

All of the conditional logic in Rule 4.0 is in the Actions. Trigger Events fire the rule, and then the Actions run and can have any conditional logic you want based on the devices in your system, time of day, etc.


#45

Great links... thanks all for the comments... helping a n00b out here... :slight_smile:


#46

On Webcore have this feature : X2 save matching device to ...

WC%201a

But on RM 3.0, 4.0 I can not find similar features like that ?


#47

There isn't one.


#48

Hi thanks for this info. How do i get this to repeat notification until the door is closed? @bobbles rule has way too much info for me to follow


#49
Trigger:
  Door is *changed*

Actions:
   IF door is open THEN
      REPEAT every xxx (stop)
         Speak on whatever-device "close the door" after a delay of xxx (cancel)
      END-REP
   ELSE
      Cancel delayed action
      Stop repeating actions
   END-IF

#50

@shawnx1 I should thank you. I haven't had the need to write any rules with repeats. You forced me to try to do one and , guess what?, @jabecker just confirmed above, I CAN DO IT!


#51

Thank you so much for this!! You saved me so much time and lots of frustration. Also gave me a better understanding of RM 4.0


#52

Glad I could help!


#53

You may want to look at this as well


#54

Trying to do something similar with the repeat the reminder that something is open... I've tried a couple of different ways and thought this one would finally work:

Even when it becomes false as shown, the repeat continues... help?

Thanks!


#55

You have no trigger for when the door closes. Make your trigger changed instead of open. See post #50 above.


RM 4.0 Rule Questions and Optimizations
#56

Your rule is only getting triggered on the door opening, but you want it to trigger for both opening and closing. Closing causes the else part. Use *changed* instead of open for the trigger.


#57

I knew I was missing something, thank you and @geroose so much!


#58

Help please, something is still not right with my rule... attached below... Even after the Garage Door closes - the "repeating" notification continues. How else do I cancel the delay and repeats from the previous firing?


#60

I have a similar rule. The difference is that I have an END-IF immediately after the END-REP. Then I have a second IF block that begins with:
IF (Garage door opener closed) THEN
Cancel Delayed Actions
Stop Repeating Actions
END-IF


#61

@erethington I know the feeling. I have a rule that is real close to this and I did mine this way. May work. I used yours and modified it. May still need to be tweaked. I am still learning as well.

Correction: Place the delay and the repeat above the Speak and before the THEN statement instead of above the IF.

pic1