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. Feature request on reactions side.
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
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
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

Feature request on reactions side.

Scheduled Pinned Locked Moved Multi-System Reactor
37 Posts 4 Posters 12.1k Views 4 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.
  • T Offline
    T Offline
    Tarkus
    wrote on last edited by
    #21

    @LibraSun So this is where I am at and I am stuck. The variable Channel gets pulled in from veras multistring and it gets split into the Character variables. That part works, just trying to work thru the rest.

    Channel array.png

    1 Reply Last reply
    0
    • T Offline
      T Offline
      Tarkus
      wrote on last edited by
      #22

      I also forgot to mention that I need to work a "." into the array

      1 Reply Last reply
      0
      • LibraSunL Offline
        LibraSunL Offline
        LibraSun
        wrote on last edited by LibraSun
        #23

        For starters, you've put spaces between buttonCodes and the [ which will not be interpreted correctly.
        Look above at my original example: the syntax is buttonCodes[index] with no spaces.
        (edit: extra spaces should be OK)

        Secondly, your definition of buttonCodes itself shows just a long comma-separated list, which cannot work as is. To make it an array, it must start with [ and end with ].

        Third, you reference buttonCodes in other variables, but named the expression ButtonCodes which is different. These things must match exactly.

        Fourth, some of your CharacterN definitions result in alphanumeric characters which are NOT "just 0 through 9" -- like "x" or "." -- hence they CANNOT serve as the index for an array lookup. Another approach is needed (example: use an Object, per the suggestion below).

        This is proving more challenging than expected -- even turning everything into an Object would pose its own hazards at this point -- but getting the syntax right is way more than half the battle!

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

          Also note that the data type of most of the index expressions is a string. Use int() to make sure it's a number: C1 = ButtonCodes[ int( Character1 ) ]

          Also, it may be useful to break everything out this way while you're testing and figuring it out, but ultimately, you may want to combine them: C1 = ButtonCodes[ int( substr( Channel, 0, 1 ) ) ]

          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
          • T Offline
            T Offline
            Tarkus
            wrote on last edited by
            #25

            The X's are just left over remnants of the lua process I was using. It was just padding and acted a indicator that the channel was at a end and stop the process. So channel 7.1 would come over as 7.1xx. I set 5 characters to accommodate a 5 digit channel i.e. 135.1 I will take a look at your suggestions.

            1 Reply Last reply
            0
            • LibraSunL Offline
              LibraSunL Offline
              LibraSun
              wrote on last edited by LibraSun
              #26

              One technique I use involves setting up to "parallel" arrays, an example of which I'll outline here without explicit reference to the problem at hand. I hope to share the mechanics of it without clutter...

              value_I_have := getEntity(vera>source).parameter.i.want // result is "y"
              array_of_values := ["x","y","z"] // all possible  input values listed in some order
              array_of_codes := ["0123","2345","3456"] // desired converted output values for "x", "y" and "z"
              buttonPush := array_of_codes[ indexOf (array_of_values, value_I_have) ]
              

              Let that sink in a bit. In fact, if I were you @Tarkus , I'd mess around with abbreviated versions of this example in a throwaway Rule, just to get the feel for how each input affects the output.

              T 1 Reply Last reply
              0
              • LibraSunL LibraSun

                One technique I use involves setting up to "parallel" arrays, an example of which I'll outline here without explicit reference to the problem at hand. I hope to share the mechanics of it without clutter...

                value_I_have := getEntity(vera>source).parameter.i.want // result is "y"
                array_of_values := ["x","y","z"] // all possible  input values listed in some order
                array_of_codes := ["0123","2345","3456"] // desired converted output values for "x", "y" and "z"
                buttonPush := array_of_codes[ indexOf (array_of_values, value_I_have) ]
                

                Let that sink in a bit. In fact, if I were you @Tarkus , I'd mess around with abbreviated versions of this example in a throwaway Rule, just to get the feel for how each input affects the output.

                T Offline
                T Offline
                Tarkus
                wrote on last edited by
                #27

                @librasun yes i do that often

                LibraSunL 1 Reply Last reply
                0
                • T Tarkus

                  @librasun yes i do that often

                  LibraSunL Offline
                  LibraSunL Offline
                  LibraSun
                  wrote on last edited by
                  #28

                  @tarkus said in Feature request on reactions side.:

                  @librasun yes i do that often

                  That avoids the "trick" of trying to let Character1 stand in as a numeric value (i.e. serving as an index to an array), since we now know that it may be alphabetical.

                  1 Reply Last reply
                  0
                  • T Offline
                    T Offline
                    Tarkus
                    wrote on last edited by
                    #29

                    I thought a period was considered numeric in programing to accommodate decimals.

                    LibraSunL 1 Reply Last reply
                    0
                    • T Tarkus

                      I thought a period was considered numeric in programing to accommodate decimals.

                      LibraSunL Offline
                      LibraSunL Offline
                      LibraSun
                      wrote on last edited by LibraSun
                      #30

                      @tarkus said in Feature request on reactions side.:

                      I thought a period was considered numeric in programing to accommodate decimals.

                      Your assumption is correct, however the intent was to let your deciphered "digits" (which I was misled to believe were strictly 0 through 9) stand as "numbers" in the expression buttonCodes[ ], whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense in that context.

                      Hence the need for parallel lookups.

                      toggledbitsT 1 Reply Last reply
                      0
                      • LibraSunL LibraSun

                        @tarkus said in Feature request on reactions side.:

                        I thought a period was considered numeric in programing to accommodate decimals.

                        Your assumption is correct, however the intent was to let your deciphered "digits" (which I was misled to believe were strictly 0 through 9) stand as "numbers" in the expression buttonCodes[ ], whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense in that context.

                        Hence the need for parallel lookups.

                        toggledbitsT Offline
                        toggledbitsT Offline
                        toggledbits
                        wrote on last edited by toggledbits
                        #31

                        @librasun said in Feature request on reactions side.:

                        whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense.

                        These are actually OK if buttonCodes is an object, not an array. You can use the square-bracket notation same as dot member access, so buttonCodes[ "x" ] (note the quotes so it's a string) is the same as buttonCodes.x. Using the square bracket notation lets you use a variable for the member name. You don't need a second array, you just need to structure buttonCodes correctly...

                        buttonCodes = { '0': 'codes for 0', '1': 'codes for 1', '.': 'codes for dot' }
                        key_to_send = "."   # or whatever/however you get the key
                        send_data = buttonCodes[ key_to_send ]
                        

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

                        LibraSunL T 2 Replies Last reply
                        0
                        • toggledbitsT toggledbits

                          @librasun said in Feature request on reactions side.:

                          whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense.

                          These are actually OK if buttonCodes is an object, not an array. You can use the square-bracket notation same as dot member access, so buttonCodes[ "x" ] (note the quotes so it's a string) is the same as buttonCodes.x. Using the square bracket notation lets you use a variable for the member name. You don't need a second array, you just need to structure buttonCodes correctly...

                          buttonCodes = { '0': 'codes for 0', '1': 'codes for 1', '.': 'codes for dot' }
                          key_to_send = "."   # or whatever/however you get the key
                          send_data = buttonCodes[ key_to_send ]
                          
                          LibraSunL Offline
                          LibraSunL Offline
                          LibraSun
                          wrote on last edited by
                          #32

                          @toggledbits said in Feature request on reactions side.:

                          You don't need a second array, you just need to structure buttonCodes correctly...

                          I completely agree. If I could turn back time knowing what I know now about this scenario, I would definitely have chosen an Object. It's concise, easy to edit, employ, etc. I just didn't wanna yank @Tarkus around by the nose after we've come this far, lol.

                          1 Reply Last reply
                          0
                          • LibraSunL Offline
                            LibraSunL Offline
                            LibraSun
                            wrote on last edited by LibraSun
                            #33

                            @toggledbits , since we're on the topic of Objects, I've been meaning to ask:
                            Is there any chance you'd consider implementing a this self-reference for Objects, so I could in theory build:

                            obj := {'noun':'cat','verb':'plays','sentence':'The ' + this.noun + ' ' + this.verb}

                            Maybe that's cray-cray, but I've already bumped into a couple of occasions where it could be handy.

                            REFERENCE: https://www.w3schools.com/js/js_this.asp

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

                              That's not really the way this works for objects in any language I've ever seen or used. We keep using the term "object" here, because of JavaScript, but I really prefer the Python term "dictionary", and maybe I'm going to start using that instead (the grammar actually does, but somehow that didn't make the leap to the documentation and followed the JS nomenclature instead). It's not an object in the sense that there's class definition associated with it, it's just a collection of key/value pairs. Even in JavaScript for many versions, an "object" was really a fancy dictionary, and it is only the more recent versions where that is being formalized, but of course, for compatibility, they are forced to support the old model for some time.

                              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
                              • LibraSunL Offline
                                LibraSunL Offline
                                LibraSun
                                wrote on last edited by
                                #35

                                Typical me:
                                Princess_Bride_That_Word.jpg

                                1 Reply Last reply
                                1
                                • LibraSunL LibraSun

                                  For starters, you've put spaces between buttonCodes and the [ which will not be interpreted correctly.
                                  Look above at my original example: the syntax is buttonCodes[index] with no spaces.
                                  (edit: extra spaces should be OK)

                                  Secondly, your definition of buttonCodes itself shows just a long comma-separated list, which cannot work as is. To make it an array, it must start with [ and end with ].

                                  Third, you reference buttonCodes in other variables, but named the expression ButtonCodes which is different. These things must match exactly.

                                  Fourth, some of your CharacterN definitions result in alphanumeric characters which are NOT "just 0 through 9" -- like "x" or "." -- hence they CANNOT serve as the index for an array lookup. Another approach is needed (example: use an Object, per the suggestion below).

                                  This is proving more challenging than expected -- even turning everything into an Object would pose its own hazards at this point -- but getting the syntax right is way more than half the battle!

                                  T Offline
                                  T Offline
                                  Tarkus
                                  wrote on last edited by
                                  #36

                                  @librasun said in Feature request on reactions side.:

                                  Secondly, your definition of buttonCodes itself shows just a long comma-separated list, which cannot work as is. To make it an array, it must start with [ and end with ].

                                  Yeah i had the brackets but it did not work so the absence of of them is just me trying different things and not knowing what I am doing. LOL

                                  1 Reply Last reply
                                  0
                                  • toggledbitsT toggledbits

                                    @librasun said in Feature request on reactions side.:

                                    whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense.

                                    These are actually OK if buttonCodes is an object, not an array. You can use the square-bracket notation same as dot member access, so buttonCodes[ "x" ] (note the quotes so it's a string) is the same as buttonCodes.x. Using the square bracket notation lets you use a variable for the member name. You don't need a second array, you just need to structure buttonCodes correctly...

                                    buttonCodes = { '0': 'codes for 0', '1': 'codes for 1', '.': 'codes for dot' }
                                    key_to_send = "."   # or whatever/however you get the key
                                    send_data = buttonCodes[ key_to_send ]
                                    
                                    T Offline
                                    T Offline
                                    Tarkus
                                    wrote on last edited by
                                    #37

                                    @toggledbits said in Feature request on reactions side.:

                                    whereas buttonCodes[ . ] and buttonCodes["x"] simply make no sense.

                                    These are actually OK if buttonCodes is an object, not an array. You can use the square-bracket notation same as dot member access, so buttonCodes[ "x" ] (note the quotes so it's a string) is the same as buttonCodes.x. Using the square bracket notation lets you use a variable for the member name. You don't need a second array, you just need to structure buttonCodes correctly...
                                    buttonCodes = { '0': 'codes for 0', '1': 'codes for 1', '.': 'codes for dot' }
                                    key_to_send = "." # or whatever/however you get the key
                                    send_data = buttonCodes[ key_to_send ]

                                    I ended up using this method and it works great!

                                    Thanks for all the help.

                                    1 Reply Last reply
                                    2
                                    • toggledbitsT toggledbits locked this topic on
                                    Reply
                                    • Reply as topic
                                    Log in to reply
                                    • Oldest to Newest
                                    • Newest to Oldest
                                    • Most Votes


                                    Recent Topics

                                    • Reverse proxy & API ACL
                                      tunnusT
                                      tunnus
                                      0
                                      9
                                      319

                                    • MFA
                                      T
                                      tamorgen
                                      0
                                      28
                                      959

                                    • Grouped devices
                                      G
                                      gwp1
                                      0
                                      3
                                      125

                                    • Login protections
                                      toggledbitsT
                                      toggledbits
                                      0
                                      2
                                      173

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

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

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

                                    • MSR with reverse proxy
                                      tunnusT
                                      tunnus
                                      0
                                      12
                                      801

                                    • Missing attribute after upgrade
                                      3
                                      3rdStng
                                      0
                                      3
                                      487

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

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

                                    • [MSR] Rule do not fire
                                      therealdbT
                                      therealdb
                                      0
                                      4
                                      390
                                    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