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.
  1. Home
  2. Software
  3. Multi-System Reactor
  4. Rule condition shows TRUE in UI but Rule never transitions to SET — survives full restart
Grouped devices
G
I've seen many of you using Dynamic Group Controller. I'm using it myself for monitoring device battery levels. I've read and re-read the Dynamic Group Controller docs and still cannot come to an answer for my question so let me paint my scenario: I've migrated from EchoSpeaks in Hubitat ('cause borked and seemingly unmaintained) to Alexa Devices in Home Assistant ('cause not borked in 2026.11.0) to be able to send TTS to my Echo devices. In EchoSpeaks I could create groups. Sweet. In Alexa Devices I don't seem to be able to do so. As such, my thought was "wait - isn't there a way in MSR?" Is this an effective scenario that Dynamic Group Controller can be used for?
Multi-System Reactor
Reverse proxy & API ACL
tunnusT
I'm trying to allow anonymous access from a local network to /api/v1/log, but the problem now with the reverse proxy configuration is that this access is open via proxy to the internet. At least I wasn't able to configure ACL so that only an access from a local network would be permitted. reactor.yaml: baseurl: "http://192.168.1.12:8111" proxy_baseurl: "https://external.com:30000" trusted_proxy: "192.168.1.12" Local traffic would originate from 192.168.1.0/24 network. Synology is acting as a reverse proxy and hosting MSR as a docker container (which has its own network and IP 172.18.0.5). MSR build is latest-26298-fbb75fb8 users.yaml: - url: "/api/v1/log" method: "GET" source_ip: 172.18.0.0/24 allow: true Using the above ACL works, but it enables access via proxy also. If I use source_ip: 192.168.1.0/24, then it doesn't work either locally or remotely. So I'm kinda lost what should I use as source_ip in this case?
Multi-System Reactor
MFA
T
Topic thumbnail image
Multi-System Reactor
Login protections
tunnusT
Topic thumbnail image
Multi-System Reactor
Reactor (Multi-System/Multi-Hub) Announcements
toggledbitsT
Build 21228 has been released. Docker images available from DockerHub as usual, and bare-metal packages here. Home Assistant up to version 2021.8.6 supported; the online version of the manual will now state the current supported versions; Fix an error in OWMWeatherController that could cause it to stop updating; Unify the approach to entity filtering on all hub interface classes (controllers); this works for device entities only; it may be extended to other entities later; Improve error detail in messages for EzloController during auth phase; Add isRuleSet() and isRuleEnabled() functions to expressions extensions; Implement set action for lock and passage capabilities (makes them more easily scriptable in some cases); Fix a place in the UI where 24-hour time was not being displayed.
Multi-System Reactor
Reactor Inspect - a small read-only helper panel for MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Reactor Build 26284 stuck at Loading Reactor UI
T
Topic thumbnail image
Multi-System Reactor
MSR with reverse proxy
tunnusT
I'm trying to use MSR via reserve proxy in Synology DSM, but MSR page does not load https://<public ip>:30000/reactor/en-US/ At the same time logging page loads normally https://<public ip>:30000/api/v1/log I thought maybe authentication was messing it up, but there was no deny entries in the log, and also disabling authentication did not make any difference. For this use case VPN is not an option (that works, but as said not an option for this particular use case). Any ideas what could cause this? MSR build latest-26242-28d69aa8, Chrome browser
Multi-System Reactor
Missing attribute after upgrade
3
Topic thumbnail image
Multi-System Reactor
[MSR] Native fan capabilty
therealdbT
Nothing more to add. I see we have hvac_blower, but, anyway, maybe a native fan on the same assumptions of the fan from HASS could be reasonable. I have a couple of them. ie, this is from ESPHome via HASS. x_hass.domain="fan" x_hass.entity_id="fan.kitchen_seashell_hood_ventilation_fan" x_hass.floor_id=null x_hass.services=["fan","esphome"] x_hass.source="esphome" x_hass.state="off" x_hass_attr.friendly_name="Seashell Hood Ventilation Fan" x_hass_attr.percentage=50 x_hass_attr.percentage_step=25 x_hass_attr.preset_mode="" x_hass_attr.preset_modes=[] x_hass_attr.supported_features=49 Thanks.
Multi-System Reactor
[MSR] Rule do not fire
therealdbT
Topic thumbnail image
Multi-System Reactor
Rule condition shows TRUE in UI but Rule never transitions to SET — survives full restart
N
Build: latest-26221-b25bb3e3, Docker on Synology. Hi, I have a Rule whose Trigger/Constraints reference other Rules via Rule State ... is TRUE. At some point it stops firing. Expanding the rule's condition tree in the UI shows every Trigger and Constraint condition green/TRUE — confirmed live by walking into the room and watching Motion go true in real time. Rule History shows no new SET, just old reset entries. Tried, on the same rule, same evening: recreating the trigger conditions with fresh IDs, recreating the constraint conditions with fresh IDs (flat and wrapped in a new Group — wrapping in a Group produced one SET, but it didn't reproduce on repeat attempts with the same structure), and finally a full container restart with a verified-correct saved rule. Still no SET, even with a fresh live motion event right after the restart. Separately, I found that this rule (and its 10 per-room clones) share identical internal condition/group IDs with each other — leftover from a batch clone done months ago, never regenerated. Not sure if that's related, since fixing the IDs didn't reliably fix the symptom either. Has anyone seen a Rule State condition show TRUE in the UI without the Rule ever producing a SET, surviving a clean restart? Thanks in advance
Multi-System Reactor
DynamicGroupController and attributes
therealdbT
Hey @toggledbits I'm back to trying to optimize a couple of things based on dynamic group. First of all, I think I found a typo in the doc: primary_attribute: "binary_sensor.state" primary_attribute_value: | d = false; each id in members: d = getEntity(id)?.attributes?.power_switch?.state or d, d I think the correct code snippet is d = false, All that said, my use case for dynamic groups is to group 3 different climate devices, so I could easily command them at the same time. Commands are good, but sometimes I want to check if any of the devices are on, and that's easily done with a similar snippet as the one you have in the docs. But this is limited to the primary attribute, while I want to have any of the attributes in the group to be driven by a similar logic (while all are null in the group). ie, access hvac_control.mode and see if any of the unit is set to cool, or heat. Is that possible, without re-defining an expression in each of my rules? Thanks!
Multi-System Reactor
Unofficial thread for compatibility
tunnusT
As there are statements about compatibility for home assistant versions in MSR new version announcements (e.g. "HassController: Bless Hass to 2025.7.3"), I thought it would be good idea to track other controllers as well. As an example, I can confirm that build "latest-25208-c53e8513" works with Hubitat Elevation C-8 platform version 2.4.2.134 using Maker API. Updates: (the latest versions first in the list) OK: build "latest-25264-2fbe9217" with Hubitat C-8 platform v. 2.4.3.123
Multi-System Reactor
Ooops - Deleted Reactor Ex Machina II
R
I accidentally deleted Reactor Ex Machina II (REM II) from my Reactor rules. I tried to recover it by deleting the .json and .dval in the Rules subdirectory and then recreating it from Togglebits original posting, but that did not work. Does anyone know how to recover REM ll ?
Multi-System Reactor
Bail out of failed reaction?
T
Topic thumbnail image
Multi-System Reactor
Arming Envisalink panel from MSR
T
Topic thumbnail image
Multi-System Reactor
[Solved] DynamicGroupController updating members issue
CrilleC
Edit: Solved in latest-26221. Bare-metal latest-26193 I have this group: "OKforLarm": name: OK för Larm select: - include_controller: vera - include_capability: door_sensor filter_expression: entity.attributes.door_sensor.state It contains the entities I expect but behaves a bit odd. When I open vera>device_10097 the entity attribute door_sensor.state changes to true but it won't show up as member in the group, when I also open vera>device_10095 they both shows as members and when I close vera>device_10095 it disappear from the group but when I close vera>device_10097 it lingers in the group until I restart Reactor.
Multi-System Reactor
Upgrade Issues
T
Topic thumbnail image
Multi-System Reactor
[SOLVED] Conflicting Set Reaction Groups Appear to Fire Simultaneously in Single Rule Evaluation
G
Topic thumbnail image
Multi-System Reactor

