Now that we have successfully controlled the relay through the interface, we will explore ways to access this interface from anywhere.
For this, we will use Ngrok. This is a simple utility that enables its users to test local hosts with remote APIs. Through Ngrok, collaborators can overcome firewalls and access TLS connections.
It is an easy-to-use service, which requires no sign ups.
The Ngrok service will open up a tunnel between your local board and the Web. Then, you can access the interface from anywhere, anytime! It should be noted, however, that it doesn't work with the Galileo as of the time of this writing.
So, we will use our own computer as a relay instead, establishing the connection between the Web and your Galileo board:
To do so, we first download the Ngrok files from the following URL:
Now, if you are using Windows, double-click on the file to unzip it. If you are using Linux or OS X, go to the folder where you have...