Skip to content

Multi-System Reactor

780 Topics 7.4k Posts
  • [Solved] Reboot option (bug?)

    Locked
    2
    0 Votes
    2 Posts
    143 Views
    toggledbitsT

    Not yet implemented, and when it is, it will be renamed to restart and just do a Luup reload. Your Lua alternative is correct for your objective.

  • Excluded vera devices in Hass

    Locked
    2
    1 Votes
    2 Posts
    161 Views
    toggledbitsT

    This is planned but I haven't unified the idea across all controllers. But probably will happen in the not-too-distant future.

  • Telegram & MSR 1.0.0

    Locked
    20
    0 Votes
    20 Posts
    906 Views
    cw-kidC

    I only had two rules that would of been affected by this change. I have moved all those PS4 related expressions out to be global expressions now instead and the one other rule that was using one of those expressions as its trigger, I've edited to use the new global expression instead. None of my other rules I don't think were using a local expression from another rule.

  • Expressions and LuaXP Functions

    Locked
    126
    0 Votes
    126 Posts
    11k Views
    tunnusT

    @toggledbits any chance we'll see strftime function coming up "soon"? Or advice how to implement the same with lexpjs (when you have unix timestamp, RfV example below)?

    strftime("%H:%M %d/%m/%y", <timestamp> )

  • Aeotec doorbell question

    Locked
    6
    0 Votes
    6 Posts
    300 Views
    R

    Thanks for the additional details. That worked.

  • MSR feedback post RfV migration

    Locked
    5
    1 Votes
    5 Posts
    267 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
    107 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
    310 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
    872 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
    133 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
    313 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
    661 Views
    CrilleC

    Ok, done. Much better, thank you!

  • Size of console.log

    Locked
    3
    0 Votes
    3 Posts
    139 Views
    CrilleC

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

  • Unable to connect to HASS

    Locked
    10
    0 Votes
    10 Posts
    644 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
    415 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
    254 Views
    Tom_DT

    OK. Thanks.

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

    Locked
    12
    0 Votes
    12 Posts
    401 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

Recent Topics