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

ST did a really poor job explaining this GitHub integration. I am not even sure myself how it all works! I know @geko has it working properly because he has a Gihub repo (https://github.com/statusbits/smartthings). I was able to add his repo to my IDE and updated Numerous properly. What is weird is, I have an older version of Pollster, and it doesn’t seem to want to update that. Perhaps @geko can explain how this all works? See below screenshot showing Pollster is in Blue which means there is a newer version available. However, when I go to update from his repo, I get the other screenshot with Pollster not an update. Confused

I think as long as you create a repo with “Smartapps” as a subfolder in your structure with the code in it, anyone can pull from it. The fork was for everyone to pull the ST Public into their IDE I believe.

Tagging @dianoga and @jim for help on explaining GitHub integration.

1 Like

I’d recommend one of the many threads about it going on already.

And to answer a simple question, Bruce will need to rename his repo or create a separate one for his apps.

My recommendation is for Bruce to create a repo for each app, and push the apps there using his github integration.

But, it’s still the holiday, so I am leaving :wink:

3 Likes

Bruce,

I tried with the logging option turned off but I still receive a lot of power output readings within my activity feed. Any ideas why this could be?

Because power meters report frequently?

@bravenel You really did a great job with this app Bruce. :slight_smile:

1 Like

I finally made it to the end of the thread, now I can install the app! woooo

1 Like

lol thats how I felt a few days ago.

1 Like

Thank you. You should also check out Trigger Happy. I like to dogfood my apps: I have 11 rules, 26 triggers and 0 SmartLighting.

1 Like

Ok, please share… what all have you got set up???

I’m sitting here trying to figure out what to do with all of this power!

Ok I have one for you. I’d like to get rid of one of my smartapps, “enhanced auto door lock”. This app automatically locks my Schlage Touchscreen Deadbolt after a certain amount of time once my front door contact sensor is opened and then closed. There’s some logic in the code that unlocks the door if it’s locked while still open as well so I don’t accidentally close it with the deadbolt out. I’m trying to think how I’d duplicate this app’s functionality with Rule Machine or Trigger Happy. I’m pretty sure I can easily get it to lock when the door is closed while the lock is unlocked but I’d only want this to happen if I open the door and then close it. Say I unlock my door with my phone before I pick up groceries from my car and walk them to the house. I’d like it to stay unlocked until I open and close the door. This doesn’t seem feasible. Any thoughts?

Thanks!

This is an excellent post and example of negation logic. It took me several rule failures before I realized the obvious: to have something happen when >= 80 the negation test is not <= 80. it’s < 80 (or <= 79) {insert slaps-forehead smiley here} !!

Seems obvious in retrospect.

1 Like

F@bravenel Bruce, cannot thank you enough for this amazing app. This app saved me from creating 8-10 smart apps which I just did not get time creating. Amazing work!

The only thing if added, I think will address everything is - TTS. I know that it may not be working for some kow but all my Notify with sound Sonos smart apps seem to be trigerring just fine. TTS could be one of the triggers when a condition is met…Just a request…I know there were some requests earlier as well.

1 Like

I believe the functionality in ‘Enhanced Auto Door Lock’ that unlocks the deadbolt is actually for locks that do not unlock the outside lock when the inside lock has been unlocked. I don’t remember what these types of locks are called. It was not intended to have the deadbolt retract if you accidentally extract it again. This would only happen once at X minutes anyway. What if you extracted the deadbolt after the timeout? I spent a lot of time researching this because it didn’t make sense to me. I moved all of my auto-lock functions from ‘Enhanced Auto Door Lock’ to ‘Rules Machine’.

I accomplished what you are trying to do by having the keypad on the lock control a mode. In my case I change from Away (Armed) when the lock is unlocked to Home (Stay) mode and have the rule to lock the door only evaluated when in Away (Armed) or Home (Armed). In this case the rule will not re-lock the door whenever you are in Home (Stay) mode.

I almost think it would be easier if I setup a trigger in trigger happy for when the contact sensor closes and then having that trigger a rule in rule machine stating that if the door is unlocked, after 10 seconds, lock the door. I feel like there should be an easier way to do this though. The main reason it’s not easy is exactly what makes your setup kind of complicated, no one wants their door re-locking itself immediately after you unlock it.

Unfortunately, this isn’t working for me at all. That makes it impossible to test. Perhaps when ST gets their act together for TTS I could add something. In the meantime, can’t you just use a virtual switch to fire your Sonos app from a trigger or rule?

Thats what I am doing right now. But I understand your point. Lets hope ST addresses the TTS function soon.

1 Like

I forgot to ask this earlier. I am on a V1 hub, will I be recreating my rules when I finally get the V2?

Unfortunately, as things stand now, you will have to recreate all of your smartapps when you move to V2.

1 Like

I get ‘An Unxpectcted Error Occurred’ message on my Nexus 5 with Marshmallow when I set the rule on with a couple of conditions. Tried several times with the same issue.