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.
therealdbT

therealdb

@therealdb
[Reactor] Help with screne controller cycling logic
therealdbT
I’ve added a couple of Shelly Wave i4 as scene controllers and I’m planning to add more, since I can just use standard buttons instead of battery-powered scene controllers, which also looks better aesthetically. That said, I’m struggling to figure out how to write a simple rule that cycles between states every time I press a button. Example: Light 1 ON → OFF, then Light 2 ON → OFF. The part I can’t get right is handling the case where Light 1 or Light 2 might already be ON independently of the rule. Maybe it’s just too much sun and relaxation clouding my brain, but any hint would be appreciated.
Multi-System Reactor
Stop the MSR by an external switch on Hubitat.
wmarcolinW
Use case: When performing home maintenance, such as air conditioning, I want all rules involving air conditioning to be disabled. To do this, to day, I have a virtual switch that I placed within all rules involving air conditioning, meaning that if I turn it off, none of them work. Then another situation: the water pump system and garden irrigation, another switch. In short, I had to create several virtual switches in Hubitat to disable rules in MSR. Unfortunately, however, I was unable to cover all scenarios, so I wondered if it would be possible for MSR to support a virtual MSR switch, which, when configured in the reactor settings, would function as a general on/off switch for MSR. If it is configured and turned off, the entire rules and actions in MSR stops working, except for the status change reading process, specifically for this switch, which, when turned on, would restart the MSR. Would it be possible to do something like this? Any recommendations from the experts?
Multi-System Reactor
[Reactor] Variables not updating correctly in latest-25201-2aa18550
therealdbT
Topic thumbnail image
Multi-System Reactor
Expose MSR entities
CatmanV2C
Probably a really dumb question. Currently I am using the owntracks_sensor for tracking phones being in region in MSR and it works great. Digging around with Home Assistant and toying with some dashboards, is there any way of exposing that sensor to HA trivially? I could set MSR to trip a virtual switch in OpenLuup which can then be exposed to HA (with all my other Vera devices) but that feels a bit in-elegant if I can do it directly. Any thoughts? Apologies if the ask is not clear/ TIA C
Multi-System Reactor
Comment in Globa Expressions
Tom_DT
I have several Global Expressions that are set by a rule so the definition area is blank. I'd like to add a comment in this area that explains what is setting the value. Commenting in this area breaks the remote setting. Any way to document what is setting the GE?
Multi-System Reactor
Little Bobby tables...
CatmanV2C
...is back.... https://arstechnica.com/google/2025/08/researchers-use-calendar-events-to-hack-gemini-control-smart-home-gadgets/?utm_source=facebook&utm_medium=social&utm_campaign=dhfacebook&utm_content=null&fbclid=IwY2xjawMBq-pleHRuA2FlbQIxMQABHlSqIalzbz1IxcJFzlw8GBE6nC3FwvxcHgR370nJhogU6JjqbmRxG-lysqgh_aem_lx9XboYFKw9tpHnedGQKUA C
General Discussion
Home Assistant Voice TTS is Easy
toggledbitsT
Topic thumbnail image
Home Assistant
Play Audio through Home Assistant Voice Unit
toggledbitsT
Topic thumbnail image
Home Assistant
Home Assistant Voice
CatmanV2C
Has anyone had a play with the local voice control for HA? I've got one on order because... https://www.home-assistant.io/voice-pe/ C
Home Assistant
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.
Multi-System Reactor
Gradually turn on lights.
Tom_DT
I have several lights that I would like to turn on very gradually over 15 or 20 seconds. from 0 to .25 in .01 increments. I have tried a few things that came nowhere near working, so here I am.
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
Can't customize home page
G
I foolishly let my system wipe all cookies this morning and with it my settings for my MSR home page. Once logged back in I can no longer remove errant panes nor is the + available to add new ones. Brave Browser v1.80.122 (Jul 16, 2025) What have I done?! Will check other browsers on my M1. UPDATE: Safari exhibits same behaviour. I've tried both sans last-four public key entry and with - no change.
Multi-System Reactor
Error After Upgrade
T
Topic thumbnail image
Multi-System Reactor
Reset attribute value of entity in event handler
R
Topic thumbnail image
Multi-System Reactor
Need help figuring out how to delay a reset on reaction
T
Topic thumbnail image
Multi-System Reactor
Way to search for rules (rule state) in other rules
T
@toggledbits, not sure if this is a feature request or I'm using the search tool wrong. You have a "Search for rule" in the Rules Set tab in MSR. It works nicely to find a rule and bring up said rule, but can it/could it be used for as a "where used?" global search? For instance, I have a fairly large set of rules, divided up into 10 different rulesets. There's easily a hundred individual rules, and many of the rules have Rule State triggers, which of course refer to other rules. Amongst my troubleshooting today, I came across what may have been a duplicate or troubleshooting attempt, but I can't tell if it's actually used as a Rule State in another rule without opening each rule that I suspect it may be a part of. Thanks.
Multi-System Reactor
Links to MSR from HA
Tom_DT
I am using Home Assistant a lot recently. On a dashboard showing the devices, I would like to show a link to the MSR rule that controls the devices. Is there a way to link directly into MSR?
Multi-System Reactor
Set Reaction > Script Action
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Wiring Samotech SM308-S into light fitting
F
Hi Smart Home Community. I have used a Sonos inline WiFi switch to make one of my light fittings smart, but it requires a hard reset for WiFi changes, plus it isn't zigbee compatible, which means I can't use the Hue app to control it with the rest of the lights. To that end I bought a Samotech SM308-S as it is recommended as the better than the Sonos equivalent. I am however not exactly sure how to wire it in. The manual is available here Can anyone help me by clarifying which ports I need to use, and whether I should be using the live or switched live line for live etc. I will be keeping using standard switches for a while, although hope to upgrade to tap dials once I have all the fittings upgraded. Thanks
Hardware
About
Posts
1.0k
Topics
94
Shares
0
Groups
1
Followers
2
Following
0

