I am curious the best way to go about this. I want codes for my lock only to be available when a presence sensor is detected. I imagine something like in away mode, clear codes. When arriving, program the code to that user.
Let me know if you think its feasible to combine those options or even if I am thinking about it all wrong.