Skip to content

Multi-System Reactor

746 Topics 7.1k Posts
  • This topic is deleted!

    1
    0 Votes
    1 Posts
    19 Views
    No one has replied
  • Format a value from date to epoch in MSR

    Locked
    4
    0 Votes
    4 Posts
    148 Views
    toggledbitsT

    Already done!

  • Execute HAAS command via MQTT

    Locked
    7
    0 Votes
    7 Posts
    206 Views
    therealdbT

    Yeah, I know that feeling.

    So, right now I'm on week 2 and I've completely removed every plug-in from my Vera and moved most of them to HomeAssistant (or my own code). MQTT is doing great, and now I'm sending my TV commands via HA bridge, then to a wrapper aggregating them for MQTT and pushed via MSR to HA. It seems complicated, but it's pretty fast. Bonus point, I have a nicely formatted MQTT message from MSR when Harmony Activities are changed.

    Next week I'll work on my solar integrations (my installer was slow due to bad weather, so we will switch the system on next week), but I've already pushed a couple of things via MQTT.

    I will eventually move other things to HA and use the MQTT trick to execute services from other part of my logic. Thanks for the work!

  • 0 Votes
    26 Posts
    1k Views
    G

    @toggledbits I'm marking this as solved because I watched a couple of the rulesets WIA this morning as the day's temps ramped up.

    Thanks for your incite and guidance as always, sir!

  • A couple of suggestions for MSR

    Locked
    10
    4 Votes
    10 Posts
    321 Views
    wmarcolinW

    @toggledbits

    Surely in an election between all users, this is the most important "a tool to see where I'm using an entity, as trigger or condition". You have already explained before the difficulty, and that the effective use of a DB would help this crossing of information, but the cost of the DB is still high and can sacrifice a lot of the system.

    One day you will find a way to #1 MSR request.

    I would add one more request, that I have commented on before and I am sure you have in your notebook of improvements for the future. In the home screen, the same way you have the Recently Changed Entities board, a board that can show the history of what happens in the Set Rules, so it would be possible to follow the last actions.

    And again and repeat "Thanks for the hard work @toggledbits" !

  • Plugin InfluxFeed - Selecting Capabilities for Export - how to

    Locked
    11
    0 Votes
    11 Posts
    363 Views
    N

    Thanks to you!
    The fix is working.
    Now I can truck energy consuption on Influxdb. The idea is to try to make in MSR what in HA is doing with utility_meter, Trend and Lovelace UI togheter. Maybe in future we will see a standard MSR energy plugin too.

    Home Assistant Utility Meter Utility Meter

    Instructions on how to integrate the Utility Meter into Home Assistant.

    Home Assistant Trend Trend

    Instructions on how to integrate Trend binary sensors into Home Assistant.

  • Run MSR on Hubitat C7?

    Locked
    3
    0 Votes
    3 Posts
    199 Views
    LibraSunL

    Kinda where I figured things stood, and by all means, stay the course! About to sell my unused Ezlo Plus now, btw.

  • [Solved] suninfo.sun_angle usage: showing -218.7 mid-day

    Locked
    12
    0 Votes
    12 Posts
    316 Views
    toggledbitsT

    OK. In playing with this a bit more, I'm going to make suninfo.sun_angle go away (eventually; after a deprecation period), and it's replacement will be a soon-to-come suninfo.elevation. The elevation is the true angle of the sun above the horizon. Unless you live on the equator, the sun is not really at 0 degrees at solar noon, as sun_angle indicates. For example, right now for me in the Atlanta area at this time, solar noon gives me an elevation of just 33.5 degrees (summer solstice about 80 degrees). I think the true elevation will be a better metric for solar energy calculations, and in combination with azimuth, you should easily be able to compute ray angles/exposure to solar panels and good things like that.

    The other things I'm fixing is that our friends in Prudhoe Bay and Tromsø are getting incorrect day lengths, etc., right now because the sun never rises at this time of year. The sunrise/sunset times are null as expected, but the day length is 24 when, IMO, it should be zero, and the sun_angle is null which is again not as useful as having a real elevation.

  • Is Telegram working?

    Locked
    27
    0 Votes
    27 Posts
    1k Views
    F

    @toggledbits No, I guess we shouldn't spend any more time trying to understand. It works and I'm delighted. I do appreciate that you try to teach us fishing instead of handing the fish. I always try for hours before I ask for assistence. That's the way to learn and grow. Take care!

  • 0 Votes
    4 Posts
    143 Views
    toggledbitsT

    I'll get after those docs... you're not the first to be bitten.

  • [MQTT] Echoing Vera's variable

    Locked
    9
    0 Votes
    9 Posts
    286 Views
    therealdbT

    Yep, I'm calling Vera to get the status in my system and update my internal data. MQTT is used to push the updates and it's working very well. I've noted your points and I've updated my config. I'll update the MQTTController build later tomorrow. I'm just testing all my changes in production today, to be sure everything's working.

    I've also added reactor_system>* to the published controllers, and I'll use sun information later when working on my new automations based on solar.

  • Switching from Vera to Hubitat

    Locked
    9
    0 Votes
    9 Posts
    550 Views
    wmarcolinW

    @gwp1

    I really don't know if I did something very wrong, but I consider myself an experienced person, so what I am witnessing in my Hubitat is making me extremely worried.

    See the report below that I just ran, 31 nodes failing.

    633ffbae-3cb8-4f34-8300-f88914027483-image.png

    You comment about leaving Reactor that I'm sure was happy, and now using MSR, this opens up a huge universe of possibilities, I'm really a fan, I just hope to have a hub at the same level as MSR.

  • Is it possible to send notification via Gotify from "Notify" action?

    Locked
    6
    0 Votes
    6 Posts
    460 Views
    therealdbT

    @toggledbits yeah, accounting the different kind of styles is hard, but I think this is a specific use case for advanced scenarios, so I’ll trade it for a less advanced ui.

  • 0 Votes
    5 Posts
    173 Views
    toggledbitsT

    @gwp1 said in MSR: run for two hours based on a condition, then wait 4 hours after the reset evaluating again:

    @toggledbits When using pulse does it do a re-eval of the triggers to see if the reaction should be run again or will it simply rerun the reaction again?

    Well, in a manner of speaking. You're thinking about it backwards, I think. It doesn't need to re-evaluate conditions at the pulse time because the condition state is always up to date, being updated when events within them occur. But I think it works as you would expect: as long as the underlying condition is true, the pulses continue; when the condition is no longer true, no more pulses.

    Whether the reactions run depends on the other logic involved, but if we take the simplest case with the only condition in the rule being a repeating pulsed condition, then the rule will set at the start of the pulse (and run the Set reaction), reset at the end of the pulse (and run the Reset reaction), and repeat those reactions for each pulse.

    Ref: https://reactor.toggledbits.com/docs/Condition-Options/#output-control-options

  • 0 Votes
    7 Posts
    293 Views
    DesTD

    @toggledbits Let me check in the plugin 😉

  • Question about triggers and rule state reset

    Locked
    4
    0 Votes
    4 Posts
    168 Views
    cw-kidC

    I didn't mean to offend you Patrick if I have, I was just trying to work out why Meshbot rules weren't working as I expected, I like to keep an eye on what they are doing and test some of their functionality. But if you don't want to answer the question that's fine, I won't ask again.

  • Using `format()` to build notification and other strings

    Locked
    14
    4 Votes
    14 Posts
    524 Views
    LibraSunL

    Looks good, though I swear you might be missing a closing parenthesis at the end?

  • [SOLVED] All Modes not visible in MSR 21337 from Hubitat

    Locked
    22
    0 Votes
    22 Posts
    742 Views
    toggledbitsT

    Thanks for doing the footwork, being the hands and eyes! Sorry for the trouble. Onward!

  • [SOLVED]"Pulse" output used with "Sustained for"

    Locked
    4
    0 Votes
    4 Posts
    173 Views
    V

    The translation might not be perfect but, your efficency is really out of this world...

    Thanks.

  • [SOLVED]Logfiles with root user/group on Raspberry os

    Locked
    4
    0 Votes
    4 Posts
    171 Views
    toggledbitsT

    That problem is likely the process's umask being applied, and that can't be controlled from within Reactor.

Recent Topics