Skip to content
  • Stop the MSR by an external switch on Hubitat.

    Multi-System Reactor
    6
    0 Votes
    6 Posts
    240 Views
    Tom_DT
    I would never rely on automation to keep equipment you are working on off. Turn it off at the breaker or disconnect.
  • 0 Votes
    3 Posts
    90 Views
    therealdbT
    So, my solution, based on the logic, is this the following. Cycle Logic (pseudo-blocks) Trigger: Button press (scene controller state changes) Variables: fan1 = getEntity("zwavejs>13-1").attributes.power_switch.state fan2 = getEntity("zwavejs>13-2").attributes.power_switch.state skip (default = false) lastTurnedOff (text) Group 1 – Both OFF → Fan1 ON Condition: skip == false AND fan1 == OFF AND fan2 == OFF AND lastTurnedOff <> "fan1" Action: Turn Fan1 ON Set skip = true Group 2 – Fan1 ON → Fan1 OFF Condition: skip == false AND fan1 == ON Action: Turn Fan1 OFF Set lastTurnedOff = "fan1" Set skip = true Group 3 – Fan1 just OFF → Fan2 ON Condition: skip == false AND fan2 == OFF AND lastTurnedOff == "fan1" Action: Turn Fan2 ON Set skip = true Group 4 – Fan2 ON → Fan2 OFF Condition: skip == false AND fan2 == ON Action: Turn Fan2 OFF Set lastTurnedOff = "fan2" Set skip = true Notes The skip variable ensures only one group runs per button press. lastTurnedOff lets Reactor know which fan was just turned off by this rule (so it can toggle the other fan on next). I'll make some other tests and see if it's working as expected. I used Chat GPT 5 giving the Reactor Docs as context and deep reasoning and it helped me a lot. I just had to explain my logic, provide a couple of screenshots and ask for logic blocks instead of script action. YMMV.
  • 0 Votes
    22 Posts
    692 Views
    tunnusT
    @therealdb could you test this if you could get your original rules (variables) to work just by rearranging local expressions? My hypothesis being that expressionless variables should be last in the list
  • Expose MSR entities

    Multi-System Reactor
    11
    0 Votes
    11 Posts
    186 Views
    CatmanV2C
    You are both gents! C
  • Comment in Globa Expressions

    Multi-System Reactor
    2
    1 Votes
    2 Posts
    188 Views
    CrilleC
    Maybe not the prettiest way to do it but why not let the rule set the comment followed by the value? Like ”This is set by rule Test”, value
  • Little Bobby tables...

    Unsolved General Discussion
    3
    0 Votes
    3 Posts
    153 Views
    CatmanV2C
    @akbooer indeed so C
  • Home Assistant Voice TTS is Easy

    Home Assistant
    3
    2
    0 Votes
    3 Posts
    208 Views
    CatmanV2C
    I take it back. Worked immediately! C
  • Play Audio through Home Assistant Voice Unit

    Home Assistant
    1
    2
    1 Votes
    1 Posts
    135 Views
    No one has replied
  • Home Assistant Voice

    Home Assistant
    21
    0 Votes
    21 Posts
    860 Views
    CatmanV2C
    Watching with great interest! C
  • Unofficial thread for compatibility

    Multi-System Reactor
    1
    2 Votes
    1 Posts
    134 Views
    No one has replied
  • Gradually turn on lights.

    Solved Multi-System Reactor
    21
    0 Votes
    21 Posts
    1k Views
    toggledbitsT
    @tbully said in Gradually turn on lights.: I'm having this same issue with a bare metal install. I assume this fix will be included in a future release? (No hurry. This is just a nice-to-have thing...) The 25208 build released yesterday includes the fixes in the temporary containers built for @vezinpi and others on this thread.
  • 5 Votes
    123 Posts
    56k Views
    toggledbitsT
    Reactor build 25208 Status page: fix an issue placing the widget adder tool the first time (i.e. on a new browser or after flushing cache/cookies). HTTP Request action now offers storage of the query response in "advanced form." This is a structure (object) that includes the response body as well as the response status, messages, and response headers. The simple form (store body or null) is the default and all existing HTTP Request actions will use the simple form response unless/until modified. Telegram notifications now support photo and video messages. To send a photo or video message, select the appropriate Message Format and place the URL or filename in the Message field. Telegram's limits for file type and size must be observed (refer to Telegram's documentation). HassController: Configuration for filter_entity now accepts regular expressions to match to entity IDs (i.e. it can now do pattern matching, not just match exact strings). Specify regular expressions in /regexp/flags form (e.g. /^update./i to match IDs that begin with update., case insensitive; flags are optional, and the only flag supported right now is i for case-insensitive matching). HassController will requery for service data if the lookup of service data from the startup query does not have the needed info. This can occur when an integration is not fully up and running when HA restarts -- HA will only report on services for fully running integrations at the time. The requery updates the service data for integrations that start later. HassController remove old entity mapping configuration that was preventing a mutable attribute (dimming.step) from being changed by the user permanently. Expressions: new geodist() extension function to compute Great Circle Distance between two points (presumably on Earth). See docs for details. Example: kilometers = geodist( lat1, lon1, lat2, lon2 ) HassController: Bless Hass to 2025.7.3
  • Can't customize home page

    Multi-System Reactor
    15
    0 Votes
    15 Posts
    300 Views
    G
    @toggledbits appreciate the quick turnaround on this. It def caught me off-guard.
  • Error After Upgrade

    Multi-System Reactor
    4
    1
    0 Votes
    4 Posts
    367 Views
    G
    @tbully thanks for putting a smile on my face today. Much needed. Much appreciated.
  • 0 Votes
    5 Posts
    616 Views
    R
    Seems to be working perfectly. Thanks! Should have thought of that myself.
  • 0 Votes
    22 Posts
    2k Views
    G
    @therealdb I use those as well. As you see in my AWAY rule there's a catch there using a virtual switch for my calendar integration. If a calendar entry has a specific keyword it turns the switch on. If the switch is on, AWAY knows not to fire.... VACA has it covered. @toggledbits beat me to it: comments, comments, comments. I've lost too many years off my life trying to remember why this rule does what it does and how.
  • 0 Votes
    3 Posts
    249 Views
    T
    That's fair. Thanks for answering with a workaround at least
  • Links to MSR from HA

    Multi-System Reactor
    1
    0 Votes
    1 Posts
    215 Views
    No one has replied
  • Set Reaction > Script Action

    Multi-System Reactor
    11
    2
    0 Votes
    11 Posts
    826 Views
    wmarcolinW
    @toggledbits said in Set Reaction > Script Action: each id in getEntity("groups>dgc_PushableButton_N0").attributes.sys_group.members: performAction( id, "x_hubitat_Refresh.refresh", {} ) EXCELLENT, IT WORKED!!! Thank you very much. I was already working on this script, based on the example at the beginning of this discussion, but I was using performOnEntity. each id in getEntity('groups>dgc_PushableButton_N0').attributes.sys_group.members: performOnEntity(id, 'x_hubitat_Refresh.refresh') Thank you very much for your help. Another lesson learned, and I am already putting more optimizations into practice.
  • Wiring Samotech SM308-S into light fitting

    Hardware wifi switches smart home
    2
    0 Votes
    2 Posts
    388 Views
    akbooerA
    What’s the difficulty? Does your switch wiring have a neutral? What country are you in?

Recent Topics