Rule machine - as per the app developer, this app is no longer available for new installs, distribution, or support

Is the parent app same as what @Mike_Maxwell posted or did you make changes?

There are minor changes, things like the app name. So you should get both files from Github. And there are significant changes to the main app, now called Rule.

4 Likes

This is so great. Thanks @bravenel.

I had a question about the best way to do one thing I’m trying to. Maybe this isn’t possible with Rule Machine.

I want to set a particular mode (Mode A or Mode B) depending on two conditions, Presence and the current mode.

For example:

If Presence arrives and mode is “Home”, set Mode to Mode A.
If Presence arrives and mode is “Away”, set Mode to Mode B.

Unfortunately I have to define the Home and Away modes as part of the condition of the rule, so the rule is triggered upon a mode change to Home or Away in addition to the presence arriving.

For example, is I am already at home (therefore my presence is active) and I set the mode to “Away”, then the mode is immediately changed to “Mode B”. My desire would be that only a presence change would trigger the rule, but that the condition would still be available to be checked.

i.e. If presence arrives while mode is “Away”, set Mode to Mode B.

Does that make sense? Should I be looking elsewhere?

you should be able to use Rule Machine for this. (if Presence, AND mode is away, set Mode to B) 
but you’d have to do something slightly different to catch ‘arriving’ not just ‘present’

Great. That makes perfect sense. I already had the virtual switch created and was heading down that road I just wanted to be sure it was the most logical option.

I think that if I had mode restrictions in Rule Machine, so that the rule is only evaluated if not restricted, that would allow you to do this with two rules, as you suggest.

Mode restrictions are now implemented. With a mode restriction you can limit rule evaluation to only occur during certain modes. This is completely independent of the rule logic, and is applied first, before the rule is evaluated.

2 Likes

Is it tomorrow already?

3 Likes

When I define turning a switch (Aeon Labs Smart Switch) off when a temperature sensor (SmartThings Latest Multi Sensor) reads <= 32 degrees and then indicate that as the TRUE state and then go to click on the Select the Actions for False state to define .I am presented with “You are not required to perform the requested operation”

I want the False Action to be to turn a switch ON. I have it setup for one Condition.

Android version of Latest SmartThings App being used. If I use the back button to try and get around the issue and then click done I am presented with the swirling circle icon that indicates its “working” , but never comes back to the screen. Just trys to save indefinitely.

Yep, you stepped on a bug. It works for true, but not false. I will fix shortly. It’s not an Android issue.

2 Likes

Fixed
 Got to redo Rule from Github

1 Like

I got everything installed just fine, and while creating my first rule I got distracted. I came back to the Smartthings apps a while later and now when I try to view my rule I get the “You are not authorized to perform the requested operation” error message.

Thoughts?

All I can think is you should uninstall it, and start over with it. Don’t know why that would happen.

Thanks, that did it, I tried to recreate the problem without any luck.

1 Like

I just got this installed and I have to say, AWESOME!!!

This is going to replace a lot of the things I have installed already!

2 Likes

I just tried the latest “Rule” and it crashes with “An unexpected error occurred” The original “Rule Machine” works fine.
I am running on the older SmartThings android app v1.7.6 Build 170600

All I can suggest is to uninstall everything and start over. AFAIK it is working on Android, but I have no means at the moment of testing it.

@bravenel, is it possible for the app to set SHM to Arm/Disarm? Or should we use a routine for that?

I’d love to completely do away with routines and use on this app
 Even being new I’m betting it’s going to be more stable than the routines are right now!

I haven’t touched SHM, so I don’t know how to Arm/Disarm. But, if that’s easy to do, that could be added as an Action. I just need someone to tell me how it’s done.