Multi-System Reactor

696 Topics 6.8k Posts
  • 0 Votes
    5 Posts
    190 Views

    That was likely it now that you mention it. I did have a problem awhile back where I fat fingered a 2:00AM cron job that was supposed to trim backup files to only keep the last x days of *.tar.gz files which filled the partition. I bet the file date reflects when that happened 🙂

    Thanks again for the help and clarifying. Take care,
    -bh

  • Long-running task in MSR

    5
    0 Votes
    5 Posts
    193 Views

    I ended up using the same approach as in my rule for solar mode of the EV charger:

    image.png

    I left 4 seconds for the rule to reset, so it could "pulse" again in 4 secs and re-evaluate the conditions.

  • Integrate UPS with MSR

    25
    0 Votes
    25 Posts
    1k Views

    @toggledbits
    No, I get how NutController works. So far at least...

    But when I got stuck several times trying to set up NUT I almost gave up. At the same time I remembered seeing some System Info in MSR and if could find data about battery level, charging and so on I would not even need the NUT Installation.
    And that would be a big bonus for me as I realize that when my NUT installation fails one day it would take me long time to figure it out and also one less process/config to handle.

    And from System Info I assume we could get info about temperatures, storage levels, fan speeds and so on?
    This could be used to send warning notifications from MSR.

    So yes, I was asking something else that come up in my head when I tried to find another way than using NUT. 🙂

  • 0 Votes
    4 Posts
    132 Views

    Well done!

  • 0 Votes
    7 Posts
    204 Views

    @CatmanV2 HA has matured nicely over the past couple years.

  • 0 Votes
    77 Posts
    3k Views

    I've just updated to this version latest-23218-479da148 I will see how I get on with that.

    UPDATE - I think this version is working I can see the Global Expressions auto evaluating.

  • Virtual Devices for lamellas in Vera

    3
    0 Votes
    3 Posts
    138 Views

    I toyed with the idea of writing my own VirtualController, but findEntity and such are only valid within the controller, so an entity from another controller is not callable. After a couple of hours flidding with code, I've just added two virtual devices like this, supporting the main features I need:

    - id: "cover_lamellas2" name: 'Frangisole Matteo: lamelle' capabilities: cover: actions: open: - target: 'position.value' value: '1' - target: 'state' value: 'true' close: - target: 'position.value' value: '0' - target: 'state' value: 'false' set: - target: 'position. Value' expr: 'parameters.state?1:0' - target: 'state' expr: 'parameters.state' position: actions: set: - target: 'value' expr: 'parameters.value' - target: 'cover. State' expr: 'parameters.value != 0'

    And two reactions like this, watching for position. Value changes:
    88a26f94-fad7-4367-b6ce-8ed5780e6f82-image.png

    It's working lovely, even if I wish it were possible to avoid two reactions. I'll move to zwavejs, eventually, so this is acceptable as a short-term solution.
    I hope this can be helpful to other people in the future.

  • Feature request: user authentication

    1
    0 Votes
    1 Posts
    83 Views
    No one has replied
  • 0 Votes
    13 Posts
    286 Views

    Yup, many thanks to @toggledbits for the quick fix!

  • 0 Votes
    4 Posts
    173 Views

    Appreciate it!

  • Odd behavior in Weekday checkmarks (MSR)

    3
    0 Votes
    3 Posts
    141 Views

    @Crille said in Odd behavior in Weekday checkmarks (MSR):

    "Date formatting extras. The weekday and month names are derived from the JavaScript locale, so
    they do not need to be defined here." I missed that change and still have them defined in the Swedish translation and that shows correct in the UI.

    If they are defined in the locale data, Reactor will prefer that over asking JavaScript/Node.

    This is now fixed in my dev version and the fix will be in the next build. It's cosmetic only. Until that build is released, just assume the order is Sun - Sat regardless of the label (the days are handled by number, not by name). It will also fix itself next week (the bug only occurs when the most recent Sunday is in the prior month).

  • 0 Votes
    9 Posts
    280 Views

    Fixable. Exercise for the readers.

  • Z Wave JS - Not Connecting

    Solved
    5
    0 Votes
    5 Posts
    500 Views

    @toggledbits got it. So basically if you navigate to Settings -> Add-Ons -> Z Wave JS UI and on the top where it says Info, Documentation, Configuration, and Logs click Configuration. Then under Network section turn the toggle on to show unused ports (not sure if that is the correct verbiage) then add port 3000 and hit save. Once the add-on restarts it should work.

  • 0 Votes
    2 Posts
    99 Views

    Strange, I deleted the Global Expression and created it again and now the HTTP API commands are working OK again.

    In the browser for example I now see a response like this and the variable is set with my data OK.

    {"name":"scene","expr":"","index":9,"mdt":1689950652569,"serial":22,"value":"backcam","since":1689950659980}

  • Reactor Ex Machina II (2023-July Update)

    3
    3 Votes
    3 Posts
    179 Views

    very cool. any plans for an import/export feature in the UI?

  • 0 Votes
    3 Posts
    152 Views

    @Pabla This post inspired me.

    After poking at this a bit I went a different route and have my MSR backing up to a Github repo. The only thing it's unhappy about is backing up the storage directory due to the sheer number of files so I circumvented that and have that directory tarred into an archive and then the archive itself is backed up. Github is happy, I'm happy.

  • Possible Typo/Correction in Manual

    2
    0 Votes
    2 Posts
    102 Views

    Yeah, that's a carry over from the Vera Reactor plugin (R4V)... the docs for MSR started from R4V and got edited, and I missed that. Apologies, but darned good sleuthing on your part to find the correct thing. You are awarded 10 XP!

  • 0 Votes
    10 Posts
    265 Views

    @Pabla The original Conditions were <= .25 whereas the working version had to be flipped to >= .25. That's what ultimately made it work.

  • 1 Votes
    6 Posts
    196 Views

    @gwp1 If your reactor folder is /home/user/documents/reactor your tar.gz file should be in home/user/documents. But thats not what the error is showing, looks like the Reactor update file isn't in .gz compressed format, I know with certain browsers like Safari they will auto decompress downloaded files.

  • 0 Votes
    3 Posts
    106 Views

    Hmm, looks OK to me, but I'm hardly an authority

    C

Recent Topics