Can a rule be used to disable other rules?
-
Howdy,
My goal is to have a rule that when triggered will disable other certain pre-defined rule sets, but I can't seem to find a way to do it in MSR. Is it possible?
In the MSR UI, rule sets are toggled manually to be enabled (green) and disabled (red). I would like to do this from within a rule.
Running MSR version latest-22274-24dfd72c
TIA,
-bh -
Howdy,
My goal is to have a rule that when triggered will disable other certain pre-defined rule sets, but I can't seem to find a way to do it in MSR. Is it possible?
In the MSR UI, rule sets are toggled manually to be enabled (green) and disabled (red). I would like to do this from within a rule.
Running MSR version latest-22274-24dfd72c
TIA,
-bh -
Howdy,
My goal is to have a rule that when triggered will disable other certain pre-defined rule sets, but I can't seem to find a way to do it in MSR. Is it possible?
In the MSR UI, rule sets are toggled manually to be enabled (green) and disabled (red). I would like to do this from within a rule.
Running MSR version latest-22274-24dfd72c
TIA,
-bh -
You could also just use another rule, tested by a Rule State condition, or a virtual switch or binary sensor, etc.
-
Thank you all for your responses, you are an awesome bunch in this group and I have what I was looking for.
Essentially toggling a rule as active or inactive can only be done manually, so I wasn't going crazy because this was something I could do in the Vera Reactor to another Reactor
I have been using toggles in HAAS to toggle a state which I include as a 'constraint' within multiple MSR rules which works.
What I was looking for is more of a 'kill switch’ to completely disable a rule or set of rules for reasons that come up from time to time where I manually disable them so there is no chance of them running. Not a show stopper by any means.
Thanks again,
-b -
Thank you all for your responses, you are an awesome bunch in this group and I have what I was looking for.
Essentially toggling a rule as active or inactive can only be done manually, so I wasn't going crazy because this was something I could do in the Vera Reactor to another Reactor
I have been using toggles in HAAS to toggle a state which I include as a 'constraint' within multiple MSR rules which works.
What I was looking for is more of a 'kill switch’ to completely disable a rule or set of rules for reasons that come up from time to time where I manually disable them so there is no chance of them running. Not a show stopper by any means.
Thanks again,
-b@basai My approach to this has been to set a rule to determine a "thing" or "state". I then "turn on/off" other rules by looking at the status of that rule.
Example:
Ruleset: is temp below 40º? True for <40º, False for >40º
Ruleset: do this thing if ruleset "is temp below 40º" is true (or false.) -
T toggledbits locked this topic on