Managing Lock Codes without Groovy

Just following up. Any luck getting access to event.data?

The data property is there on the Z-Wave Lock Edge Driver in the next gen platform and has the codeId property in it (along with codeName and method = keypad). I won’t be able to get to it right away, but since the data is there the good news is it’s possible. :slight_smile:

Is that based event data from a subscription?

:tada: Update: ‘Extra’ event data is now available in production! Extra event 'data' properties

We’ve exposed the data attribute from events in beta - I sent you a PM with access. There’s a new ‘Extra Data’ option in Context Variables for Event → Device which will prompt you for the extra data ‘property’ that you are trying to access.

Like other context variables, you can use this in conditions as well as actions like notifications. In the case of door locks, it looks like common properties include:

  • codeId - which code ‘slot’ was used to unlock the door
  • codeName - the name of the code (if you named it while creating it in SmartThings)
  • method - indicates if it was unlocked with a keypad or manual

Yes, it’s based on event data from subscriptions

Could I be add to the beta :smiley:

Would like to test this feature!

1 Like

I would like that feature as well!

1 Like

@josh is this the argument structure your using to sent the codes using the API?

"arguments": [Slot,"Pin","Name"]

The commands are dynamically built with the Rule Engine. This allows for introspection of custom capabilities so we can expose the commands from those devices.

It also allows for customization of the order and type of arguments in ‘advanced’ mode when a command is ‘overloaded’ with different parameter types.

A post was merged into an existing topic: [BETA] Event extra ‘data’ properties

I just want to let you all know how useful these posts have been. My LUM died today and I lost all my lock codes trying to fix it.

The Samsung Smart Lock Guest Access isnt available in New Zealand.

I came across this chain, installed sharptools and was able to recode my locks in about 3 hours.

Thanks so much for your work and documenting this.

Richard

3 Likes

I would definitely like this feature as well. Can you add me to the beta please.

Thanks.

Hi Martin-
The ‘extra’ event data is available directly in production:

1 Like

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.