Skip to content

Multi-System Reactor

785 Topics 7.4k Posts
  • Format a value from date to epoch in MSR

    Locked
    4
    1
    0 Votes
    4 Posts
    204 Views
    toggledbitsT
    Already done!
  • Execute HAAS command via MQTT

    Locked
    7
    1
    0 Votes
    7 Posts
    303 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
    2k 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
    473 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
    472 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. https://www.home-assistant.io/integrations/utility_meter/ https://www.home-assistant.io/integrations/trend/
  • Run MSR on Hubitat C7?

    Locked
    3
    0 Votes
    3 Posts
    254 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
    1
    0 Votes
    12 Posts
    458 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
    2k 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
    213 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
    375 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
    698 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. [image: 1639090661344-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
    596 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
    231 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
    361 Views
    DesTD
    @toggledbits Let me check in the plugin
  • Question about triggers and rule state reset

    Locked
    4
    4
    0 Votes
    4 Posts
    236 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
    719 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
    1k 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
    212 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
    1
    0 Votes
    4 Posts
    222 Views
    toggledbitsT
    That problem is likely the process's umask being applied, and that can't be controlled from within Reactor.
  • Multidimensional Array

    Locked
    28
    0 Votes
    28 Posts
    2k Views
    wmarcolinW
    @toggledbits Well, you put me to think a lot, I'm reviewing all the logic and I think progressing. You could have a video lesson on Creating Automations > Expressions I am looking to meet this with trial and error. I just tested this on Groups and it worked perfectly, it will help: "internal_move": name: Internal Move Devices select: - include_entity: - "vera>device_1679" - "vera>device_1683" - "vera>device_1797" - "hubitat>1" - "hubitat>14" filter_expression: > entity.attributes?.motion_sensor?.state == true Now from your last comment about the MSR visualizing the HSM, I really don't know what I have to do, the Safe Monitor you commented appears, but it is all Disarmed. [image: 1638328770300-c5e7919e-b0a8-4cda-ab8b-3732df49463c-image.png] But in the HSM in the hub the rules are created, activated, and even with action alert activated. [image: 1638328832770-759e9d15-f591-4ec6-87dc-d5e40bbe5810-image.png] Any recommendations on what I should do? Thanks,

Recent Topics