I’m using the Apple Shortcuts app to speed up creation of PINs on my Yale lock. I’m not a developer, but I know enough to be dangerous.
I use this command to program the lock:
I then take the returned UserCode and try to create a restriction that will expire the code on a certain date (for Airbnb guests).
The problem is I don’t know how to query the lock to know if it’s ready so the second command will Error with “lock not ready.”
The question is: what’s the command to see if the lock is ready OR should I just keep trying every few seconds until Error is not returned?
I tried using http://:3480/data_request?id=jobstatus&job= to get the status of the job that was returned, but it always returns -1