Rule condition shows TRUE in UI but Rule never transitions to SET — survives full restart

Scheduled Pinned Locked Moved Multi-System Reactor
8 Posts 3 Posters 491 Views 3 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    noelab
    wrote on last edited by
    #1

    Build: latest-26221-b25bb3e3, Docker on Synology.

    Hi, I have a Rule whose Trigger/Constraints reference other Rules via Rule State ... is TRUE. At some point it stops firing.
    Expanding the rule's condition tree in the UI shows every Trigger and Constraint condition green/TRUE — confirmed live by walking into the room and watching Motion go true in real time. Rule History shows no new SET, just old reset entries.
    Tried, on the same rule, same evening: recreating the trigger conditions with fresh IDs, recreating the constraint conditions with fresh IDs (flat and wrapped in a new Group — wrapping in a Group produced one SET, but it didn't reproduce on repeat attempts with the same structure), and finally a full container restart with a verified-correct saved rule. Still no SET, even with a fresh live motion event right after the restart.
    Separately, I found that this rule (and its 10 per-room clones) share identical internal condition/group IDs with each other — leftover from a batch clone done months ago, never regenerated. Not sure if that's related, since fixing the IDs didn't reliably fix the symptom either.
    Has anyone seen a Rule State condition show TRUE in the UI without the Rule ever producing a SET, surviving a clean restart?
    Thanks in advance

    tunnusT 1 Reply Last reply
    0
    • N noelab

      Build: latest-26221-b25bb3e3, Docker on Synology.

      Hi, I have a Rule whose Trigger/Constraints reference other Rules via Rule State ... is TRUE. At some point it stops firing.
      Expanding the rule's condition tree in the UI shows every Trigger and Constraint condition green/TRUE — confirmed live by walking into the room and watching Motion go true in real time. Rule History shows no new SET, just old reset entries.
      Tried, on the same rule, same evening: recreating the trigger conditions with fresh IDs, recreating the constraint conditions with fresh IDs (flat and wrapped in a new Group — wrapping in a Group produced one SET, but it didn't reproduce on repeat attempts with the same structure), and finally a full container restart with a verified-correct saved rule. Still no SET, even with a fresh live motion event right after the restart.
      Separately, I found that this rule (and its 10 per-room clones) share identical internal condition/group IDs with each other — leftover from a batch clone done months ago, never regenerated. Not sure if that's related, since fixing the IDs didn't reliably fix the symptom either.
      Has anyone seen a Rule State condition show TRUE in the UI without the Rule ever producing a SET, surviving a clean restart?
      Thanks in advance

      tunnusT Offline
      tunnusT Offline
      tunnus
      wrote on last edited by
      #2

      @noelab are constraints also true (or empty)?

      Using MSR on Docker (Synology NAS), having InfluxDB, Grafana & Home Assistant, Zigbee2MQTT & ZWA-2

      N 1 Reply Last reply
      0
      • tunnusT tunnus

        @noelab are constraints also true (or empty)?

        N Offline
        N Offline
        noelab
        wrote on last edited by
        #3

        @tunnus Hi, also constraints are trueImmagine 2026-08-31 123201.png

        1 Reply Last reply
        0
        • toggledbitsT Offline
          toggledbitsT Offline
          toggledbits
          wrote on last edited by toggledbits
          #4

          A couple of things here...

          • Editing the rule will cause re-evaluation, which is likely why you have repeated RESETs in the history with no SETs between.
          • As hard as I try, and I keep looking, finding, and fixing, the UI can get out of sync with the running engine/service, so always hard-refresh when the UI isn't making sense.
          • If a Rule has been edited, especially multiple times, and it's not performing as expected, reset the Rule. There's button for that: 43f46006-5e40-4dd8-a7a3-82fffc3e5849-image.png Even restarting Reactor doesn't do what this button does.
          • Beyond that, it would also be handy to see the top part of the screen shot that has been cut off (the Triggers group heading and stuff above it).

          Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

          1 Reply Last reply
          0
          • N Offline
            N Offline
            noelab
            wrote on last edited by
            #5

            Thanks for the reply. I tried again, the rules driving DLT have the same logical structure in every room and no one is working.
            Tried the Reset Rule button specifically (not just re-editing conditions), plus a hard refresh (F5) beforehand, plus Reset Rule on every rule this one depends on (the Motion/PresenceMode rule, the Lux rule, the OccupancyMode rule, the Debounce rule) — not just the affected rule itself.
            Clicked Reset Rule, got a fresh reset entry in Rule History, then a genuine motion event ~10s later. The condition tree updated correctly in the UI (Trigger OR-group and Constraints both show true, timestamped at the motion event). The rule's SET action turns lights on directly. That light did not physically turn on. Also if the UI can be out of sync with the display, a physical device action should be executed. Rule History still shows no SET after the reset entry.

            image.png image.png image.png

            I'm trying to put some logs

            22:12:46.474 Rule:NOTICE  vH_DLT_20_Auto_ON (rule-mo5edh1o in H) stopping
            22:12:46.475 Rule:NOTICE  vH_Motion_00_LastSeen (rule-mo5wsh4z in H) stopping
            22:12:46.476 Rule:NOTICE  vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) stopping
            ...
            22:13:07.864 app:null     Shutdown complete, process ID 1
            22:14:39.639 app:null     Reactor build latest-26221-b25bb3e3 starting
            ...
            22:16:12.239 Rule:NOTICE  vH_DLT_20_Auto_ON (rule-mo5edh1o in H) starting
            22:16:12.240 Rule:NOTICE  vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting
            22:16:12.240 Rule:NOTICE  vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting
            22:16:13.214 Rule:INFO    vH_DLT_20_Auto_ON (rule-mo5edh1o in H) started
            22:16:13.215 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) started
            22:16:13.215 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) started
            
            22:18:29.766 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting rule state evaluation; because predicate-state-changed
            22:18:29.766 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) evaluated; rule state transition from RESET to 'SET'
            22:18:29.779 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting rule state evaluation; because predicate-state-changed
            22:18:29.779 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) evaluated; rule state transition from RESET to 'SET'
               -- rule-mo5edh1o: NOTHING --
            
            22:19:02.407 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting rule state evaluation; because predicate-state-changed
            22:19:02.408 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) evaluated; rule state transition from SET to 'RESET'
            22:19:02.419 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting rule state evaluation; because predicate-state-changed
            22:19:02.419 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) evaluated; rule state transition from SET to 'RESET'
               -- rule-mo5edh1o: NOTHING --
            

            Thanks in advance

            N 1 Reply Last reply
            0
            • toggledbitsT Offline
              toggledbitsT Offline
              toggledbits
              wrote on last edited by toggledbits
              #6

              In the first image, the triggers show true as of 9:42:09. The constraints show true 10 seconds later. That's a not pass. The constraints have to be true at the instant the triggers are also true (or before), or the rule does not SET. If the constraints become true later, that doesn't matter, the rule does not SET.

              Your third image shows the same. Triggers true at 10:31:53, but constraints didn't go true until 10:32:12 (19 seconds later).

              From the docs:

              c1035d81-2187-46c4-ab50-3c14d2f4dbd8-image.png

              Author of Multi-system Reactor and Reactor, DelayLight, Switchboard, and about a dozen other plugins that run on Vera and openLuup.

              N 1 Reply Last reply
              0
              • N noelab

                Thanks for the reply. I tried again, the rules driving DLT have the same logical structure in every room and no one is working.
                Tried the Reset Rule button specifically (not just re-editing conditions), plus a hard refresh (F5) beforehand, plus Reset Rule on every rule this one depends on (the Motion/PresenceMode rule, the Lux rule, the OccupancyMode rule, the Debounce rule) — not just the affected rule itself.
                Clicked Reset Rule, got a fresh reset entry in Rule History, then a genuine motion event ~10s later. The condition tree updated correctly in the UI (Trigger OR-group and Constraints both show true, timestamped at the motion event). The rule's SET action turns lights on directly. That light did not physically turn on. Also if the UI can be out of sync with the display, a physical device action should be executed. Rule History still shows no SET after the reset entry.

                image.png image.png image.png

                I'm trying to put some logs

                22:12:46.474 Rule:NOTICE  vH_DLT_20_Auto_ON (rule-mo5edh1o in H) stopping
                22:12:46.475 Rule:NOTICE  vH_Motion_00_LastSeen (rule-mo5wsh4z in H) stopping
                22:12:46.476 Rule:NOTICE  vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) stopping
                ...
                22:13:07.864 app:null     Shutdown complete, process ID 1
                22:14:39.639 app:null     Reactor build latest-26221-b25bb3e3 starting
                ...
                22:16:12.239 Rule:NOTICE  vH_DLT_20_Auto_ON (rule-mo5edh1o in H) starting
                22:16:12.240 Rule:NOTICE  vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting
                22:16:12.240 Rule:NOTICE  vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting
                22:16:13.214 Rule:INFO    vH_DLT_20_Auto_ON (rule-mo5edh1o in H) started
                22:16:13.215 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) started
                22:16:13.215 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) started
                
                22:18:29.766 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting rule state evaluation; because predicate-state-changed
                22:18:29.766 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) evaluated; rule state transition from RESET to 'SET'
                22:18:29.779 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting rule state evaluation; because predicate-state-changed
                22:18:29.779 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) evaluated; rule state transition from RESET to 'SET'
                   -- rule-mo5edh1o: NOTHING --
                
                22:19:02.407 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) starting rule state evaluation; because predicate-state-changed
                22:19:02.408 Rule:INFO    vH_PresenceMode_MotionSensor_ID (rule-mo5adtot in H) evaluated; rule state transition from SET to 'RESET'
                22:19:02.419 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) starting rule state evaluation; because predicate-state-changed
                22:19:02.419 Rule:INFO    vH_Motion_00_LastSeen (rule-mo5wsh4z in H) evaluated; rule state transition from SET to 'RESET'
                   -- rule-mo5edh1o: NOTHING --
                

                Thanks in advance

                N Offline
                N Offline
                noelab
                wrote on last edited by
                #7
                This post is deleted!
                1 Reply Last reply
                0
                • toggledbitsT toggledbits

                  In the first image, the triggers show true as of 9:42:09. The constraints show true 10 seconds later. That's a not pass. The constraints have to be true at the instant the triggers are also true (or before), or the rule does not SET. If the constraints become true later, that doesn't matter, the rule does not SET.

                  Your third image shows the same. Triggers true at 10:31:53, but constraints didn't go true until 10:32:12 (19 seconds later).

                  From the docs:

                  c1035d81-2187-46c4-ab50-3c14d2f4dbd8-image.png

                  N Offline
                  N Offline
                  noelab
                  wrote on last edited by
                  #8

                  @toggledbits Trigger OR was the problem and not identical internal condition/group ID as I suspected. AND is the fix. With the old OR setup, the problem was that the trigger had already fired, registering as "true" for a different reason (Lux), minutes earlier. So the photo captured by the trigger was outdated.
                  Thanks again for the push in the right direction!

                  1 Reply Last reply
                  1
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  Recent Topics

                  • Grouped devices
                    G
                    gwp1
                    0
                    3
                    47

                  • Reverse proxy & API ACL
                    tunnusT
                    tunnus
                    0
                    3
                    49

                  • MFA
                    toggledbitsT
                    toggledbits
                    0
                    17
                    356

                  • Login protections
                    toggledbitsT
                    toggledbits
                    0
                    2
                    120

                  • Reactor (Multi-System/Multi-Hub) Announcements
                    toggledbitsT
                    toggledbits
                    5
                    152
                    151.4k

                  • Reactor Inspect - a small read-only helper panel for MSR
                    G
                    gwp1
                    2
                    6
                    364

                  • Reactor Build 26284 stuck at Loading Reactor UI
                    T
                    tamorgen
                    0
                    16
                    1.4k

                  • MSR with reverse proxy
                    tunnusT
                    tunnus
                    0
                    12
                    720

                  • Missing attribute after upgrade
                    3
                    3rdStng
                    0
                    3
                    417

                  • Use of Google Gemini as an MSR and Hubitat configuration aid
                    therealdbT
                    therealdb
                    0
                    2
                    240

                  • [MSR] Native fan capabilty
                    therealdbT
                    therealdb
                    1
                    3
                    244

                  • [MSR] Rule do not fire
                    therealdbT
                    therealdb
                    0
                    4
                    344
                  Powered by NodeBB | Contributors
                  Hosted freely by 10RUPTiV - Solutions Technologiques | Contact us
                  • Login

                  • Don't have an account? Register

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