Skip to content

Multi-System Reactor

776 Topics 7.4k Posts
  • Aeotec doorbell question

    Locked
    6
    0 Votes
    6 Posts
    287 Views
    R

    Thanks for the additional details. That worked.

  • MSR feedback post RfV migration

    Locked
    5
    1 Votes
    5 Posts
    257 Views
    3

    @toggledbits said in MSR feedback post RfV migration:

    You shouldn't see the index values at all,

    This is interesting. Now that you mention this, on a different computer over the weekend, I didn't see the 0, 1, 2 values. I only saw Home, Away, etc. Besides being a different computer, I'm pretty sure my version of Chrome between the two is the same. The only other difference between then and now is that I upgraded my MSR from the generic 1.0 21200 build to the latest 21221 build. Chrome is all I have and use. I just tried Edge and IE, because they are there by default. But they both suck and won't display anything except the left most side panel. None of the links work either.

    @toggledbits said in MSR feedback post RfV migration:

    Can't cascade;

    At least maybe shade the Rule Set labels to set them apart. Or add an option at the top of the list, or a new button all together, to Copy From Set / Copy From Reset? Just ideas.
    copy.jpg

  • Incorrect 24 Hr time format?

    Locked
    2
    0 Votes
    2 Posts
    105 Views
    toggledbitsT

    This is the way JavaScript is formatting the time, given the locale settings of your browser.

  • [Solved] MSR doesn't like January?

    Locked
    9
    0 Votes
    9 Posts
    309 Views
    3

    @toggledbits said in MSR doesn't like January?:

    OK. Build 21221 is up with the rule editor fix for date/time January.

    Thank you. I can confirm that the (every month) no longer appears when I edit the rule.

  • Set Entity value in expression?

    Locked
    20
    0 Votes
    20 Posts
    797 Views
    S
    The performAction() expression function will perform an action from an expression. If you have an object stored in a variable old_status that contains data like this: [ { id: "vera>Livingroom Fan", status: true }, { id: "vera>Loft Fan", status: false }, { id: "vera>Office Fan", status: true } ], then you can set those statuses in one expression: each d in old_status: performAction( d.id, "power_switch.set", d.status )

    This is exactly what i was looking for! thank you!!!!!! i was looking at the docs and completely glossed over that section...

  • Having issues with a shell command

    Locked
    60
    0 Votes
    60 Posts
    3k Views
    cw-kidC

    Everything appears to all be working nicely now.

    The only issue is sometimes I see this error alert

    c0eaae29-9778-441e-9430-f6a61a5dfe4a-image.png

    ad4be8c1-9a9e-491b-b368-b9ce238820fa-image.png

    I assume it happens when the "ps4wakercheck" variable hasn't been populated with any data and therefore the "ps4wakerparse" variable has nothing to parse.

    The ps4waker check rule is now using the wrapper script also, so if for whatever reason it didn't get data returned on its first attempt, it does on the second or subsequent attempts.

  • Question about "Condition must be sustained for..."

    Locked
    2
    0 Votes
    2 Posts
    125 Views
    toggledbitsT

    MSR uses the same approach as Reactor for Vera. It computes the "edge" time and sets a timer for it, then goes idle. When the timer expires, the task is awakened and the event is handled. If the condition changes during timing so that it's no longer true, the timer is simply cancelled and the event never occurs. This is true for all time-based condition options, as well as all time condition types (Date/Time, Weekday, Sunrise/Sunset).

    This avoids "polling" for time (like PLEG with its now keyword), which makes better use of system resources (less wasted CPU, for example), and also keeps to-the-second (actually millisecond internally) resolution in timing of events. It also improves the recovery across reboots/reloads -- Reactors know exactly whenever they come back up how much time is left to meet the original time criteria on the nose, or if it was missed altogether during the downtime.

  • Running as a Windows Service

    Locked
    8
    1 Votes
    8 Posts
    311 Views
    wmarcolinW

    Perfect, in the services panel the Reactor appears and I can then control it. Strangely in Task Manager does not appear the Reactor in running processes.

    But ok, situation solved.

  • Pushover duplicate messages.

    Locked
    15
    0 Votes
    15 Posts
    628 Views
    CrilleC

    Ok, done. Much better, thank you!

  • Size of console.log

    Locked
    3
    0 Votes
    3 Posts
    135 Views
    CrilleC

    @toggledbits Ok, thank you. Time to change to systemd then!

  • Unable to connect to HASS

    Locked
    10
    0 Votes
    10 Posts
    617 Views
    CatmanV2C

    @rogero said in Unable to connect to HASS:

    Doh. Found an ID10t error. Had the wrong IP address in the Reactor config. I definitely have too many computers at my house.

    I have a spreadsheet so I can recall WTF they all do and their IP addresses. Something of an issue when mostly stuff just works. Mostly. </Aliens>

    C

  • This topic is deleted!

    Locked
    1
    0 Votes
    1 Posts
    7 Views
    No one has replied
  • MSR Logic vs Reactor question

    7
    0 Votes
    7 Posts
    368 Views
    R

    Went with Patrick's suggested approach. I do like the old reactor a bit better for this instance. Less clutter. Sure there was a technical reason to do it this way. Guess I can create multiple rule sets to group them by.

  • HASS version not supported?

    Locked
    4
    0 Votes
    4 Posts
    251 Views
    Tom_DT

    OK. Thanks.

  • Vera - Attempt to set primary to power_switch.state invalid

    Locked
    12
    0 Votes
    12 Posts
    399 Views
    cw-kidC

    @toggledbits

    Appears to have done the trick the Ezlo-Plus controller is back again in Entities.

    Thanks

  • Ezlo device capabilities

    Locked
    31
    0 Votes
    31 Posts
    1k Views
    ElcidE

    Setting node path worked, still not getting ir_remote_send_codes to work though. I added to the PR

  • Entities area is this expected?

    Locked
    4
    0 Votes
    4 Posts
    220 Views
    cw-kidC

    I updated to build 1.0.0-21200-16a604f this morning and now the Reactor System can be seen again in the Entities area.

  • Multi-System Reactor Developer Preview AVAILABLE

    Locked
    124
    4 Votes
    124 Posts
    13k Views
    toggledbitsT

    Build 21197 (1.0 release candidate 3)

    Additional capabilties for eZLO devices PR 0000229: Fixed an issue with attempt NaN write when certain sun conditions cannot be calculated in some "extreme" latitudes (e.g. sunset in Tromso NO in mid-summer: sun doesn't set; no astro dusk/dawn in mid-summer northern UK, etc.). PR 0000228: Fixed an issue with sequence (..after..) condition option not reselecting predecessor condition on subsequent rule edit.

    I don't regard this as a vital update; this is mostly just informational. But if you're affected by either of the above PRs, you may want to make the upgrade.

    On track for 1.0 release in 7/19. I've already changed the structure of the download directory.

  • Any instructions on how to update MSR on QNAP NAS Docker

    Locked
    3
    0 Votes
    3 Posts
    246 Views
    toggledbitsT

    Are you able to ssh into a QNAP NAS? I would assume you can. If so, try docker ps and see what it says. If it gives you a permissions error, try sudo docker ps. If either works (even if it lists no processes), then you can use docker commands. The following is a script that you can run. If you needed sudo to run the test command earlier, then run the script using sudo. Read the comments before running the script. There are things you need to modify before the first time you run the script, and after the first time.

    #!/bin/sh # You can save this as a script: update_msr.sh # Set permissions: chmod 755 update_msr.sh # # Before running this, stop and delete the existing container yourself. # After you have started MSR for the first time using # this script, you can uncomment the two docker # commands below and the script will do it for you from then. #docker stop reactor #docker container rm reactor # # Pull the new image: docker pull toggledbits/reactor:latest-generic-amd64 # # Create and start the new container: Adjust TZ as needed, and # provide the path to your Reactor data directory where shown: docker run --name reactor -d --restart on-failure -p 8111:8111 \ -e 'TZ=America/New_York' \ -v /PATH/TO/YOUR/DATA:/var/reactor \ --mount type=bind,src=/etc/localtime,target=/etc/localtime \ --network host \ toggledbits/reactor:latest-generic-amd64
  • Cannot save Restriction in MSR Rule Set

    Locked
    2
    0 Votes
    2 Posts
    119 Views
    toggledbitsT

    OK. I see this. It is saving it, just not redisplaying it on reload due to a race condition with an asynchronous task. I'll do a build later today with a fix.

Recent Topics