I have a more general question. When accessing $args, how do you know what arguments are available. For example, I have a schlage lock, and playing looking at some posts of what I can do ive seen people use $args.usedCode to get what code was use to unlock the lock. how can I find out what other arguments i can get info from?
Try logging $args by itself and check the output for available values.