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.
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.
Is it tomorrow already?
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.
Fixed⊠Got to redo Rule from Github
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.
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!
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.