Skip to content
  • Gradually turn on lights.

    Solved Multi-System Reactor
    21
    0 Votes
    21 Posts
    2k Views
    toggledbitsT
    @tbully said in Gradually turn on lights.: I'm having this same issue with a bare metal install. I assume this fix will be included in a future release? (No hurry. This is just a nice-to-have thing...) The 25208 build released yesterday includes the fixes in the temporary containers built for @vezinpi and others on this thread.
  • 5 Votes
    123 Posts
    69k Views
    toggledbitsT
    Reactor build 25208 Status page: fix an issue placing the widget adder tool the first time (i.e. on a new browser or after flushing cache/cookies). HTTP Request action now offers storage of the query response in "advanced form." This is a structure (object) that includes the response body as well as the response status, messages, and response headers. The simple form (store body or null) is the default and all existing HTTP Request actions will use the simple form response unless/until modified. Telegram notifications now support photo and video messages. To send a photo or video message, select the appropriate Message Format and place the URL or filename in the Message field. Telegram's limits for file type and size must be observed (refer to Telegram's documentation). HassController: Configuration for filter_entity now accepts regular expressions to match to entity IDs (i.e. it can now do pattern matching, not just match exact strings). Specify regular expressions in /regexp/flags form (e.g. /^update./i to match IDs that begin with update., case insensitive; flags are optional, and the only flag supported right now is i for case-insensitive matching). HassController will requery for service data if the lookup of service data from the startup query does not have the needed info. This can occur when an integration is not fully up and running when HA restarts -- HA will only report on services for fully running integrations at the time. The requery updates the service data for integrations that start later. HassController remove old entity mapping configuration that was preventing a mutable attribute (dimming.step) from being changed by the user permanently. Expressions: new geodist() extension function to compute Great Circle Distance between two points (presumably on Earth). See docs for details. Example: kilometers = geodist( lat1, lon1, lat2, lon2 ) HassController: Bless Hass to 2025.7.3
  • Can't customize home page

    Multi-System Reactor
    15
    0 Votes
    15 Posts
    908 Views
    G
    @toggledbits appreciate the quick turnaround on this. It def caught me off-guard.
  • Error After Upgrade

    Multi-System Reactor
    4
    1
    0 Votes
    4 Posts
    655 Views
    G
    @tbully thanks for putting a smile on my face today. Much needed. Much appreciated.
  • 0 Votes
    5 Posts
    963 Views
    R
    Seems to be working perfectly. Thanks! Should have thought of that myself.
  • 0 Votes
    22 Posts
    3k Views
    G
    @therealdb I use those as well. As you see in my AWAY rule there's a catch there using a virtual switch for my calendar integration. If a calendar entry has a specific keyword it turns the switch on. If the switch is on, AWAY knows not to fire.... VACA has it covered. @toggledbits beat me to it: comments, comments, comments. I've lost too many years off my life trying to remember why this rule does what it does and how.
  • 0 Votes
    3 Posts
    347 Views
    T
    That's fair. Thanks for answering with a workaround at least
  • Links to MSR from HA

    Multi-System Reactor
    1
    0 Votes
    1 Posts
    324 Views
    No one has replied
  • Set Reaction > Script Action

    Multi-System Reactor
    11
    2
    0 Votes
    11 Posts
    1k Views
    wmarcolinW
    @toggledbits said in Set Reaction > Script Action: each id in getEntity("groups>dgc_PushableButton_N0").attributes.sys_group.members: performAction( id, "x_hubitat_Refresh.refresh", {} ) EXCELLENT, IT WORKED!!! Thank you very much. I was already working on this script, based on the example at the beginning of this discussion, but I was using performOnEntity. each id in getEntity('groups>dgc_PushableButton_N0').attributes.sys_group.members: performOnEntity(id, 'x_hubitat_Refresh.refresh') Thank you very much for your help. Another lesson learned, and I am already putting more optimizations into practice.
  • Wiring Samotech SM308-S into light fitting

    Hardware wifi switches smart home
    2
    0 Votes
    2 Posts
    636 Views
    akbooerA
    What’s the difficulty? Does your switch wiring have a neutral? What country are you in?
  • 0 Votes
    6 Posts
    686 Views
    toggledbitsT
    Most controllers rebuild their entities when upgraded. Capabilities can change, and the new definition needs to be properly applied. Because you've chosen to add your own attributes to system-defined capabilities, those are not restored when the entity is rebuilt because Reactor knows nothing about them. In fact, to Reactor, they look like attributes from an old definition of the capability that have been removed from the most recent definition. As I've said before, your attributes will eventually be created when the event that writes them (layzspa/message), with a correct payload (e.g. { AIR: 123.456 }), is received by MQTTController. You can wait it out, or force the device to send those events. Or, you could do this the way Reactor expects, which is to define a local capability for yourself (e.g. x_mqtt_tunnus_layzspa) and define your own attributes for all of the things you need. Or, break up your single entity into multiple entities that use the system capabilities unmodified.
  • 🎉 My very first MSR controller: OpenSprinkler

    Locked Multi-System Reactor
    13
    5 Votes
    13 Posts
    2k Views
    therealdbT
    Version 25154 on GitHub: https://github.com/dbochicchio/reactor-opensprinkler No release, just download the code. Fix for station status and support for MQTT capabilities in OS 2.2.1. Still based on both HTTP/MQTT because the underline fw is still not 100% MQTT-ready.
  • 0 Votes
    5 Posts
    703 Views
    T
    @toggledbits, Well, I took a first step. I tried using the docker-compose.yaml file with podman-compose, but it gave me some issues. I fell back on just using docker-compose, and it worked with only a minor hickup. It told me the version tag was depricated and to remove it to prevent problems in the future, so I did so, and it's running without issue. Rules and reactions are working as before, which is fantastic. Reactor on my old server is stopped/disabled, so one more item crossed off. I'm hoping to have the old server fully decommissioned this weekend. At some point, I'll go back and try and get it running with Podman, if it's possible. I can engage their community and see if they have any advice, but right now it's more important for me to turn off my office heater going into summer. The other major advantage is that in theory, I won't have to manually update nodejs each release, which has been kind of a pain lately.
  • Z-Wave Future....

    Z-Wave.me
    5
    0 Votes
    5 Posts
    751 Views
    CatmanV2C
    Just bought a new one as well. Looks like it'll probably keep working as long as it doesn't become un-compatible C
  • Can´t restart or upgrade/deploy MSR

    Multi-System Reactor
    4
    1
    0 Votes
    4 Posts
    616 Views
    toggledbitsT
    @Fanan Great! A little more digging on my end, without a complete picture of your end, leads me to CORS. That is exactly the wording of an error I'd expect from CORS, and since HA Blue proxies for its add-ons, I'm betting that's where the issue lies. I don't know what that means for your (HA + Portainer) configuration, but I'd start with the Portainer add-on's support forums. This isn't really Reactor-related.
  • [Solved] Limit HA Entity in MSR

    Multi-System Reactor
    7
    1
    0 Votes
    7 Posts
    948 Views
    wmarcolinW
    @toggledbits While you're at it, could you add to Santa's list a request for a function that, when given two coordinates, returns the distance between them? I'll explain the use case: when Life360 worked on Hubitat, one of the variables was precisely the distance between the device and the point determined as the home. However, as I said, it hasn't worked for a long time. This was one of the reasons for installing Home Assistance, which works perfectly, but it doesn't have this information, so I had to do the calculation. I know, you're going to say what a horrible thing, what a mess, but it's working. I prepared a series of calculations, using the coordinates of my home as a reference, for my phone WIL and my wife's phone ADRI. The phone coordinates come from Life360. [image: 1747788334739-525b8ca4-86c2-424f-a3c6-6b11aba39730-image.png] Next, I have the calculations. [image: 1747788467055-391c3a64-dbf9-4a7d-b01c-2a583a6bc83f-image.png] So, I have the result. [image: 1747788504176-36c24be1-f4ec-426e-af61-485de33457de-image.png] I used this formula Python. from math import radians, sin, cos, sqrt, atan2 def haversine(lat1, lon1, lat2, lon2): R = 6371 # raio da Terra em km dlat = radians(lat2 - lat1) dlon = radians(lon2 - lon1) lat1 = radians(lat1) lat2 = radians(lat2) a = sin(dlat/2)**2 + cos(lat1) * cos(lat2) * sin(dlon/2)**2 c = 2 * atan2(sqrt(a), sqrt(1 - a)) return R * c # distância em km Thanks.
  • Disaster recovery and virtualisation

    Unsolved General Discussion
    5
    0 Votes
    5 Posts
    1k Views
    CatmanV2C
    Well after much trepidation, and some additional work, I think we are complete. After the successful virtualisation of my Home Assistant and Music Server hosts, and a successful POC of the main Vera / MQTT / MSR / everything else box I did some testing with a spare UZB stick to make sure I could connect it to the virtual host. With a long weekend ahead to solve any issues, this morning I bit the bullet and shut down the hardware device, moved the production UZB stick over to the NAS and spun up the VM. It was not entirely smooth as for some reason Z-way-server was saying it wasn't connected and AltUI claimed an authentication issue, but with some judicious restarts and testing, everything that I can think of to test now works! Some of the Z-wave commands from remote controls are a little slow, oddly, but I suspect the network needs to sort itself out as it's nearly two months 'old' Direct control from web interfaces / voice commands seems fine so I'm not overly worried. So, barring any unforseen failures, I have a fully virtualised system. Better even, when reading about the Synology range, I decided to source an older unit as a backup cluster device so I have some serious resilience Thanks for all the support an input! C
  • Remote access of Zwave stick from Z-wave server

    Software
    3
    1
    0 Votes
    3 Posts
    936 Views
    CatmanV2C
    For anyone coming on this later, you can't specify ip / port in Z-way server. You need to run socat on the z-way server host as specced here: https://forum.z-wave.me/viewtopic.php?f=3417&t=32593&p=83558&hilit=socat#p83558 If you're using ser2net you shouldn't need to use socat on the host that's serving the stick C
  • Organizing/ structuring rule sets and rules

    Multi-System Reactor
    5
    0 Votes
    5 Posts
    718 Views
    G
    @RHCPNG As @toggledbits notes, I've found myself bouncing around a bit. I've settled on what I call Shared Rules - those that impact all things potentially, at a base level. Wx stuff, HVAC stuff, etc. I kinda branch out from there. Interior lighting, Outdoor lighting, Presence, etc. Sorta using "topics" and then rulesets under them. I'm also linked to our local community center via site-to-site VPN and am using my home MSR instance to control the Hubitat C7 over there for lighting and outdoor fans
  • Moving MSR from a QNAP container to RP 5 - some issues

    Solved Multi-System Reactor
    5
    1
    0 Votes
    5 Posts
    873 Views
    G
    @Tom_D please mark issue thread as solved

Recent Topics