I have a Schlage touchscreen deadbolt and would like it to be able to arm my garage tilt sensor when it’s locked and disarm it when it’s unlocked. ( by turning the knob inside or entering a code outside) My Vera 3 was able to do this easily.
I have a Schlage Lever lock and I use Smart Lightning app to turn on the kitchen light after sunset when I unlock the door. You might be able to use the same app to arm or disarm the sensor.
I am just curious why you want to arm and disarm the sensor. Are you using it as part of a security system?
This is doable, but it will require some custom code at the moment because smart home monitor doesn’t currently check if your lock status is locked or unlocked. Clearly it should, so it seems likely that it should have this capability in the future, but there’s no specific time line for it so I don’t know if you want to wait to see if it shows up in the standard choices.
If you want to go ahead with custom code, that’s less complicated than it sounds because other people are already doing it. So it’s mostly a matter of copy and paste what they did into your own account.
The following FAQ explains how you use someone else’s custom code.
If that sounds like something you’d like to go ahead with, let us know, and community members can help point you towards the pieces that you need. I’m pretty sure that everything you need already exists in the community, but you will have to publish the various pieces to yourself before you can configure your set up.
Like many things in the SmartThings, this is neither into intuitive nor straightforward. But it is possible.
Before we go any further down this route, are you using a US model hub? Or a UK model?
The reason I ask is that there are third party apps that do provide rules engines which are much more similar to the one which Vera has, and which fill in the gap for a lot of people who don’t want to fool with code. But right now these are not working for the UK model hub.
Two Sets of Rules: One for “sensor triggers siren when system state is armed” and one to Control when the system state changes
You will have two system states: one where the garage door sensor can trigger the siren, and one where it doesn’t. You can either use the overall system state called “mode” or you can use the smart home monitor “armed” state. You’ll set up a rule so that the garage door sensor opening triggers the siren only when the system state is Appropriate to do so.
Then you will set up two more rules that control when the system state changes. If you use mode, it might be “home” when you unlock the door and “away” when you lock it. Other people will be able to help you figure out what to is if you get stuck.
You can actually do all kinds of combinations with this. You could have System state change for many different reasons, time of day, who is home, whether it’s cold out, change it manually, etc. and those parameters can be combined into one rule or spread out over many.
The concept is easy, it’s getting the rules set up that takes research
Since you are in the US, there are two third-party rules engines that make setting this up pretty straightforward. The authors of both participate regularly in the forums, so you can ask questions and make suggestions.
You may still need a custom device type for the lock. But after that the rules set up should be intuitive with either of these as long as the features are supported.
The first one has been around longer and has more options. However, it’s IOS only, and it is a paid app of about nine dollars. Lots of features. I’m pretty sure your use case would be very easy to set up. You purchase it through the regular App Store.
I like both of these. And, no, I don’t know why the official SmartThings mobile app doesn’t come with something like this built-in. Obviously these guys have proven it can be done. Maybe it’s just the fact that these often still require custom device types, and smartthings is waiting until that requirement is removed?
Sorry the answers for these have to be so long. Smart things is a very powerful system that lets you do a lot of complex stuff with many different devices of different protocols. But the process to get everything set up is often complex.