Coder Social home page Coder Social logo

user-lock-manager's People

Contributors

bhaggs avatar bigpunk6 avatar blebson avatar chrisgeiger avatar chuckpearce avatar davglass avatar dimitrirodis avatar dodger777 avatar ethayer avatar i4web avatar mnestor avatar myyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

user-lock-manager's Issues

How exactly do I use this?

There are two groovy files. Which one do a add and how do I access it from my iPhone? It didn't appear as a SmartApp even after publishing

500: Internal Server Error

When if publish and update from repo, encountered "500: Internal Server Error" with the following message. Any idea?

Error 500:Internal Server Error
URI /ide/app/doRepoUpdates
Reference Id 44538846-d0c4-4ce3-bf55-70f62a5a16f3
Date Sun Mar 12 21:23:04 UTC 2017

User code error

Trying to set user codes but I keep getting : Sorry, But there was an unexpected error .. And in my Live LOGS in "HELLO HOME" I am getting this : trace getPhrases(), state.welcomeIssue = null.

Power reporting inaccurate?

Using a Yale Touchscreen lock and User Lock Manager v4.1.5 and latest Device Handler (I think) and it reports 1% battery while battery seems still good. I rely on this since it's for Airbnb unit and def want to know when to replace batteries.

How can I debug this? thank you!

Jammed message

When manually locking or unlocking, I get a jammed message in the short time the lock reads unknown state. I suspect a short delay is needed to allow the lock a chance to change states.

Kwikset 910 functionality?

I noticed two Kwikset 910 deadbolts on the manufacturer website. Z-wave and Zigbee. which one works with lock code manager? I primarily need to use the scheduling function of lock codes

keypad working

Could someone please explain how the keypad section of this app works. I see where can I pick my keypad on my lock, and specify what routines to run, but its not clear how I can trigger these routines. I'd like to arm the Smart Things Home Monitor when the deadbolt lock is locked, and disarm when the lock is unlocked. Any guidance or explanation would be appreciated.

Welcome Home guest on Sonos, based on PIN they enter in Yale lock

Hi. Is it possible to read out a message specific for the user of a Yale keyfree, via sonos, based on the pin they enter to unlock the door from the outside?

And can there be a slight delay ensuring they have opened the door before Sonos reads out the message?

Thanks

Can't add codes to "empty" lock

I'm using this excellent app with my Kwikset 916.

I just spent an hour coming to this conclusion:

If the lock is empty (factory reset and no codes entered), then the app can not store new codes in the lock.

As soon as I program a code manually on the lock, then the app start working, and overwrites the code I entered manually. From then on all is good. But if you don't enter a code manually first, then the app will not store any codes on the lock.

Can no longer update User Settings

Hello,

Thank you for this great app. I'm using it with a Kwikset 914 and have never had any issues.

Until today.

I updated one of my 15 users and when I saved the changes, I got a permission error - something about 'you don't have permission to do that' (sorry, can't remember the exact wording).

It looks like the changes were accepted as I can see them in the app's activity list and I can see them in my User Lock Manager page in graph.api.

The problem is this: I can no longer get into User Settings on the app. When I click on it, the UI busy wheel comes up for a second or two, but then goes away and UI never takes me to the User Setting page. It just stays on the current page that shows the selected lock, number of users, User Settings, etc.

I tried rebooting the hub, restarting the app, and increasing the number of users. But I still cannot get into the User Settings page.

Any ideas? Thanks very much.

Paul

I am also getting issues with trying to get user codes stored

9:51:26 AM: error groovy.lang.MissingMethodException: No signature of method: static java.lang.Math.round() is applicable for argument types: (java.lang.String) values: [1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111]
Possible solutions: round(float), round(double), find(), rint(double), find(groovy.lang.Closure), random() @ line 310

java.lang.NumberFormatException: For input string: "" @ line 84

Version 3.7.7
IPhone 6: IOS 8.3
When I set the number of users to 10 and try to edit user 10, I get the error identified in the title and am unable to get to the page.

