Openport.IO - notkevinjohn/PiGarageDoor GitHub Wiki

If you are looking to make this garage door opener work over the internet, there is a simple and free (for limited use) service you can take advantage of to do it. https://openport.io/

This service can be easily installed on your Raspberry Pi. It will automatically contact a remote server and provide a pathway by which the device can be reached. This takes away the complication of having to deal with things like port forwarding and getting a static IP address.

When you are running your ssh command over the local network, it will look something like this:

ssh [email protected] 'garageDoor.py'

This approach requires you to be on the same local network as the Raspberry Pi. If instead, you run the ssh command over the internet with openport it will look more like this:

ssh [email protected]:1234 'garageDoor.py'