I just didn't grasp it.
I had help from Robert Morris, I think I did it.
Somewhere along the line I lost it and can't recreate it.
How do I make a restriction out of conditions in Rule 4.0?
Here are my screenshots from my last time trying.
I think I have everything but the most important thing. "end rule" if conditions are not met.
The restriction needs to be the first action, otherwise it wonāt restrict anything.
Have you seen this post?
Restrictions being Retired
Rule 4.0 is no longer going to have a section to define Restrictions. Restrictions were specified conditions that would prevent a rule from running. These are being retired for two reasons:
Restrictions are no longer needed, as all of the conditions can be incorporated directly in a rule.
Restrictions introduce unneeded overhead for every rule, while most rules do not use them. Thus, by retiring them, all rules will become more efficient.
Nothing is logged when a rā¦
You don't need an END RULE. If none of the conditional actions are met then nothing happens. You might have trouble with the quotes in your message you are trying to send. Try it without the quotes if you're having trouble.
Ahh, I think I have one condition before and one after.
What if anything should I put to end the rule if conditions are not met?
I have seen post and I'm not trying to make an actual "restriction" it my understanding that conditions can be made to act as a restriction.
There are no restrictions in RM4.0.
1 Like
You can create something similar though with an "overarching" conditional action.
If conditions as restrictions then
REST OF RULE
END-IF
so, if your conditional action was if motion turn on but you wanted to restrict it to a switch being off.
If switch is off then
if Motion is active then
turn on light
end-if
end-if
Note: this has been greatly simplified for demonstration purposes.
Ryan780:
RES
Thanks, Ryan780
I applied the restrictions before the action and it seems to be working. I used the switch and it did not run the action. Tomorrow morning I'm confident it will work when both the condition are true.
Thanks, again.
2 Likes