For everyone wanting to do something similar, please consider not using a raspberry pi for something a simple as controlling a light/garage door and take a look at ESP8266 or ESP32 boards (which have wifi onboard), there's tons of tutorials online, and the price tag can be as low as $3.
You cannot but the RaspberryPi chips, while you can very much buy all the BeagleBone Black chips and make it yourself, if necessary.