The garage door is not connecting to the pi... The pi will be using gpio to trigger a relay switch which emulates the pressing of the door button. And will read from gpio the position of the door based on some sensor that you would mount. If I could afford to replace my door with a smart door it’ll handle this for me…