Good idea, seems like alot more wires going to the relay than I would think you need. But it looks like the author is using an older RPi (original one I think) in this project, so this could be a good way to us some of those older RPi’s you have kicking around. Not so sure I like using a simple webpage to open/close the door thought.
https://www.makeuseof.com/tag/automate-garage-door-ifttt-raspberry-pi/