I disassembled one of our gate opener's remotes, and hooked the button contacts to Raspberry Pi Zero's GPIO pins. Pi runs a tiny go webserver and Cloudflare tunnel. I hit an obscure HTTPS URL (via button on a phone's homescreen), gate opens.
Basically, they had your setup exactly, but they leave the tab open in Safari and whenever they open Safari to browse the internet, the garage door opens.