I looked at the replace all and it looks like the replace is causing issues. I changed the line to use a regex:
i = params.number.toString().replaceAll('.0','').toInteger()
to
i = params.number.toString().replaceAll(/.+$/,'').toInteger()

and
i = params.params.number.toString().replaceAll('.0','').toInteger()
to
i = params.params.number.toString().replaceAll(/.+$/,'').toInteger()

That appears to have corrected the issue.

Hope this helps.

Usage count not incrementing and SMS notifications not sending

Greetings - likely "user error" as I am extremely "novice". Everything appears to be functioning as expected however the usage count is not incremeting for any Users (I created 3 for testing) nor am I receiving texts to phone on events such as "on entry", etc. Lock is a Kwikset SmartCode 914 (so far loving the potential of your app by the way - it's exactly want I needed).

Issues I'm having with user-lock-manager 3.5

I have a Kwikset 914 with version 3.5 of the user-lock-manager device type and smart app.
I have programmed 8 codes, none of the codes begin with a zero, but it seems that one code (#7 in this case) doesn't work. If I program 9 codes, another random code does not work any longer.
I also don't receive push notifications on any of our IOS devices anymore since upgrading from an earlier version to 3.5
I cannot lock or unlock the door from the app anymore, the door randomly shows as unlocked in the app, and nothing is logged as far as who enters with what code when or how many times a code has been use.
Any idea's? Thanks

Hello, I'm new, I don't know what to do. Error code at save

Hi I am getting the following error after following the Scott in Pollack video. I deleted the info after preferences on the sample, then added the info from preferences on to the smartthings code area. I recieved these 4 errors when savings. I have a feeling this is something dumb I am doing, but I just can't figure it out. Any help greatly appreciated. I think this app is exactly what I am looking for!

org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:
script14461616595681943140158.groovy: 1030: unable to resolve class JsonSlurper
@ line 1030, column 20.
def codeData = new JsonSlurper().parseText(evt.data)
^

script14461616595681943140158.groovy: 1073: unable to resolve class JsonSlurper
@ line 1073, column 20.
def codeData = new JsonSlurper().parseText(evt.data)
^

script14461616595681943140158.groovy: 1173: unable to resolve class JsonSlurper
@ line 1173, column 18.
def codeData = new JsonSlurper().parseText(evt.data)
^

script14461616595681943140158.groovy: 1225: unable to resolve class JsonSlurper
@ line 1225, column 14.
json = new JsonSlurper().parseText(json)
^

4 errors

Can’t get hello home settings to work

Good afternoon,

First off love the app. Thanks so much for putting all the work you did into it.

No matter what I try I can’t get the hello home commands to work. I have a Schlage connect be 459nx lock. All other functions appear to work.

Do you have any advice on how I can resolve this issue? We would like to have our ST alarm arm and disarm with locking and unlocking.

Thanks,

Jeff

Device handler question

Hey Eric, what ST support told me was that to get good power reporting, I need to set the locks to "Z-Wave Lock" which is a generic handler that should handle normal commands to just about every z-wave lock out there. I was using a custom one, shown as "Z-Wave Lock Reporting".

Are there known issues using the generic handler for your app?

I'll pay you to make it work...

Hi I'm a landlord of student share property, I'm planning on buying the Yale lock in the link below. I would like to designate a code to each student valid for a date range and generate a temporary code for tradesmen. I would like to does this remotely. Can you tell me if this would be possible with the program you have written and if not can I pay you to make it work? You can contact me via email [email protected]

Cheers Chris

http://www.yalestore.co.uk/smart-living/keyfree-connected-lock.html

Multiple Notifications

Great App - thanks!

Small issue with the notifications. I have push notifications enabled for Lock events. If I manually lock the Kwikset lock I get one notification. If SmartThings locks the lock due to a Mode change I get two notifications. Am I doing something wrong or is this a bug?

Schlage BE469 scheduling does not work FYI

Just wanted to let you know if you are considering the Schlage BE469 deadbolt. ive tested it and the scheduling function of the app does not work with this deadbolt.

user instructions

Self-admitted box of rocks needs a walk-through how to use this. I find no user manual of sorts or tutorial video beyond that to install. How to I assign code and schedule when active? Help?

Setting User Code (You are not authorized to perform the requested operation)

When I click on user settings and then any of the user positions to set the code I get the following message "You are not authorized to perform the requested operation"

SmartThings Debug output is as follows:
3f56397a-5bcf-43dd-89de-257b92bb7180 ‎4‎:‎32‎:‎53‎ ‎PM: error java.lang.NullPointerException: Cannot invoke method isNumber() on null object @ line 259

I am using
Smartthings Controller
Windows Phone
Schlage FE599NX

Error on application addition

I tried to use the latest zwave code on SmartThings for my Kwikset 916 lock, but received the following error:
No signature of method: script14600577682451048174379.metadata() is applicable for argument types: (script14600577682451048174379$_run_closure1) values: [script14600577682451048174379$_run_closure1@299c1d61] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

I'm very new to github... any suggestions on how to remedy this?

Entered Codes in App - Can't get to Open on Physical Yale Lock

I've loaded the app using the code, and entered a couple users with their own code on app.

Now when I go to use the Yale lever lock touchpad... the codes don't unlock the door...

I'm new and have never used ST before. Please help, thank you.

Harlan

User Lock Manger Notification Setting

Good afternoon Mr Ethayer,

At first I would like you congrats you on this useful code. It's not much an actual issue, it's more like an update/upgrade or add-on feature to your current code.
I was wondering if there's a way you can update or guide me on how to update your user lock manger code so I can specify the way I am notify. It would be much more useful if it will only send notification on certain mode/routine (IA, Away, Night). Thank you for this great code.

Respectfully,
Damon

isUnique() error with maxUsers being changed from String to Integer

The recent change of the maxUsers input field from a String to an Integer introduced an error in the method isUnique(). Specifically, the references to newInt.toList() and newInt.length() (and the same for oldInt) should be updated to newInt.toString().toList() and newInt.toString().length(). I can submit a PR later if that helps, but this was easier/faster for the time being.

  def i = 0
  // Get a normalized sequence, at the same length
  newInt.toString().toList().collect {
    i++
    if (i <= oldInt.toString().length()) {
      newArray << normalizeNumber(it.toInteger())
    }
  }

  i = 0
  oldInt.toString().toList().collect {
    i++
    if (i <= newInt.toString().length()) {
      oldArray << normalizeNumber(it.toInteger())
    }
  }

Lines 420-435

No Actions?

Hello! Was using your app quite happily, and then something in my setup changed : I don't have the ability to add per-user actions, and when I go to "Global Actions (Any Code)" it's blank. It says Actions, with nothing beneath it.

Have tried:

  1. Deleting and re-adding app
  2. Deleting and re-adding my lock

I'm working with a Schlage lock, and it worked great before. Something changed this weekend, perhaps? Any thoughts?

Leading Zeros are Trimmed

Usable codes with zeros:
1-2-3-0
1-2-0-3

Zeros are removed if they're the first digit of the number:
0-1-2-3

Welcome Home guest based on PIN they enter in Yale lock

Hi. Is it possible to read out a message specific for the user of a Yale keyfree, via sonos, based on the pin they enter to unlock the door from the outside?

And can there be a slight delay ensuring they have opened the door before Sonos reads out the message?

Thanks

Manual Unlock vs SmartThings Unlock

ethayer:

As you know I added code for unlock notifications which you recently committed. I have found a small issue that I'm not sure how to address--maybe you know?

If you unlock the door via the SmartThings app, the unlock notification still reads (per my code) "The door has been manually unlocked." It's kind of a silly message when you either use the app to unlock the door, or SmartThings unlocks the door--do you know if there is a way to determine true "manual unlock" (via a key or hand-turn from the inside) vs an unlock that is actually triggered from SmartThings? I would like the notification to read "The door has been unlocked by SmartThings." Not sure if there is something in evt that would tell us, or if the device handler might need modification?

How to get scheduling to work? Please help

i tried the scheduling feature with a Schlage BE469 and it did not work.
So I bought the Kwikset 910 which is on the list of locks that work with the app
but i still cannot get the scheduling to work.

Is there a trick to it?

thanks in advance for any suggestions.

-john

Can't access user when it's disabled

set up a user to be active from sometime later this month, and expire next month. when going into the user again it shows the error "you are not authorized to perform the requested application" Live logging shows the following error.

 26661901-26c0-4c3e-874c-f0c148e0d37e  6:51:54 PM: error groovy.lang.MissingMethodException: No signature of method: script149117899475334945879.yyyy-MM-dd() is applicable for argument types: (null) values: [null] @ line 723

Cannot make changes to codes

I set up five codes a few weeks ago and have been using it with no issue. Yesterday, I changed the number of codes to six and went to add the sixth code. I got a "not authorized to perform...." error. Tried to make a change to the existing 4th code and got the following:

Logs show:

872d0213-561d-4a07-99ad-5b27fd38d648 10:02:10 AM: error groovy.lang.MissingMethodException: No signature of method: static java.lang.Math.round() is applicable for argument types: (java.lang.String) values: [4444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444444]
Possible solutions: round(float), round(double), find(), rint(double), find(groovy.lang.Closure), random() @ line 310

Code 6 attempt:
872d0213-561d-4a07-99ad-5b27fd38d648 10:01:36 AM: error groovy.lang.MissingMethodException: No signature of method: static java.lang.Math.round() is applicable for argument types: (java.lang.String) values: [6666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666666]
Possible solutions: round(float), round(double), find(), rint(double), find(groovy.lang.Closure), random() @ line 310

Any ideas?

Z-Wave Lock Reporting Device Type issue

I'm experiencing an issue with setting codes on Kwikset 916 Locks using the custom device type. When I switch to the the default Z-Wave Lock Device type I can set codes with no issues. However, on the z-wave lock reporting device type my logs look like this:

c56a0bee-b936-4291-943c-6b28b336507e  4:59:00 PM: debug "zw device: 03, command: 9881, payload: 00 63 03 01 00 " parsed to [['name':'codeReport', 'value':1, 'data':['code':''], 'descriptionText':Front Door code 1 is not set, 'displayed':false, 'isStateChange':true, 'linkText':'Front Door']]

c56a0bee-b936-4291-943c-6b28b336507e  4:59:00 PM: debug code report parsed to [['name':'codeReport', 'value':1, 'data':['code':''], 'descriptionText':Front Door code 1 is not set, 'displayed':false, 'isStateChange':true, 'linkText':'Front Door']]

6830d055-265a-49dc-a762-2942f326f4da  4:58:57 PM: debug state: [lastUser:1, userState1:[enabled:true, usage:0], lockc56a0bee-b936-4291-943c-6b28b336507e:[error_loop:false], error_loop_count:0]

6830d055-265a-49dc-a762-2942f326f4da  4:58:55 PM: debug Updating 'Locks' with settings: [userName1:Resident 1, userCode1:1234, userEnabled1:true, maxUsers:1, userSlot1:1, burnCode1:false, dontNotify1:false, theLocks:[Front Door]]

c56a0bee-b936-4291-943c-6b28b336507e  4:58:57 PM: debug setting code 1 to 1234

Do you know if SmartThings made any changes that may have broken your custom device type? Any help would be appreciated!

zwave-lock.groovy

When pasting this groovy file to make an app, I get the error:

No signature of method: script14397485816001646905943.metadata() is applicable for argument types: (script14397485816001646905943$_run_closure1) values: [script14397485816001646905943$_run_closure1@63283bd1] Possible solutions: getMetadata(), getState(), setState(java.lang.Object), metaClass(groovy.lang.Closure)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.