Can someone explain for me how to use Reset reaction in MSR without disturbing other rules.
-
Can someone explain for me how to use Reset reaction in MSR without disturbing other rules.
With these 2 rules and mode is evening or day and rule 2 is triggered light is turned off after 120s by rule 1
Rule 1 :Bathroomlight is turned on and dimmed to 20% if motion (follow,delay reset 120s) is true and Night mode is on
Reset Reaction: turn off light.RUle 2: Bathroomlight is turned on and dimmed to 100% if motion(follow, delay reset 600s) is true and day or Evening mode I true
Reset Reaction: Turn off lightHow do you turn off lights in similar cases without disturbing other rules with same sensors...
/Mattias -
@matteburk My guess is that Rule 1 is somehow also triggered, I would use Contraints to make sure they only fire when they are supposed to. I'm still learning Constraints but have similar Rules where schedules, motion sensors, lux and house mode is involved and got that set up but can't really explain very good as it's more of a trial and error for me at the moment
The documentation is mixing Conditions and Constraints which for me is opposites and I'm mixing a lot of NOT's to make it TRUE and FALSE in the correct places. -
-
@matteburk Yes, the Constraints would block the Reaction in Rule 1 to run, thus will Reset Reaction in Rule 1 not run.
-
@toggledbits I think it's becoming apparent that users might interpret Constraints in one of two diametrically opposite meanings. Some might think for example that a TRUE constraint condition will prevent the rule from continuing to run. Others, more correctly in my opinion, will understand that a constraint condition must be TRUE in order for the rule to run.
I wonder if there could not be some clarifying language in the user interface? -
I'll refer to the documentation, and you can tell me if it's clear enough or still needs work: https://reactor.toggledbits.com/docs/Rulesets/
Also, it would be good to have the full rules posted in this thread. The descriptions of what the rules look like just leave too much room for interpretation. Let's see what's actually being done.
-
Matteburkreplied to toggledbits on Mar 28, 2021, 4:08 PM last edited by Matteburk Mar 28, 2021, 12:14 PMThis post is deleted!
-
This post is deleted!
-
@matteburk I think you need to put AND in top level for the triggers for Rule 1.
-
-
OK, that's a start, I guess, although they are barely readable. Maybe we'll need to go back to some kind of Logic Summary-like thing.
Now, what are these supposed to do, and what is the problem you are having with them?
-
Crillereplied to Matteburk on Mar 28, 2021, 4:37 PM last edited by Crille Mar 28, 2021, 1:44 PM
@matteburk I would still put condition "natt"/"dag" and "kväll" in Constraints as it's not a trigger, rather a condition and would prevent Reaction/Reset Reaction to run.
Edit: Clarification for future readers. Forcing the Constraints condition to go FALSE prevents the SET/Reset Reaction to run.
-
toggledbitsreplied to Crille on Mar 28, 2021, 4:38 PM last edited by toggledbits Mar 28, 2021, 12:39 PM
@crille said in Can someone explain for me how to use Reset reaction in MSR without disturbing other rules.:
rather a condition and would prevent Reaction/Reset Reaction to run.
No, that's not how Constraints work. Constraints do not prevent Reset reactions.
-
@toggledbits No, but it will prevent the Reaction to run, thus the Reset Reaction?
-
Rule 1 is 1 motion sensor I Master bedroom and 2 motion sensors in bathroom that if any is true (delayed reset 120s)and Natt mode is true master bedroom light and bathroom light is turn on. Reset reaction turn off
Rule 2 If any of the 2 motion sensors in bathroom is true(delayed reset 600s) and dag or kväll mode is true bathroom light is turned on . Reset reaction turn off -
@crille said in Can someone explain for me how to use Reset reaction in MSR without disturbing other rules.:
o, but it will prevent the Reaction to run, thus the Reset Reaction?
THAT is true, so we need to be careful how we phrase it, because your other statement is incorrect and misleading, and would give other readers the wrong idea. But you are correct in the last: if the SET reaction does not run, neither can the RESET, because RESET will only follow SET (once the basic state of the rules has been established).
-
@matteburk And the problem?
-
The problem is when rule 2 is set and reset is delayed 600s rule 1 is being resetted by reset reaction in it and lights go of in 120 s instead of 600s as it should
8/34