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

Except for the case of a delay action, I don’t see how this could work. There is no guarantee is ST that things take place in a certain order, even if you launch them in a specific order.

Actions are just processed in some order that exists in the code, and has nothing to do with their order of selection. One should assume for practical purposes that they all just happen at the same time, in any order. Obviously, they are launched successively, but the order should not matter to you – that is, it would be a mistake to assume some order.

2 Likes

Whatever they are using in Smart Lighting for “Turn on and set color” works with both Hue and the Fibaro RGBW controller (for LED strips). I would think those 2 devices cover the vast majority of color deployments.

2 Likes

You’re right, no way to ensure an order. But your release with rule linking will ensure an order to things.

Fyi, I had rule machine fail to fire this morning for the first time. It had nothing to do with the app, but everything to do with the SHM bring a part of the total routine. It seems that when an app tells SHM to disarm it screws up everything. Changing modes seems to be just fine, but disarm seems to be causing havoc.

This is fantastic!

On the color front, there is a color capability and an associated setColor method. Docs are here: http://docs.smartthings.com/en/latest/capabilities-reference.html?highlight=setcolor#color-control

9 Likes

UPDATE:

There are a few feature requests that I’d like to deal with, and here’s an update on one of those:

Linked Rules:

Linked Rules are already possible with Rule Machine. All you have to do is to create a virtual switch in the IDE (or use a real one). For the rule that you would like other rules to refer to, make that switch both an Action for True (turn it on), and an Action for False (turn it off). Then any other rule that wants to link to the first rule simply includes that switch as a Condition.

There have been requests for 3 different “trigger” mechanisms for Rule Machine, beyond what is presently available: using a Momentary Button, using a Minimote button, and using a Routine.

You can use a Momentary Button as a trigger to cause an evaluation of the Rule. Someone had a problem with this not working. The trick is to only use the Momentary Button as a Condition, but not as part of the Rule. That way, when the Momentary Button is pressed, the Rule is evaluated. It won’t matter to the Rule what the state of the Momentary Button is after it is pressed.

Were I to implement a Minimote button press, or a Routine, as triggers, they would work the same way. All they could or would do is cause the Rule to be evaluated. I’d like to hear some feedback about whether this is really needed or not.

As for additional feature requests, I am starting a new topic specifically for Rule Machine Feature Requests. Please post feature requests and ideas there.

4 Likes

I’m confused as to how I update the App without losing my current rules. Any help?

All you do is copy the source for Rule from Github, and paste into your IDE copy of Rule (do not Publish). Your existing rules should be fine. If you have a really old version, you may need to go into your Conditions and hit Done, but otherwise, you should be fine.

Oh great! Another thread for me to watch! :wink:

1 Like

Any of you guys using smart rules? I paid for the damn app the day before this game out, and from the hype I’m assuming rule machine is much better right? Any benefit using smart rules or jump on the bandwagon?

Rule Machine is great. Period.

Incredible this was able to done in an app without integrating with a 3rd party cloud.

Bruce is closing the loop on some clean up items to deliver complete functionality.

Advantage = In ST, no 3rd Party Integration Required. 3rd party integration = less reliability and security concerns.

Rule Machine, however, is not as intuitive to build rules out as I found SRBuilder, YET.

You’re right about that. You have to learn to ignore most of the “sub-rule for right?” inputs. It isn’t pretty. But, on the other hand, you are given the power to create an arbitrarily complex rule. With that flexibility comes some UI entanglement. There is no way around it if you want that degree of flexibility.

Looks like all my rules are gone. I pasted the new rule code over old rule code. But I also pasted the “Rule Machine” over the old “Rule Machine Manager” code. Am I just screwed at this point?

Yep that’s what i figured there will be days I can see smart rules trigger a command and nothing happened. Rule machine here I come thanks Bruce!

I don’t know, but yea, probably. You wiped out the parent app, so I don’t know what became of its child apps. Maybe they are orphans now? No last name, no home, just floating in ST space somewhere?

Thanks Bruce, this is a killer app, I love it.
Guess I’ll be starting over :disappointed_relieved: But like a new relationship, it’ll be better this time around.:wink:

I agree with you Bruce. With power and flexibility comes complexity.

And in ST App will never have the advantage of web based drag and drop type rule building like SR Builder.

But there also some questions that come up here continually and I also have had struggles with. The concept of triggers does make the behavior and outcomes more intuitive, or predictable, for the many new users. The proposed use of momemtary buttons is to support linked rules adds functionality beyond what SR Builder can do, but their use for minimotes and other types of input while workable adds complexity and is less intuitive.

Don’t get me wrong. I am all in. I killed SRBuilder links two days ago. But I can see where a whole league of ST users will end up on easy street, because of the learning curve.

What I suspect will happen is we will see improvements in that regard from yourself and the community at large over time, as this is a brand new release - already extremely popular as it’s power has been long desired and improving every second.

1 Like

When the parent in uninstalled, all the children are uninstalled.

1 Like

They’re both good. :sunglasses:

Since you already have smartrules, use it. If it does what you need, it does what you need.

Remember smartrules was only available for iOS, while rule machine also works for android.

I find the UI for smart rules easier to use, but that’s not Bruce’s fault, that’s because of the SmartThings mobile app which is not voice friendly.

You can even end up using both if you want. Just use whatever works best for you for each case. Choice is good. :sunglasses:

2 Likes

Kind of like going back in time and uninstalling a person’s grand parents?

1 Like

If I could do that, there’d be a few ex-wives I’d like to uninstall…

6 Likes