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.
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?
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} !!
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.
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?
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.