Just cleaning up a few more bugs but the DTH seems good to go. Yale locks and their non conformation to the HA 1.2 standard gave me some trouble. Not the cleanest solution but it works.
I have added a link to the code here
for some reason hello home phrases are not running even though my lock is correctly saying User x unlocked lock locally. what can cause the phrase to not run?
the codes are assigning nicely etc so not really sure what else I might be doing wrong
cheers
Hi All,
I am working on getting Event history from lock devices and display it in Mobile.
For Ex: The Main door locked by John Lewis
The Main door unlocked by John Lewis
- How can i get the user information or the user ST Account name
i want to know who invoked the lock action.
For Ex: user - John Lewis
I want to display in mobile like, The Main door locked by John Lewis
Looks like the original developer of this app hasnât logged in for some time.
Curios if there are alternatives ?
Here is one but itâs part of the larger set of apps available for a fee:
Forgive me if this is a repeated question. But it looks like every 2 minutes I get 2 events on my device. Is there a reason for such a frequent polling timeframe and what exactly is it looking for when that happens. I have a Kwikset 916 and the code setting and locking unlocking has been working great. Just curious as to the polling.
Thanks for any help!!!
has anyone looked into a way to get alerts for wrong codes? I see its been mentioned a few times but never found an answer
Hello, I am brand new to SmartThings (Iâm an Iris convert)⊠I paired my Schlage BEXXX series lock last night and followed the directions in this thread to add the custom DH and App. I get no errors and the app DOES control the lock when I ask it to (unlock, lock, scheduled lock/unlock, etc.) But, I get repeated alerts that the app cannot send any codes for the 5 users I set up in the app to the lock. I just get repeated alerts reading: âFailed to set code for XXXXXâ (replacing XXXXX with the 5 names of the people/codes Iâve entered).
Iâm not sure how to collect the logs to post here.
Any help getting my lock set up again would be great!
Hi All, Been using Lock Code Manager for awhile now and I have realized that @ethayer does not seem to check in here on his baby. Just wondering if anyone knows what happened.
For me, it still seems to work fine so maybe it was just a case that he felt his work here was done? Either way, Erik, thanks for the SmartApp.
It is in the api for the Schlage locks at least. Someone would just need to implement it.
I seem to be having a problem with scheduling codes. I have one app with my code and a friends code that has access 247. Then I have another app setup, third slot for our cleaning lady. I only want to grant access to them on Wednesdays when they come. No matter what days I select, or if I select them all, as soon as I select any day her code will not work. I have to leave it blank period. Anyone else have this issue or am I going about it the wrong way? Thanks!
I am noticing that I can see when a user uses their unique combo to unlock the door (notification: âFront Door has been unlocked by bobâ), but when they lock it with a unique combo I donât get the userâs name (notification: Front Door has been locked"). Any idea why that is? I am using kwikset 914.
I did some minor debugging and found the spot in the smartapp where these notifications are published. It seems to be that variable evt.data (which contains user code details) doesnât exist in the locking state but it does in the unlocking state. Iâm not sure if thatâs a problem with the app not creating it or if the lock doesnât provide it (seems likely the former). I wish I could ask @ethayer because I imagine this would be easy for him to answer but it looks like heâs gone. Anyone else know?
Does the 914 have the one button lock feature like the 916? If so, that may be a reason why itâs not sending back anything. I donât know for sure but the lock may not care who locks it as long as there are codes stored.
I donât think it has the one-button lock feature â I can choose to lock it from the inside by turning the âdialâ, using the app, or from the outside with the combo or a key. I added some code in the part of the smartapp which sends the notification for the âFront Door has been lockedâ to check if the variable evt.data exists and it does not. evt.data does exist when the door is unlocked. It doesnât matter if I lock it with the combo, app or dial. I am thinking maybe the smartapp doesnât populate the evt.data variable in the lock scenario (but does in an unlock).
Make sure youâre checking if the evt.value is âunlockedâ
You should be able to access at least the following from the lock:
$evt.name, $evt.value, $evt.displayName, $evt.data
So if you wanted to see if the door got locked youâd do ( psuedo code because iâm tired lol )
if (evt.name == "lock") {
//Check if the value is unlocked
if( evt.value == "unlocked"){
if ( evt.data == "" ) {
//got nothing from the lock so you can't display or notify any data
}
else{
//grab data.usedCode so you know which username to get
Integer x = data.usedCode
//retrieve the user name that for code slot stored in X...look through current smartapp code and you'll see an example to retreive
//log.debug The username that unlocked the door
}
}
}
I can access evt.data in the unlocked state, no problem. but I want to
access it in the locked state. the present code doesnât try to read
evt.data in the locked state and it appears the variable isnât populated at
that time.
If what I posted earlier doesnât work then your lock is probably not compatible. The pseudo code should look for the unlocked action. Meaning when a door is locked and gets unlocked. Not the other way around.
I have Kwikset 916âs and they are compatible.
You could also check out Rboyâs Lock Manager. Itâs a small fee for access to his smart apps but they work pretty well. The lock code manager is worth the price of admission
Get Outlook for iOShttps://aka.ms/o0ukef