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.
cw-kidC

cw-kid

@cw-kid
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
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
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
[SOLVED] Question regarding "in" vs "contains" vs contents of the string
G
Topic thumbnail image
Multi-System Reactor
openLuup console disappeared - 500 - Internal Server Error
A
Love openLuup - it just keeps working perfectly. I started looking at trying to add a gen4 Shelly device to the Shelly plugin via L_ShellyBridge.lua. The plugin is a little uncooked (no rudeness intended), so a bit of a rabbit hole for me. All of a sudden no console pages available in either Firefox or Chrome. AltUI works perfectly and all the log files indicate no errors. openLuup still running everything works as it should - just no console pages. I possibly screwed something up but any recently changes files show no problems. The original/ backup of L_ShellyBridge.lua was reinstated but still no console. Bit stumped on this one. Not sure how to debug. Any ideas?
Plugins
Logon screen timeout
G
Noticing since 170 that the lock screen doesn't switch to the logon prompt but, rather, stays on the active UI until such time as you go to click something within it. Then it jumps to the login screen. Brave browser Brave 1.92.139 (Official Build) (arm64) Chromium: 150.0.7871.114
Multi-System Reactor
[MSR] Copy&past of actions and/or drag&drop between set/reset
therealdbT
Hey @toggledbits One thing that bothers me while doing work on new systems/new features, is that I cannot copy&paste actions, and I cannot drag&drop between set and resets. #1 is for when I want to copy an action between different rules opened in two separate browser windows, while #2 is when I just need to flip a bunch of actions in the reset, or move some logic back and forth. Both will be appreciated, but I understand the technical challenges. Thanks!
Multi-System Reactor
Upgrade advice - upgrade from aarch64 to ARM64 image
T
I'm currently on version 26011. I understand that the aarch64 image is no longer supported. So, I therefore need to update to the ARM64 image. Can anyone possibly suggest how I update my docker compose.yaml file (see below). Ideally I'd like to keep my existing reactions etc. rather than start from scratch. # Multi-System Reactor template docker-compose.yml (version 22160) # # Change the lines indicated by "DO"... # services: reactor: container_name: reactor environment: # DO change the TZ: line to set your local time zone. # See valid TZ list: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones TZ: GB # # DO NOT change this path. Your directory location is in "source" below. REACTOR_DATA_PREFIX: /var/reactor # DO change the image below to the one you are using (e.g. armv7l or aarch64 for RPi 4) image: toggledbits/reactor:latest-aarch64 restart: "always" expose: - 8111 ports: - 8111:8111 volumes: # DO change the /home/username/reactor below to the directory you created for # your local data; DO NOT change the /var/reactor part - /home/pi/docker/reactor:/var/reactor - /etc/localtime:/etc/localtime:ro tmpfs: /tmp
Multi-System Reactor
Alexa for MSR, any interest?
MikeReadingtonM
Topic thumbnail image
Multi-System Reactor
Ezlo Paid Subscription for Vera Cloud Services
toggledbitsT
It appears that Ezlo is going to new levels of paid subscription for cloud services supporting Vera hubs. I have to congratulate them. It will soon be 8 years since Ezlo acquired Vera, and despite their purported financial and "intellectual" capital, they have to date not produced a viable full replacement for Vera. Now they are going to charge extra for services for a platform that they stopped updating years ago. If you know anyone who hasn't yet fully moved on from Captain Ahab's White Whale Chase, please remind them that my Decouple project is still up on Github to decouple a Vera Plus/Secure/Edge from Vera/Ezlo's cloud services. Veras have been said to misbehave when they can't reach the mother ship. I have also written my first new Vera plugin in... six years? more?... the AlertPushover project will send Vera hub alerts to Pushover, so you can still get messages generated by your Vera hub without paying for Ezlo's cloud service. It's crude but functional (i.e. better than nothing/worth every penny paid). These two projects won't replace the functionality of their cloud service and app for those who need those things. But any that don't, this may help bridge the gap. Hopefully these stragglers who have waited so long and been disappointed so often will get the idea that it's time to move on.
General Discussion
[RESOLVED] Telegram notification broke with latest update
3
Topic thumbnail image
Multi-System Reactor
[RESOLVED] Phantom device, “INFO” appears
wmarcolinW
Topic thumbnail image
Multi-System Reactor
[RESOLVED] Mode Status NULL
wmarcolinW
Topic thumbnail image
Multi-System Reactor
About
Posts
879
Topics
108
Shares
0
Groups
0
Followers
1
Following
0

