Future Rule Machine Requests

I find rule machine to be very limited. I would love to get the functions in WebCore for Hubitat. maybe an advanced version of Rule Machine.

I love that when using ST & WebCore, I could make very complex rules, I find that with Rule Machine, I can't create the rules I need.

Is there any thought to getting with the WebCore maker and get a port for Hubitat, or make your own version like it?

Really?! I have now ported almost all the rules I had from ST, Ok I have one or 2 that i still need to finalize but everything works. Are you using 4.0? Nested IF's, while loops, conditional gates global variables what more do you need?

This has already been done search it on the forum. Just be aware although the latest port is very stable and work's fine, it was originally designed to be ran in the cloud with almost unlimited resources. The hub has a limited resource so follow the guidelines about keeping certain things is GV to a minimum or none.

Other thing to note is WC is no longer being developed as the original developer now work's for ST. Where as RM is constantly being developed and is jumping leaps and bounds with every release.

Try asking for help creating one you don't know if is possible. You may be surprised. :slight_smile: There's also no reason to cram everything into one rule. What was one piston could be to rules (though there's less of a need for that now than there used to be), and there's nothing wrong with that--sometimes it's even better that way (multiple triggers on the same rule can get confusing).

You might also be interested in learning how to write apps. RM and webCoRE are designed to spare you from needing to, but the reality is that neither is useful unless you can think like a programmer (basic boolean logic, etc.). So you're already halfway there if you aren't already--the biggest difference is that these apps will save you from syntax errors and other mistakes.

Ok here is a rule I have in Webcore, I would like to be able to recreate it in HE but is over my head.

Would love help creating it in Rule Machine. (See pic below for what it looks like in webcore)

So what is does is once the system changes to alarm on,
it the sets a status message that the system is armed ,
then it checks specified door contacts to see if any are open, if any are open it adds the the status message that doors are open and list what ones are open,
and then it checks specified window contacts to see if any are open. if any are open it adds the the status message that windows are open and list what ones are open,
and then it checks to see if any door locks were left unlocked, if any are unlocked it adds to the status message with what is unlocked. (If any locks are left unlocked it trys to lock them)

if the system changed to disarmed it sets a status message that the system is disarmed.

Then at the end is send the completed status message to two numbers (mine and my wifes)

If this can be done I would need a detailed walkthrough not basic info. I have several others in webcore via smartthings I still have also, but this one is them most complicated, others are similar but less complicated.

I haven't used HSM in a while (swear I'm going to set it up on my hub again...), but I really think it will do a big part of this for you: notifying what is open when the system is going into armed mode. I think it even prevents you from arming if this is the case.

That being said, this looks like a bit of a challenge, but I think it's possible now that Rule 4.0 supports local (or any, I guess, but might as well...) variables and allows you to perform operations (e.g., string concatenation) on them. I'd need a bit of time to try some things, so maybe someone else will be more adventerous sooner than I will be. :slight_smile:

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.