Skip to content
  • 0 Votes
    6 Posts
    513 Views
    CrilleC
    Thank you! toggle.toggle is back in business.
  • Apple Home Automation Issue

    How-To
    2
    1 Votes
    2 Posts
    611 Views
    CatmanV2C
    What is the trigger for the Apple Home automation? Any screen shots might help C
  • 0 Votes
    7 Posts
    777 Views
    M
    @gwp1 I have no doubts that MSR is a great tool for sure when you use more than one platform. But sorry I repeat myself... my goal is to only use Home Assistant in the near future and I will migrate step by step from Vera. If I can not do all automations in HA I will most certainly seriously consider combining HA with MSR. In the meantime I have found the answers on my question myself. http luup request to get values of sensor data/variables from Vera. Example for a rain sensor: http://192.168.1.xxx:3480/data_request?id=variableget&DeviceNum=xx&serviceId=urn:upnp-org:serviceId:RainSensor1&Variable=CurrentRain Within Home Assistant I created RESTful sensors to get the data in. And it works great.
  • [Solved] Migrating MSR to Docker on Proxmox

    Multi-System Reactor
    12
    2
    0 Votes
    12 Posts
    1k Views
    G
    To bring this all full circle, I had installed Portainer just to see what it was/did. Rereading the manual for MSR I stumbled across Portainer-specific instructions. Short story long, I deleted the original container and created a new one thru the Portainer path. Done in mere minutes, runs flawlessly and I don't need to worry about the docker-compose errors I was getting. Going to mark this topic as solved as all of the three issues were addressed.
  • 0 Votes
    6 Posts
    472 Views
    B
    Confirming that 25016 has indeed resolved the error. Thank you !!
  • 'Random' lights turning on

    Unsolved General Discussion
    12
    0 Votes
    12 Posts
    1k Views
    M
    Have you asked the wife? Mine likes to randomly turn lights on (never off!) just to get me confused Cheers Rene
  • 0 Votes
    3 Posts
    376 Views
    CatmanV2C
    That's fabulously clear. Thanks, as ever C
  • 0 Votes
    6 Posts
    483 Views
    cw-kidC
    OK thanks, I think that works! So I have two rules now the main 1st rule that detects Motion on the IP Camera and also a Virtual Switch must be True, those are the two triggers, this is the rule with the Actions in it. In the Constraints I am referencing the "Rule State" of the 2nd new rule and that must be False. [image: 1736462228983-ffb990d2-5b0f-419f-88e3-4cde28ed51b0-image.png] This is the new 2nd rule and I have just used the Triggers with the "Changes" operator. So if any of these devices change their state within the X number of Seconds the OR group will be True thus the 1st main rule would NOT run its Actions in that case. But if none of these devices have changed their state within the X number of Seconds the OR group will be False thus the 1st main rule would run its Actions. [image: 1736462331246-e972131c-82e8-44b6-819f-dfe9a217692a-image.png]
  • Reactor-Editor / Reactor-ui-Status Errors

    Locked Multi-System Reactor
    15
    0 Votes
    15 Posts
    1k Views
    V
    Thanks for the update and sorry about the timeout issue, I was not aware of it. Here is the requested rule: [image: 1735585296713-ac60b96d-b639-4baf-95d4-853332bc62be-image-resized.png] [image: 1735585469878-10cbe2e7-0af9-4ede-afa8-060b0f99befe-image-resized.png] [image: 1735585404289-f9282548-9462-4c52-a125-dc57fc9c3fa6-image-resized.png]
  • 0 Votes
    2 Posts
    388 Views
    toggledbitsT
    @vezinpi said in Reactor-Editor / Reactor-ui-Status Errors: Not sure that it is the same issue but just got this on built 24302 when running a reaction for testing purpose. Despite the error message, the reaction ran properly. That was fixed in 24343. The reaction apparently runs long (lots of delays?), so it was causing the API to time out waiting for the reaction to finish. All works differently in 24343 and beyond.
  • every X days field uneditable

    Locked Multi-System Reactor
    11
    1
    0 Votes
    11 Posts
    740 Views
    G
    @tunnus yes, the rule is working and @toggledbits indicated as such (that it would work) but he raised a potential issue regarding the crossing of midnight that I was asking about there being a better approach.
  • 2 Votes
    1 Posts
    241 Views
    No one has replied
  • Darker Reactor style

    Locked Multi-System Reactor
    11
    1 Votes
    11 Posts
    997 Views
    therealdbT
    small update to align to 24343. https://gist.github.com/dbochicchio/825098ac13b7f8cac22012eae37ff7ce
  • Which user to install nodejs as ? Debian Linux

    Locked Multi-System Reactor
    20
    1
    0 Votes
    20 Posts
    2k Views
    G
    @therealdb I have the hardware, just haven't had the time yet, to do exactly this.
  • OpenAI Controller for Reactor

    Locked Multi-System Reactor
    2
    2
    1 Votes
    2 Posts
    298 Views
    therealdbT
    Thanks to @toggledbits for guidance and the new option to capture response from actions into variables. It was quite fun to write this controller!
  • Thanksgiving lighting took a holiday

    Locked Multi-System Reactor
    5
    2
    0 Votes
    5 Posts
    502 Views
    G
    Ok, oddly, the correct lights came on last night.
  • [How-to] Managing holidays in Reactor

    How-To
    3
    0 Votes
    3 Posts
    436 Views
    therealdbT
    @gwp1 That's not too different from Easter. I have another virtual switch for the current program (as a string). it's set to default unless a specific program is found. My logic is quite easy: at 1 am, get the current holiday via webcal.guru/fixed dates. save it to a virtual entity. try to match current holiday with pre-defined light programs. save the value to a virtual entity. when dark, cycle every 15 minutes and randomize lights according to the current light program. For Christmas Time after Thanksgiving, you could set a virtual entity/global variable (Christmas Time) to true when it's Thanksgiving and run the corresponding lights only if both are not true. Then, the day after, you'll still have the variable/entity to true, but a different holiday. I have a fixed Christmas Time (1 Dec to 6 Jan), because that's the range we usually have in Italy, so it's easier for me. I was thinking of creating a specific Controller for Holiday Lights, integrated with webcal.guru or similar, but I fear what every one of us is doing is quite different.
  • Reference error - null object

    Locked Solved Multi-System Reactor
    4
    2
    0 Votes
    4 Posts
    485 Views
    toggledbitsT
    @tunnus et al, please don't post screen shots of code/expressions or logs. Screen shots often end up displaying at a reduced size that makes them very difficult to read. Just copy-paste the actual text and use a fenced code block. To the question, as @therealdb said, judicious use of the coalesce operators will generally help here, particularly if you apply local knowledge of the desired outcome. There's another one that's often helpful when working with sources for numeric values that can be occasionally null: The ?# operator will take any left side expression and convert it to a number or the value on the right side, so someexp ?# -1 would produce -1 if the value of someexp can't be converted to a number or is null or NaN. In other words, the general form somexp ?# altval is shorthand for do local t=float(someexp), isvalue(t) ? t : altval done You can use this to produce, for example, an "off scale low" value that wouldn't trip a "greater than" operator on a trigger for a temporary missing value on an entity. This would let you write your expression more tightly as: round( getEntity( "..." )?.attributes?.current_sensor?.value ?# 0 * getEntity( "..." )?.attributes?.x_hubitat_extra_values?.voltagePhase1 ?# 0, 0 ) Note that the ?# operator has higher precedence than the math operators (like * and +) so you don't need parentheses around the subexpression in this case. That said, if it's specifically zero you're after where there's a null, you may not need to do anything special, because the expression language follows the JavaScript semantics for null in arithmetic: null is treated as zero (e.g. null * 8 = 0 * 8 = 0 and null + 8 = 0 + 8 = 8). So this could be written even shorter as: round( getEntity( "..." )?.attributes?.current_sensor?.value * getEntity( "..." )?.attributes?.x_hubitat_extra_values?.voltagePhase1, 0 )
  • 0 Votes
    4 Posts
    490 Views
    therealdbT
    @gwp1 I removed the link. Let's see if @gregbowers is a bot or not
  • openLuup email server

    openLuup
    4
    0 Votes
    4 Posts
    883 Views
    A
    "AK: Your best bet would surely be to register a callback handler to listen for messages on a specific address?" Yep - that seems the most obvious method - just wanted to make sure I hadn't missed some other turn of events. With your own callback handler, you can clearly sort out any email encodings, etc. On the Doco - Goggle doesn't seem to index github io pages. Seems to me you need to have some sort of URL redirect, that looks like say https://smarthome.community/openluup, that would get indexed? ie via the web server set up or similar.

Recent Topics