Probably you should be a bit more precise on what you like to achive.
I think this topic relates only to start a scene and not generally to actions?
Also I do not understand where the PIN should be coming from. If I understand you correctly the PIN should be in the configuration? So what is the use case for that if the user do not have to enter the PIN each time? Then you can just remove the PIN protection?