Posts

Recent Best Controversial

  • I'm no longer a PLEG user !
    cw-kidC cw-kid

    Been using PLEG for about 8 or 9 years, I had 100 Conditions / Actions in PLEG, these are now all disabled and I've recreated them on MSR.

    Still learning MSR and how to do somethings but everything I was doing in PLEG was fairly easy to convert over to MSR once I found my feet a bit and got going.

    Thanks to everyone who answered any of my questions along the way when I got stuck.

    I have some Vera scenes I'd like to also convert to MSR, so not quite done yet. 😁

    Multi-System Reactor

  • How to auto start on Rpi reboot ?
    cw-kidC cw-kid

    @toggledbits said in How to auto start on Rpi reboot ?:

    rpi-install.sh

    9f322ffb-ca93-464b-9c47-fbec7c7e12b4-image.png

    This is the reactor.service file it created:

    # This file allows you to run your Reactor installation under systemd,
    # so it can be started at boot. Copy this file (as root or under sudo)
    # to /etc/systemd/system, and then run "systemctl daemon-reload". You
    # can then able Reactor to start at boot "systemctl enable reactor".
    # The usual systemctl subcommands can also be used to start, stop, and
    # restart reactor at will (e.g. "systemctl restart reactor").
    
    [Unit]
    Description=Multi System Reactor
    After=network.target
    
    [Service]
    Type=simple
    User=pi
    WorkingDirectory=/home/pi/Documents/reactor
    ExecStart=/usr/bin/node app -p
    Restart=on-failure
    RestartSec=5s
    
    [Install]
    WantedBy=multi-user.target
    
    

    I followed the rest of the instructions and I could see a reactor.pid file had been created and reactor was running again.

    I then rebooted my Pi and after it rebooted MSR is running again.

    So everything appears to have worked OK.

    Thanks

    Multi-System Reactor

  • Preview of Multi-System Reactor
    cw-kidC cw-kid

    P.S. I really like the new Entity Attribute picker and search dialogue box.

    Would of saved me a lot of time if we had it earlier but its definitely a big improvement.

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    I've tried the Vera Multi-String plugin, it looks just like the type of plugin I was needing and looking for.

    You can have up to five variables on a device.

    6ec01036-3703-4888-8692-d47231b990d2-image.png

    83c68d4c-977a-422c-861b-11f16cbfe804-image.png

    You can then have your rule in MSR send the data to each variable etc.

    The Multi-String plugin devices data is also outputted in the Vera SDATA stream so these device will also work with the Home Remote dashboard app.

    { "name": "Covid-19 Stats", "altid": "", "id": 133, "category": 0, "subcategory": -1, "room": 0, "parent": 0, "variablename1": "Confirmed", "variable1": "4329180", "variablename2": "Recovered", "variable2": "3787312", "variablename3": "Critical", "variable3": "615", "variablename4": "Deaths", "variable4": "126573", "variablename5": "", "variable5": "", "options": "", "configured": "0" },
    

    So I recommend using the Multi-String plugin rather than trying to create your own modified Generic IO devices as I was doing.

    Multi-System Reactor

  • Not so quiet around here :)
    cw-kidC cw-kid

    Gees, I know a lot of those names, didn't know Pabla and Crille were banned and I certainly didn't know ElCid was banned.

    Well I always speak my mind and if something doesn't work I'll say it doesn't.

    General Discussion

  • Support for 3rd party Vera plugins ?
    cw-kidC cw-kid

    AltHue Plugin for Vera:

    CONFIRMED AS WORKING - HUE SCENES

    The ServiceID's are now exposed in an Entity Action in an MSR rule or Global Reaction.

    You need to select the main AltHue device in your Entity Action, then select hue_scene from this list.

    3ece807e-067a-482f-b6b0-fb292b8823cb-image.png

    Go in to the AltHue main device in Vera UI7 web GUI and go in to the "Hue Scenes" area and find the scene in the list that you want to start in your MSR rule or Global Reaction.

    Copy its ID number.

    d961abcf-20cc-42f6-9b54-2f13702b66f0-image.png

    Back in MSR edit the Entity Action and paste in the ID number.

    ac481ffe-6a11-45cb-851f-e89e7ec00b49-image.png

    When I ran my MSR Global Reaction, my hue scene is started and my lights are now in Arctic Aurora.

    CONFIRMED AS WORKING - EFFECT COLORLOOP

    Next I created another Global Reaction and tried starting the Effect ColorLoop

    Choose the set_effect from the drop down list.

    The child ID is the AltHue child device aka the light that you want the colorloop to be on.

    and enter "colorloop" in the Effect field.

    0b01caba-2889-4148-a67e-69f35369d7c2-image.png

    When you run the Reaction, If the light is already turned ON the colorloop will start.

    However if the light is turned off nothing will happen, so I added an action to turn on the light first then run the colorloop effect, which is working.

    a20d30fe-a2e1-4534-95dc-d9d84ee82304-image.png

    Multi-System Reactor

  • Need help backing up Raspberry Pi
    cw-kidC cw-kid

    @catmanv2 said in Need help backing up Raspberry Pi:

    Have you got another SD card? Restore to that

    No I haven't. Not the same size anyway.

    I think I will buy another SanDisk 64GB SD card and make sure I can actually restore to a new card etc.

    General Discussion

  • Support for 3rd party Vera plugins ?
    cw-kidC cw-kid

    HARMONY POWER AND ACTIVITY STATUS - WORKING

    If I use this HTTP command it lists all the Activities on my Lounge Harmony Hub.

    http://VERA-IP/port_3480/data_request?id=lr_Harmony184&cmd=list_activities

    { "status": "OK", "msg": "OK", "data": { "activities": [ { "ID": "27585584", "Activity": "ChromeCast Video" }, { "ID": "23834935", "Activity": "Media Center" }, { "ID": "23834936", "Activity": "XBOX" }, { "ID": "23864128", "Activity": "Wii-U" }, { "ID": "43190809", "Activity": "Nintendo Switch" }, { "ID": "23834933", "Activity": "Freeview" }, { "ID": "-1", "Activity": "PowerOff" }, { "ID": "42772934", "Activity": "Fire TV" }, { "ID": "36455394", "Activity": "ChromeCast Audio" }, { "ID": "42766865", "Activity": "BT TV" } ] }, "code": 200 }

    In MSR I can see x_vera_plugin_harmony.activity_status ServiceID

    When there are no activities running e.g. OFF the status returned is 0

    And when I am in my Watch TV "BT TV" activity, the status is 2, so you should be able to work out which activity is what status number ?

    Activities OFF - Status = 0

    e716268a-4201-415d-9cbe-ec665c619628-image.png

    Watch TV Activity - Status = 2

    c60a6247-b893-47b5-9857-c4e22677d331-image.png

    So I created a rule that when my Harmony hub is OFF then turn off some LED strip lights.

    b1329efd-91e5-485e-8640-16a027c77d62-image.png

    Alternatively there is a ServiceID called x_vera_plugin_harmony.power_status

    It is FALSE when all my Harmony Activities are turned OFF, so we can potentially use this instead.

    99b89c25-cde9-494a-9a14-c46da8230463-image.png

    And finally I looked at x_vera_plugin_harmony.current_activity this will return the activity ID numbers.

    I know -1 = Powered OFF so I could have used this also.

    When my Harmony is in Watch TV activity "BT TV" its showing a number ID of 42766865 which is correct. If you look at my output at the start listing all the activities and their ID numbers.

    3393fcea-4e87-4d73-b41a-1e029a902b15-image.png

    So I could now create an MSR rule that does something only when I am in the Watch TV Harmony activity etc.

    Multi-System Reactor

  • Vera watch variable / startup LUA how ?
    cw-kidC cw-kid

    @therealdb OK its working ! I just pasted the raw code in to the startup LUA area and the virtual motion sensor now follows the real devices tripped status.

    I am writing a user guide for the Everspring EH403 Floodlight device, as it doesn't configure correctly after pairing with Vera.

    I will credit you for your code in the guide when I publish it on the forum.

    Thanks

    General Discussion

  • Expression value trigger not working ?
    cw-kidC cw-kid

    I just edited the rule and ticked "ignore case" again and saved and the rule is still working and triggering, so that was a red herring as you say.

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    OK done

    https://reactor.toggledbits.com/mantisbt/view.php?id=147

    Thanks

    Multi-System Reactor

  • Replacing SiteSensor Plugin (Vera) with MSR
    cw-kidC cw-kid

    @LibraSun

    Its working. I now have my current WAN IP address being sent from MSR to a virtual device (Generic IO Sensor) on Vera.

    So now know how to send any data stored in an expression / variable from MSR to a device on Vera !

    Multi-System Reactor

  • Vera Run LUA Missing
    cw-kidC cw-kid

    @toggledbits said in Vera Run LUA Missing:

    Did I ever bother to ask why you just don't run the scene entity using its native run action?

    I am aware I can call Vera scenes directly using the scene entity and I do have some other rules that do that.

    However for this particular rule as I already explained I am running this LUA code to have various Vera scenes run randomly.

    local scenes = {"172", "173", "174", "175", "176", "271", "272"}
    local tmp_random_number = math.random(1,7)
    local  scene_id_to_launch = scenes[tmp_random_number]
    luup.call_action("urn:micasaverde-com:serviceId:HomeAutomationGateway1", "RunScene", {SceneNum = scene_id_to_launch}, 0)
    
    Multi-System Reactor

  • Help with Burglar Alarm rule(s)
    cw-kidC cw-kid

    Thanks guys for all the suggestions a lot to take in.

    I'll have a proper read later and see if I can retire my existing scenes setup in Vera and migrate this functionality to MSR.

    Multi-System Reactor

  • How to shutdown a Windows 10 PC ?
    cw-kidC cw-kid

    OK just setup the rest of my MSR rule now with a Reset reaction, that gets the Vera Plus to run a LUA / os.execute shutdown command sent to the Windows 11 PC.

    So now when I start my Logitech Harmony activity for the Windows Games PC, MSR triggers the rule and gets Vera to send a WOL packet to the PC to wake it up.

    And when I end the Harmony activity the reset reaction in the MSR rule gets Vera to shutdown the PC.

    I even managed to get my Harmony Elite remote to launch RetroArch or Steam via buttons on the LCD screen and I also added a ALT+F4 button to exit the Windows apps.

    Next thing to figure out is how to split out the HDMI audio to a pair of PC speakers.

    Thanks.

    Multi-System Reactor

  • Is this possible? Store data from Asus Router ajax .asp page for Temperature data.
    cw-kidC cw-kid

    Yes that's right, info only

    image.png

    The routers CPU temp and WIFI chip temps however I am using those in another rules trigger to warn me if its getting hot. so those had to be Global Expressions.

    Multi-System Reactor

  • Using Grafana with MSR any tips ?
    cw-kidC cw-kid

    @toggledbits

    Thanks I did try math and * 100 but it kept changing itself back to / 100 instead.

    I will have another go.

    EDIT:

    Got it now, I was tabbing out of that field you have to hit enter instead.

    3566dadb-32da-4188-8a64-3005813800bd-image.png

    Software

  • Vera watch variable / startup LUA how ?
    cw-kidC cw-kid

    Thanks guys that's all working OK now

    General Discussion

  • Vera account suspended for a 1000 years
    cw-kidC cw-kid

    @pabla said in Vera account suspended for a 1000 years:

    So this is where all the banned Vera members rejoice

    Surprised they haven't banned me yet.

    I always state my mind, good or bad.

    Vera

  • Simple Time action running late
    cw-kidC cw-kid

    There are no constraints not using them as you told me not too LOL

    Multi-System Reactor
  • Login

  • Don't have an account? Register

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