Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved
Collapse
Discussion Forum to share and further the development of home control and automation, independent of platforms.

Global Moderators

Forum wide moderators

Private

Posts


  • Rulesets with multiple groups in Set Reaction not working post-26116
    therealdbT therealdb

    @toggledbits the one with the rules.

    Multi-System Reactor

  • Rulesets with multiple groups in Set Reaction not working post-26116
    toggledbitsT toggledbits

    @therealdb said in Rulesets with multiple groups in Set Reaction not working post-26116:

    PS: is it safe to delete the json files in the folder?

    Which folder?

    Multi-System Reactor

  • Rulesets with multiple groups in Set Reaction not working post-26116
    therealdbT therealdb

    it fixed a couple for me, so definitely working! thanks!

    PS: is it safe to delete the json files in the folder?

    Multi-System Reactor

  • Reactor (Multi-System/Multi-Hub) Announcements
    toggledbitsT toggledbits

    Reactor build 26130

    • Reactions and Reactions UI: fix a long-standing issue where imported/cloned Group and While actions were not given unique IDs by the UI. Until 26116, this bug lurked in the shadows because IDs on actions in Reactions didn't matter at all, so the duplication went unnoticed and was actually harmless. But changes in 26116 to improve predicate response and display made these IDs important for Rule-based Reactions. IDs tend to change when Rule-based Reactions are edited, but long-standing objects that aren't often touched could be left with duplicate IDs embedded. In 26116, this duplication would cause inconsistent and incorrect evaluation of group/while predicates (because two different predicates sharing the same ID would share the same status/result). This build fixes the situation in two ways. First, existing Rules are fixed by deep-scanning when loaded (i.e. at startup), and any conditions or actions having duplicate IDs are given new, unique IDs. Second, fixes have been made to the Reaction Editor to prevent duplication of IDs when an action is cloned or a Reaction is imported. The former fix should ensure that your existing rules are corrected with no further intervention on your part. The latter fix addresses the original editing (copy and import) bugs that gave rise to the problem in the first place. Note that IDs are only required to be unique within the context of a Rule or Reaction; they do not need to be globally unique. If you are the type of person who likes to "deep dive" your storage data and you happen to find duplicate IDs in different Rules/Reactions, that's OK; it's only a problem if an ID is used in duplicate within a single Rule or Reaction. If you get an alert in the Status page that rules were modified by the new startup scan, please delete the alert and restart Reactor. The alert should not return (i.e. the rule is fixed). If the alert returns across more than two restarts, let me know in the Smarthome Community.
    • HassController: Bless HA to 2026.5.1
    Multi-System Reactor announcements

  • Rulesets with multiple groups in Set Reaction not working post-26116
    toggledbitsT toggledbits

    I dropped you a DM. Whatever folder you are uploading to has expired and I no longer have access to it.

    That may be moot at this point, since info from @therealdb is likely leading to the same conclusion. I have a fix build coming soon that I'm at least 50% sure will address your problem as well as his.

    Multi-System Reactor

  • Reactor build 26116: empty group reaction
    toggledbitsT toggledbits

    OK. Please turn on log level 5 for that rule only. Run the rule to show the issue, and upload the entire Rule log file as well as reactor.log, the rule storage files (dval and json). Link for upload in your DMs

    Multi-System Reactor

  • Reactor build 26116: empty group reaction
    therealdbT therealdb

    @toggledbits unfortunately, this is still occurring with the new build. here's the log:

    Reactor Support Report - Outdoor Lights Sunset Logic

    1) Dev instrumentation context before event

    [latest-26127]2026-05-07T18:06:07.950Z <Engine:INFO> Engine#1 performing startup eval of global partymode
    [latest-26127]2026-05-07T18:07:09.232Z <Rule:NOTICE> Lights-Outdoor-On-Sunset (rule-kwulsxqu in Lights-Outdoor) configuration changed; reloading
    [latest-26127]2026-05-07T18:07:09.232Z <Engine:INFO> Engine#1 rule Rule#rule-kwulsxqu changed; reloading and restarting it
    

    2) Sunset rule starts and enters No vacation

    [latest-26127]2026-05-07T18:07:37.303Z <Engine:INFO> Enqueueing "Lights-Outdoor-On-Sunset<SET>" (rule-kwulsxqu:S)
    [latest-26127]2026-05-07T18:07:37.307Z <Engine:NOTICE> Starting reaction Lights-Outdoor-On-Sunset<SET> (rule-kwulsxqu:S)
    [latest-26127]2026-05-07T18:07:37.310Z <Rule:INFO> Rule#rule-kwulsxqu evaluating reaction group constraints No vacation (rule-kwulsxqu:S-159bdlwb-cons)
    [latest-26127]2026-05-07T18:07:37.319Z <Rule:INFO> Rule#rule-kwulsxqu reaction group No vacation (rule-kwulsxqu:S-159bdlwb-cons) constraints result=true
    

    3) Party Mode OFF evaluated true and executed

    [latest-26127]2026-05-07T18:07:37.334Z <Rule:INFO> Rule#rule-kwulsxqu evaluating reaction group constraints Party Mode: OFF (rule-kwulsxqu:S-sjf1np7-cons)
    [latest-26127]2026-05-07T18:07:37.337Z <Rule:INFO> Rule#rule-kwulsxqu reaction group Party Mode: OFF (rule-kwulsxqu:S-sjf1np7-cons) constraints result=true
    [latest-26127]2026-05-07T18:07:37.353Z <Engine:NOTICE> Starting reaction Lights-Outdoor-On-Sunset<SET>/No vacation/Party Mode: OFF (rule-kwulsxqu:S-sjf1np7)
    

    4) Party Mode ON also evaluated true in same flow

    [latest-26127]2026-05-07T18:08:17.332Z <Rule:INFO> Rule#rule-kwulsxqu evaluating reaction group constraints Party Mode: ON (rule-kwulsxqu:S-sjf1np7-cons)
    [latest-26127]2026-05-07T18:08:17.334Z <Rule:INFO> Rule#rule-kwulsxqu reaction group Party Mode: ON (rule-kwulsxqu:S-sjf1np7-cons) constraints result=true
    [latest-26127]2026-05-07T18:08:17.358Z <Engine:NOTICE> Starting reaction Lights-Outdoor-On-Sunset<SET>/No vacation/Party Mode: ON (rule-kwulsxqu:S-je98j75)
    

    5) Follow-up party path triggers On-All scene

    [latest-26127]2026-05-07T18:08:22.377Z <Engine:INFO> Enqueueing "Lights-Outdoor-On-PartyMode<SET>" (rule-kwulj21d:S)
    [latest-26127]2026-05-07T18:08:22.508Z <Engine:NOTICE> Starting reaction Lights-Outdoor-On-PartyMode<SET> (rule-kwulj21d:S)
    [latest-26127]2026-05-07T18:08:22.525Z <Engine:INFO> Enqueueing "G-Lights-Outdoor-On-All" (re-kwueqcud)
    

    6) Same top-level run also executes Vacation branch

    [latest-26127]2026-05-07T18:08:22.585Z <Rule:INFO> Rule#rule-kwulsxqu evaluating reaction group constraints Vacation (rule-kwulsxqu:S-159bdlwb-cons)
    [latest-26127]2026-05-07T18:08:22.586Z <Rule:INFO> Rule#rule-kwulsxqu reaction group Vacation (rule-kwulsxqu:S-159bdlwb-cons) constraints result=true
    [latest-26127]2026-05-07T18:08:22.603Z <Engine:NOTICE> Starting reaction Lights-Outdoor-On-Sunset<SET>/Vacation (rule-kwulsxqu:S-159bdlwb)
    

    Dev Instrumentation Lines (Most Relevant)

    These are the strongest lines showing the engine handling multiple conflicting groups as true:

    [latest-26127]2026-05-07T18:07:37.320Z <Engine:INFO> Engine#1 reaction rule-kwulsxqu:S handling group No vacation (rule-kwulsxqu:S-159bd6va) constraints result state true
    [latest-26127]2026-05-07T18:07:37.339Z <Engine:INFO> Engine#1 reaction rule-kwulsxqu:S-159bd6va handling group Party Mode: OFF (rule-kwulsxqu:S-sjf1np7) constraints result state true
    [latest-26127]2026-05-07T18:08:17.334Z <Engine:INFO> Engine#1 reaction rule-kwulsxqu:S-159bd6va handling group Party Mode: ON (rule-kwulsxqu:S-je98j75) constraints result state true
    [latest-26127]2026-05-07T18:08:22.587Z <Engine:INFO> Engine#1 reaction rule-kwulsxqu:S handling group Vacation (rule-kwulsxqu:S-159bdlwb) constraints result state true
    

    Additional Context

    [latest-26127]2026-05-07T18:08:22.553Z <Engine:INFO> Engine#1 perform x_mqtt.publish ... topic "dbdomoticz/cmd/sceniclightsprogram" ... by reaction Lights-Outdoor-On-Sunset<SET>/No vacation
    [latest-26127]2026-05-07T18:08:22.372Z <Rule:INFO> Rule#rule-l20ceesq re-evaluating local variable close for dependency notification from GlobalExpression#scenefrommqtt
    [latest-26127]2026-05-07T18:08:22.374Z <Rule:INFO> Rule#rule-l3jpxetn re-evaluating local variable allup for dependency notification from GlobalExpression#scenefrommqtt
    
    Multi-System Reactor

  • Reactor build 26116: empty group reaction
    toggledbitsT toggledbits

    Build 26127 just posted has a small change that hit the issue responsible for the misbehavior. If not, there's additional logging that may help point me in the right direction.

    Multi-System Reactor

  • Rulesets with multiple groups in Set Reaction not working post-26116
    toggledbitsT toggledbits

    At this point I would need to see the entire config file. You could also run it through yamllint.com to make sure it's all OK (and remember, no tabs -- always spaces for indenting -- that's a common trap with some editors that "help" you during copy/paste).

    Build 26127 has a change that may be responsible for the misbehavior, as well as additional logging in case that's not the problem. Please upgrade to that when able and see how it behaves.

    Multi-System Reactor

  • Reactor (Multi-System/Multi-Hub) Announcements
    toggledbitsT toggledbits

    Reactor build 26127

    • This is an interim build that has one small possible fix for the group evaluation problem reported by @gwp1 and @therealdb , as well as additional diagnostic logging in case that change doesn't resolve the issue. Other users not using or experiencing problems with Reaction groups do not need to update to this build.
    Multi-System Reactor announcements

Member List

CatmanV2C CatmanV2
therealdbT therealdb
toggledbitsT toggledbits
akbooerA akbooer
DesTD DesT
rafale77R rafale77
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Unsolved