Control a switch

I hope this is not a duplicate.

We have a switch at work that controls the front door, when someone pushes on the switch the door opens.

Would it be possible to control the switch remotely using Xojo and the Raspberry Pi?

Are there any tutorials?

Thanks

Use one of the GPIO with an LED examples and just swap the LED for a relay that will act as the switch.

a $3 esp8266 module programmed like an arduino to be a web server
and any device that has a navigator in it can switch on and off
xojo and a raspberry is way overkill ( and overpriced) to do just that…

https://www.openhomeautomation.net/control-a-lamp-remotely-using-the-esp8266-wifi-chip/