HH4 provides a simple and efficient way control the grid-panel of Usine in a web page on Internet or in a local network.
make the remote port opened
Usine will use a web socket, on the port defined in the setup-panel-tab-network (80 by default), to communicate with the Internet web page. This port must be opened on the Usine's computer but by default your router will probably block it. The first thing to do is to add a NAT rule in the router configuration to open the remote port.
Go in the setup-panel-tab-network and activate the enable remote control option.
Notice the remote ID string (
A1WRDI in this example), which will be used for identification.
By default, the remote port is 80 but you can change it in case of conflict.
You have also the field remote control connected witch is ON when Usine is remotely connected.
Inside a patch you can use this field with the usine-setup-settings module to know if usine is connected.
Go to http://www.brainmodular.com/remote.html and enter the remote ID of the computer you want to connect to, ie.
Then, click on connect. If everything is ok (especially if the remote port is opened), the web page will connect to Usine and you'll be able to change the current grid position within the web page.
You have to enter the file location in the response file field in the setup as shawn in the following screenshot:
The best tip is to use the example remote.html as starting point for the response page.
The file is also available in
/resources/Remote folder inside the package of Usine.
version 4.1.201021 GWPD birthdayEdit All Pages