Posts

Recent Best Controversial

  • [Reactor] Help with screne controller cycling logic
    therealdbT therealdb

    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.

    Multi-System Reactor

  • [Reactor] Help with screne controller cycling logic
    therealdbT therealdb

    I’ve added a couple of Shelly Wave i4 as scene controllers and I’m planning to add more, since I can just use standard buttons instead of battery-powered scene controllers, which also looks better aesthetically.

    That said, I’m struggling to figure out how to write a simple rule that cycles between states every time I press a button.
    Example: Light 1 ON → OFF, then Light 2 ON → OFF.

    The part I can’t get right is handling the case where Light 1 or Light 2 might already be ON independently of the rule.

    Maybe it’s just too much sun and relaxation clouding my brain, but any hint would be appreciated.

    Multi-System Reactor

  • [Reactor] Variables not updating correctly in latest-25201-2aa18550
    therealdbT therealdb

    Yep, I confirm I had to update a couple of rules where I had similar variables as @tunnus
    I used script action because it’s multi line and definitely better in terms of readability.

    Multi-System Reactor

  • [Reactor] Variables not updating correctly in latest-25201-2aa18550
    therealdbT therealdb

    Ok, I was probably lucky in the past, I don't know. I could send you the rule's JSON if you want to take a look. Anyway, I'll try to move some logic into set variables for the time being. Thanks.

    Multi-System Reactor

  • [Reactor] Variables not updating correctly in latest-25201-2aa18550
    therealdbT therealdb

    I'm 100% sure it used to work before. I did a restart and nothing changed.
    I have "Force re-evaluation of expressions and conditions" in the rule and I was under the impression that was forcing updates. Now back to change a couple of rules that have the same problem. I'll move them to Script Action to set the values, but as I said I'm 100% sure it used to work OK before.
    Thanks.

    Multi-System Reactor

  • [Reactor] Variables not updating correctly in latest-25201-2aa18550
    therealdbT therealdb

    After updating to latest-25201-2aa18550, I found that an old rule (probably 2-3 years old) has started experiencing a weird behavior.
    As you can see from this screenshot:

    86e20c6b-4a6a-4458-b1ba-4b108a91d1c5-image.png

    It seems that while rain variable is false and wind is true, debugmessage (and other similar variables) are not updated correctly. If I press on the Play Icon on the variable inside the rule, it is then updated. It was working OK previously, so maybe it's the new version.

    As you can see from this screenshot, the first one is updated manually, but the second one is still showing the old value:
    c2557992-7121-4af6-8736-ff4d6498e330-image.png

    The rule has just some action in the SET part doing notifications and calling MQTT endpoints for logging.

    Anyone with the same problem? /cc @toggledbits

    Multi-System Reactor

  • Need help figuring out how to delay a reset on reaction
    therealdbT therealdb

    Also, for me a virtual device instead of checking for rule states seems to be less prone to errors. So I have one for home status, guests, party etc and the rules are much easier to write.

    Multi-System Reactor

  • Set Reaction > Script Action
    therealdbT therealdb

    I use script action a lot with arrays of devices defined in a variable. Very handy for when you want to do it without messing with config files.

    Multi-System Reactor

  • 🎉 My very first MSR controller: OpenSprinkler
    therealdbT therealdb

    Version 25154 on GitHub:

    GitHub - dbochicchio/reactor-opensprinkler: OpenSprinkler controller for Reactor - Multi-Hub Automation

    GitHub - dbochicchio/reactor-opensprinkler: OpenSprinkler controller for Reactor - Multi-Hub Automation

    OpenSprinkler controller for Reactor - Multi-Hub Automation - dbochicchio/reactor-opensprinkler

    No release, just download the code.

    Fix for station status and support for MQTT capabilities in OS 2.2.1. Still based on both HTTP/MQTT because the underline fw is still not 100% MQTT-ready.

    Multi-System Reactor

  • Advice reqeusted to migrate MSR from Bare Metal to Container
    therealdbT therealdb

    Just copy storage and config from your bare metal install, point the container paths to the disk and you're good to go. Very easy*.

    • this excludes external controllers, but the relative installation is well documented.
    Multi-System Reactor

  • Z-Wave Future....
    therealdbT therealdb

    I still run my primary network on UZB, but I've just bought an Aeotec ZStick 7 for a new house. I'll switch to that for my primary house before end of the year, mainly because I want to use ZWave LR for a couple of devices and I need a 700/800 series router.

    All that said, I'm running inside ZWaveJS and it's working as expected. My system with Reactor is pretty solid. I think ZWave is still the tech to go. My experience with ZigBee is quite similar (I run everything: Zwave, Zigbee, MQTT, Matter).

    Z-Wave.me

  • Organizing/ structuring rule sets and rules
    therealdbT therealdb

    I prefer a structure where I organize them by features. The name reflects the rule set they're in (ie Lights-Outdoor-Gate is in Lights-Outdoor) to simplify discoverability, until a global search is added 😆

    Multi-System Reactor

  • Moving MSR from a QNAP container to RP 5 - some issues
    therealdbT therealdb

    the clock problem is a know bug. update to latest.

    Please be 100% extra sure to copy everything under storage. this includes any file/directory under the path. do it while bot reactors are stopped for better accuracy.

    Multi-System Reactor

  • Need help reducing false positive notifications
    therealdbT therealdb

    I haven't moved this particular piece into MSR yet, but my logic is:

    • watch for idle: if watts<5 for at least 15 secs, that's done. If previous status is running, mark as completed. Otherwise, stays idle.
    • watch for watts. if idle and watts > 50 for at least 15 secs, that's running.

    I think the best way to achieve this is by having two different rules. I'll probably design it with a virtual device with a string_sensor, containing the current state. I've never moved this part of my system to MSR, because I want to write a controller doing exactly this, but the logic is not complex.

    Multi-System Reactor

  • Programmatically capture HTTP Request action status code or error
    therealdbT therealdb

    So, an empty string is 200ish, otherwise error/timeout is null? That works, thank you!

    Multi-System Reactor

  • Programmatically capture HTTP Request action status code or error
    therealdbT therealdb

    I have a very strange situation, where if InfluxDB restarts, other containers may fail when restarting at the same time (under not easy to understand circumstances), and InfluxDB remains unreachable (and these containers crashes). I need to reboot these containers in an exact order, after rebooting InfluxDB.

    While I understand what's going on, I need a way to reliable determine that InfluxDB is not reachable and these containers are not reachable, in order to identify this situation and manually check what's going on - and, maybe, in the future, automatically restart them if needed.

    So, I was looking at HTTP Request action, but I need to capture the HTTP response code, instead of the response (becase if ping is OK, InfluxDB will reply with a 204), and, potentially, a way to programmatically detect that it's failing to get the response.

    While I could write a custom HTTP controller for this or a custom HTTP virtual device, I was wondering if this is somewhat on you roadmap @toggledbits

    Thanks!

    Multi-System Reactor

  • Advice on Storing and Backing Up Bind Mounts - Docker
    therealdbT therealdb

    @Pabla said in Advice on Storing and Backing Up Bind Mounts - Docker:

    Perfect thats exactly what I was thinking of doing! Since I am using Portainer their equivalent of Docker Compose is Stacks and Portainer has a handy built in GUI back up feature which backs all that up. Just need to figure out how to automate it and store it off the host for easy future retrieval.

    Portainer is just a nice GUI - I'm using it too to do basic stuff like restarting a container or see the logs, especially when I'm remote. But at the end of the day, it's just some GUI over docker/docker-compose CLI commands:

    cd /home/casa/containers/zwavejs/ && sudo docker compose pull && sudo docker compose up -d
    

    and you're good to go. Easier to run 5-6 times per container than clicking on some random web page, but I know it's personal. The only thing that matters is a disaster/recovery strategy that you'll be able to quickly follow.

    Software

  • Advice on Storing and Backing Up Bind Mounts - Docker
    therealdbT therealdb

    Yeah, containers are a game changer for manageability.

    I just have a /home/casa/containers (where casa is the user) where I have my configs/storage. Easy to backup/mirror. In case of disaster recovery, just copy everything and I'm ready. For consistency, I save my docker-compose file in the same dir. Restoring a container is very easy.

    Software

  • RFC: When disaster strikes (sorry it's a bit verbose)
    therealdbT therealdb

    I added standard RAM as well, from a laptop.
    Yep, the zwave network is on the stick. That's why you have to regularly backup it.
    You may consider something using serial-to-IP:

    tubeszb

    Z-Wave PoE Kit

    Z-Wave PoE Kit
    General Discussion

  • RFC: When disaster strikes (sorry it's a bit verbose)
    therealdbT therealdb

    @CatmanV2 yep. My syno is the backup plan. The only prod containers on the syno are mosquitto and influxdb. This way, in case of failure, the mqtt server is still running and retained messages are picked up from the queue. With this configuration, I avoid the slower cpu of the syno. The nuc one is definitely faster.

    General Discussion
  • Login

  • Don't have an account? Register

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