If you were standing on the upstairs landing when the door opens, it would be easy.
You can be.
You just need to stand there while your past self presses the button.
In other words, first press the button before using the prototype.
Then, hide in the upstairs landing while your past self presses the button.
When the door opens, go through.