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

This is awesome @bravenel - thanks!

It works great for me so far… and, interesting side-effect - when you removed the unschedule() from the code, the ‘stuck’ rule I had that I couldn’t even delete in the IDE was finally able to be removed… clearly, my unDeclaredThrowable was coming from the unschedule in the code.

Yeah, I just happened to see one in the logs yesterday, and it was coming from a line with unSchedule on it. Hello.

1 Like

For the life of me, I can’t figure this out. On my version of the IDE, under My SmartApps, there is no “Settings” tab. There is a “Enable GitHub Integration” tab, but when I click it, I get an error message

"Oh No! Something went wrong!
Error: 500: Internal Server Error
URI: /ide/apps
Reference ID: d2711eec-f9d2-4569-99ad-454053cbbea0

Frustrated :anguished:

The IDE is crashed right now. It’s been going up and down for 10 or 15 minutes.

1 Like

Yep, I can’t even bring up a list of smartapps or device handlers…

Is there an easy way to transition from a manually entered version of the code to the Github version, without having to recreate all my rules?

Adding the repo is fine, but i can’t work out how to link the existing smart apps to the github repo?

Apologies if this has already been covered somewhere else . . .

Thanks

Gareth

I think that when you put my repo into Settings in your My SmartApps, that it will magically discover that you already have the two apps: same namespace, same app name.

Enable Github integration first, then put my repo in Settings.

As a complete noob to Github - I just linked @bravenel github - I can vouch that it’s easy. Once the new repository is added, just hit UPDATE and IDE will ask to confirm which ones. As Bruce says, it magically discovers it.

Hey, but don’t forget to click that little publish box at the bottom…

I was like 4 versions behind until I figured that out

Done, was super easy. Thanks!

I am trying to remove a Thing, but ST shows it being in use by RM. I checked through my rules and do not see this Thing in use. How can I remove the thing with out removing RM?

On the IDE, RM shows my Thing in the Settings section as a value.

Did you have this Thing previously in a Rule?

Go to edit details for Thing in your mobile app (3 dots upper right). Select SmartApps. If RM or a Rule is there, click on it, and deselect Thing, then hit Done.

If that doesn’t solve the problem, send me a PM or send an email to support@smartthings.com.

First of all, thank you for all the hard work you must have done to make this comprehensive rule machine.
Im trying to get a hang of it, but I gotta admit Its a little to much for me to get my head around for a few more difficult tasks.
PS: I have gone through all the info, but still.

If you could give me a little heads up with this specific rule I would love to get working, hopefully it starts to make more sense for me for future tasks.

What im trying todo is this:
When my Atv (harmony remote activity) run (apple tv + tv), I would like to have the lights / bulbs (TV lys livingcolors and TV lys gulv) ON If the illuminance from sensor “Tvstue” is less then 3.
If the illuminance is more then 3 I dont want the lights on.
I also have a table lamp, which I would love to have dimmed all the way down to 40% when harmony activity “Atv” is running, and 90% when Atv activity is off .
But the thing is, If I run the routine “Netflix” I would love to have that table lamp all turned off.
If theres no motion on sensor “tvstue” for 1 hour, it should turn off the harmony activity.

One more thing, does rule machine override routines? or vice versa?
Thank you very much for all the help I can get.

When using rule machine, is it necessary to defined an action for false? Or isthat optional

My conditions are times of day and days of weeks to activate my routines.

If true then my routines are activated. Do I need anything for false?

@bravenel I’m setting up to automatically update Rule Machine according to your instructions. A question: when enabling Github integration, do I need to clone the forked repository?

http://docs.smartthings.com/en/latest/tools-and-ide/github-integration.html

Or can I update without installing git on my local machine and going through that process?

No, you just need to add his repository.

No, if the trigger fires and the rule evaluates to FALSE, then nothing will happen. Simple as that.

Thanks. And then to update, I would click “update from repo”?

Correct. Check the files you want updated, check publish, and you’re off to the races.

HI there
Thanks for the great work on Rule Machine. Tried it for the first time last night and was having some great success so then proceeded to setup a time or virtual switch type of rule. Either virtual switch is on or time is xx:xx trigger on that. I also wanted it to turn the state (of the virtual switch) to off if the criteria hit FALSE.

I set this up last night to trigger this morning and it didn’t fire. I check the Rule and it shows the conditions are TRUE currently so not sure why this did not trigger the actions. For reference this is running on the iOS SmartThings app.

Any ideas on what I may have done wrong with this ? Thanks

Quick breakdown of the rule:

Define Trigger
Virtual Switch on or When time is 8:50 AM

Define Conditions
Time between 8:40 AM and 8:00 PM (wanted this to only be able to action within certain time)

Define a Rule
Time between 8:40 AM and 8:00 PM

Actions For True
Dim x Room to 100
Dim Y Room to 100

Select Actions for False
Off Virtual Switch