Skip to content

# anyRemote

# Command Fusion iViewer support (experimental)

It is posible to use Command Fusion iViewer with anyRemote. iViewer is an application for iPhone and iPod Touch that allows you to control any hardware or software capable of TCP/IP Socket communication.

## Installation of iViewer

To install iViewer on an iPhone or iPod Touch, please follow the procedure below:

- On your iPhone or iPod Touch, open the AppStore.
- Press the 'Search' button in the bottom menu to access the Search page.
- Search for 'iViewer'.
- Select 'CF iViewer' from the search results.
- Press the 'Free' button, followed by 'Install'.
- Enter your iTunes Store account details.
- The device will then go back to the home menu and begin installing.
- Once finished, the CF iViewer app icon (house with blue background) will be visible.

## Edit anyRemote GUI file

Predefined GUI file can be found in .../cfg-data/Utils/winampgui.tar.gz archive file. You nedd to change hostname and commandPort in file winampGUI/default.gui to appropriate ones. Alternatively You can use Command Fusion guiDesigner to change it. This will require you to create an account.

## Upload Custom GUI file

The first option is using the Upload Service from within guiDesigner itself. Follow these steps to start the upload process using guiDesigner:

- Open the project you wish to upload in guiDesigner. Make sure the project or any of its pages are selected in the project tree view.
- Open the 'Upload Service' dialog from the File menu (F12).
- By default the upload service will use port 8019. To change this port, simply change the Port text box before starting the upload server.
- Press the start button. The connection details will be shown below the start button when the service successfully starts.
- Make sure the 'Upload Service' window stays open. If this window is closed the Upload Service will be stopped.
- In the iPhone/iPod Touch CF iViewer settings, change the GUI URL to point to the address as shown on the Upload Service dialog.
- Ensure the 'Reload GUI File' option is turned on.
- Close the settings and launch CF iViewer on the iPhone/iPod Touch, after ensuring the WiFi connection is connected to your local network.

The GUI file will then load and be cached onto the device itself. All aspects of the GUI file will be cached, including images. Once the GUI file has been cached, you can go back into iPhone settings and turn the 'Reload GUI File' option OFF. This will force CF iViewer to use the cache each time it is launched.

Another option of uploading the GUI file is to place it on any webserver, such as Crestron's built-in webserver, or any web host you may have access to. Then you can follow the above steps 6 - 8, but use the full path to the GUI file instead of the guiDesigner address. For example, http://mydomain.selfip.org/projectname.gui This has the benefit of still being accessible long after guiDesigner is closed, and allows you to make remote updates to a clients GUI by getting them to simply toggle the 'Reload GUI File' setting on their device. Ensure they also toggle it back off after the new file has been cached.

## Download GUI file to the iPhone/iPod Touch

Before launching the application, the settings must be entered. Otherwise the default built-in GUI will load, which attempts to connect a demo Crestron server.

- Open the 'Settings' application on your iPhone or iPod Touch (silver icon with gears).
- Scroll to the bottom and select 'iViewer' from the list.
- Password for anyRemote is default blank.
- Enter the URL to the GUI file
- If the connection requires a port other than port 80 (the standard HTTP server port), please enter it in the URL in the standard http://address:port fashion.
- If you want the GUI to be updated from the file path on every load (when making changes to the GUI for example) turn ON the 'Reload GUI file' option.

## Use it

Run anyRemote with -s socket:5000 -f /path/to/cfg-data/iViever/_some_file_ command line options. For example:

    anyremote -s socket:5000 -f ./cfg-data/iViever/amarok.cfg

You may find some configuration files in cfg-data/iViewer directory.

## Notes

Support of Command Fusion iViewer is still experimental, so configuration files can be omitted from distributed binary package. Anyway they can be found in source tarball (anyremote-*tar.gz)

Maintained by anyRemote. Website by m.lettner.