I am moving from Vera to Smartthings. On Vera I have a a Siri shortcut that goes through my Airbnb booking and grabs the last 4 digits of the guest’s phone number and then programs my Yale pushbutton lock (through vera REST API) with this code.
On Smartthings, I can’t seem to figure out the correct REST command to do the same thing. Devices that are simple on/off are easy:
curl --request POST
–header 'authorization: Bearer *****
–header ‘content-type: application/json’
For a z-wave lock? Does anyone have an example for SET, GET codes??? Also, looks like scheduling code expiration is not possible in the provided DTH, is that right?