You need to replace x.x.x.x with the Hub’s IP address that you can find in the IDE (my hubs > Hub’s details.
To copy them into a file, you need to:
Select the text in the console, right-click and select “copy”.
Then, in a text file right-click and tap on “paste”
Note: In Windows, it might be hard to copy the text if the command is still running, this is because the console itself tries to scroll down automatically to the last line in the log. To stop the command, you just need to use ctrl + C.
@nayelyz I have finally got the CLI installed and running. I have sent the create lock code command, however when I attempt to get the log using the supplied command. I get an error saying it timed out. As of now in my current location I know the Internet is not very good. I will re-run everything once I get home and back to a better internet connection and will report back from there. Thank you being patient and so helpful. Hope you’re having a wonderful day.
I’m bumping and tracking this, as this is a pretty significant issue with the stock Z-Wave Lock Edge driver. I’m hopeful @nayelyz will be able to get resolution.
My experience is the same as yours in that I’ve found that the setCode command, as described in the CLI:
setCode(codeSlot, codePIN, codeName)
completely ignores the codeName. The only way I’ve found to set the codeName is to use the nameSlot command instead:
nameSlot(codeSlot, codeName)
That provides a rather clumsy workaround as it requires two commands to set both a code and give it a proper name, but even with that workaround, there is another problem, because the data returned upon a keypad event is wrong. Instead of using the codeName established by the nameSlot command, the response creates it own, as shown in this partial snipped where “Weekend Guest” in incorrectly presented as “Code 1.”
This creates an issue when creating Rules intended to provide accurate notifications of keypad events, or to be able to act on those events based onthe user name (i.e., when the name contains “guest.”)
Sorry about the delay.
It isn’t clear yet, the emitted event doesn’t contain the identifier code1 and contains the value “Test code” in your case. I reported this to the engineering team, I’ll ask them to see if they need more info to analyze it.
For now, could you give us access to your account, please?
Select the time period and confirm - In this step, please select “Until turned off”, once the team finishes, we’ll let you know so you can disable it again.
Thank you for sharing your case as well, @bthrock. I’ll let you know in case we need more info.
I assume the Groovy Platform will still be shutdown 31 Dec regardless of the fact issues persist? I run a rental home so need the ability to control lock codes.
On the 1st Jan if I cant use smartthings I’ll need to buy a new solution, and thats a great advert for smartthings
You can use the Smart Lock Guest Access App to control codes and guest access. The issue in this thread relates to API access for rules and other implementations.
I can have a condition for lock. However, I need an extra condition to tell who is it.
I am looking into lockCodes since it’s the only one looks like something I can use.
The lockCodes look like
The API doesn’t give you a lock code. It will only give you the slot of the code that was used.
Slot 1 Jake code 1234
Slot 2. Dan code 4321
So when you lock or unlock using the keypad it will say 1 or 2 depending on the code used. However if the lock is locked manually it reports back manual. The item your looking for in the capability is codeid.
This is a json I have sent from Sharptools to my phone showing the lock information
{ "thing":"Front Door Lock",
"attribute":"lock",
"state":"unlocked",
"method":"keypad",
"codename":"",
"codeid":"6"
}