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
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
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
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
Errors after updating to MQTTController build 25139
tunnusT
I'm running MSR build 25139 on Docker, using MQTT controller 24293, and everything working as expected. But if I try to upgrade to MQTTController build 25139, I'm getting the following errors on MSR UI: An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.god Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa auto heating off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.green Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto off" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute temperature_sensor.red Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa filter pump auto run" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.pump Last 11:20:37 An Entity Attribute condition in "Lay-Z-Spa watchdog" (Terrace) failed because the referenced entity "Lay-Z-Spa States" (mqtt>layzspa_states) does not have attribute value_sensor.status Last 11:20:37 My MQTT configuration (local_mqtt_devices.yaml) for the related entity is: layzspa_message: type: ValueSensor capabilities: ["temperature_sensor", "value_sensor", "power_sensor"] primary_attribute: power_sensor.value events: "layzspa/message": "power_sensor.value": json_payload: true if_expr: '! isnull( payload?.PWR )' expr: "float(payload.PWR)" "value_sensor.air": json_payload: true if_expr: '! isnull( payload?.AIR )' expr: "float(payload.AIR)" "value_sensor.pump": json_payload: true if_expr: '! isnull( payload?.FLT )' expr: "float(payload.FLT)" "value_sensor.god": json_payload: true if_expr: '! isnull( payload?.GOD )' expr: "float(payload.GOD)" "value_sensor.lock": json_payload: true if_expr: '! isnull( payload?.LCK )' expr: "float(payload.LCK)" "value_sensor.unit": json_payload: true if_expr: '! isnull( payload?.UNT )' expr: "float(payload.UNT)" "value_sensor.error": json_payload: true if_expr: '! isnull( payload?.ERR )' expr: "float(payload.ERR)" "temperature_sensor.green": json_payload: true if_expr: '! isnull( payload?.GRN )' expr: "float(payload.GRN)" "temperature_sensor.red": json_payload: true if_expr: '! isnull( payload?.RED )' expr: "float(payload.RED)" "temperature_sensor.target": json_payload: true if_expr: '! isnull( payload?.TGT )' expr: "float(payload.TGT)" "temperature_sensor.value": json_payload: true if_expr: '! isnull( payload?.TMP )' expr: "float(payload.TMP)" "temperature_sensor.virtual": json_payload: true if_expr: '! isnull( payload?.VTM )' expr: "round(float(payload.VTM), 1)" "temperature_sensor.ambient": json_payload: true if_expr: '! isnull( payload?.AMB )' expr: "float(payload.AMB)" "layzspa/Status": "value_sensor.status": if_expr: '! isnull( payload )' expr: "payload" "layzspa/button": "value_sensor.button": if_expr: '! isnull( payload )' expr: "payload" and in reactor.yaml I have: "layzspa_states": name: "Lay-Z-Spa States" friendly_name: 'Lay-Z-Spa States' include: layzspa_message I realize my MQTT configuration might be a bit unorthodox, but could there still be something unintentional in the latest MQTTController build? If needed, I can provide detailed logs.
Multi-System Reactor
🎉 My very first MSR controller: OpenSprinkler
therealdbT
Since today is my birthday - and I still pretend to be unconventional - I'm giving away a present to this wonderful community and I'm releasing my first OpenSprinkler controller for MSR. It was real fun to code it - and while it's still WIP, it seems to work OK for me. It's polling-based at the moment, but I'll add support for updates via MQTT very soon (it's already partially coded). Get it at (install is similar to MQTTController and such): https://github.com/dbochicchio/reactor-opensprinkler Feel free to try it. It's beta software, but it's stable. I'll update it weekly until all the tasks from my todo list are empty. Since I've learnt a lot from this controller, I'll explore new controllers soon.
Multi-System Reactor
Advice reqeusted to migrate MSR from Bare Metal to Container
T
Good day all, I'm in the process of trying to shut down my 10 year old Linux home server that served many purposes, but primarily it's what I used for my NAS/Plex Media server. I migrated the NAS aspect of the server in November of last year to a true NAS solution (Ubiquti UNAS Pro), which is rack mount and much more efficient than my old tower, which it's only side benefit was heating my home office during the winter. Unfortunately it also means heating my home office during the summer, which were about to be in full swing. I have two things running on this 10 year old server at this point. MSR and pi-hole. I'm running Plex Media Server on Fedora Workstation in Podman on mini PC, which is much more energy efficient than my old tower. My next step is to migrate MSR. I know there are images of MSR out there, and creating it is well documented. I'm going to be using Podman instead of Docker for various reasons, but they work very similar. What I don't know, is what I need to do to migrate my existing Bare Metal installation over to a container. Has anyone done this? Any advice?
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
Z-Wave Future....
DesTD
https://forum.z-wave.me/viewtopic.php?f=3417&t=36140 That's not a good thing I think Time to switch again?
Z-Wave.me
Can´t restart or upgrade/deploy MSR
F
Topic thumbnail image
Multi-System Reactor
[Solved] Limit HA Entity in MSR
wmarcolinW
Topic thumbnail image
Multi-System Reactor
Disaster recovery and virtualisation
CatmanV2C
Following on from my last thread, some progress has been made over the weekend. With 18G of spanky RAM in my Synology DS224+. I've jumped into the murky world of virtualisation and already eliminated the need for two Raspberry Pi's from my system. Home Assistant: In theory they provide an OVA file which is supported by the Synology. I couldn't get it to work, however, so grabbed a copy of the .img file they supply, renamed it .iso and imported it as a VM. Restored from my full back up and that all seems fantastic. Minidnla Music server: Trivial. Grabbed a Debian .iso for Bookworm and copied that onto the NAS. Created a new machine which mirrored the specs of the Raspberry Pi, booted from the ISO then did an expert install. Once that was all stable with a basic core of stuff and networking, I've made a copy of that as a good base system. Then fired up minidnla on it, mounted my media and that's also woking. Not bad for a short weekend's work. Still not sure about the main NUC though. I'm thinking of buying a new USB stick so I can mess around getting it working on the Synology before I do anything drastic. Once that hurdle is sorted I'm torn between: Using a brand new install of Bookworm, re-installing Z-way server, OpenLuup, AltUI, MSR and HA bridge, then restoring across or Making an ISO of the current system, importing that and upgrading in place (which will be pretty risk free since I can snapshot everything before I make any changes.) Decisions, decisions. C
General Discussion
Remote access of Zwave stick from Z-wave server
CatmanV2C
Topic thumbnail image
Software
Organizing/ structuring rule sets and rules
R
Hi guys, Just wondering how you guys organize your rule sets and rules. I wish I had an extra layer to have some more granularity, but my feature request was not popular. Maybe there are better ways to organize my rule sets. I use the rule sets now primarily for rooms. So a rule set per room. But maybe grouping by functionality works better. Any examples/ suggestions would be appreciated.
Multi-System Reactor
Moving MSR from a QNAP container to RP 5 - some issues
Tom_DT
Topic thumbnail image
Multi-System Reactor
About
Posts
829
Topics
103
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