Skip to main content

iRidi for AMX

iRidi for AMX transfers AMX TPDesign4 projects to mobile devices and extends them to control any iRidi-compatible equipment. Description

Documentation updated 11.1.2022

Description​

iRidi for AMX provides tools for visualizing AMX control on iOS, Android, Windows, and Mac. iRidi loads an interface created in TPDesign4 (AMX) onto any device. You can add third-party equipment control to the AMX visualization or control several AMX controllers simultaneously.

The controller sees iRidi as an AMX TouchPanel, requiring a unique Device ID. No TP4 preparation is required before loading it into iRidi.

Tip
  • Supports AMX NI and NX series controllers and AMX TPDesign4 projects in *.TP4 format
  • Supported commands:

@PPM-, @PPN-, @PPF-, @PPX, @PPA, @PPK-, @PPG-, PPON-, PPOF-, PPOG-

@APG-, @CPG-, @DPG-, @SSL-, @SST-, @SWK-, @AKP-, @AKR, @PKP-, AKEYB-, AKEYP-, AKEYR,

BEEP, DBEEP, ABEEP, ADBEEP, @SOU-, ^MUT-, ^VOL-, @BRT-, BRIT-, ^RAF-, ^RFR-, ^RFRP-, ^RMF-, ^RSR-,

^SHO-, @SHO, ^ENA-, @ENA, ^BSF-, ^BSM-, ^BFB-, ^BML-, ^BPP-,

^BSP-, ^BMC-, ^GIV-, ^GLH-, ^GLL-, ^GSC, ^GSN-, ^BOR-,

^CPF-, ^APF-, ^DPF-,

@PWD-, ^PWD-,

^TXT-, ^BAT-, ^UNI-, ^BAU-, ^ANI-, ^BMF-, ^BCB-, ^BCF-, ^BCT-,

^BWW-, ^BRD-, ^BSO-, ^BDO-, ^JSB-, ^JSI-, ^JST-,

^ICO-, ^BMP-, ^BOP-, ^BBR-, ^TEC-, ^TEF-, ^FON-, ^BMI-,

OLD: BTON, BTOF, !B, !T, TEXT, @TXT, !F, FONT, !I, ICON, !C

Tip
  • Supported interface items:

    • Page, Popup
    • General, multi-state general, bargraph, multi-state bargraph, joystick, text input
  • Licensing allows purchasing one license for all iRidi control panels working with 1 controller, or separate licenses for each mobile device.

AMX TPDesign4 instructions​

Basic iRidi use involves loading a project created in TPDesign4 onto a mobile device WITHOUT using iRidi development tools.

  1. Open the *.TP4 project in iRidi Transfer

Close the project in TPDesign4 if open; otherwise, a file access error occurs.

SampleImageText

  1. Configure controller parameters in iRidi Transfer

The *.TP4 file does not contain the AMX controller IP address or other parameters; configure them:

Transfer TP4 Settings

  • Host: AMX controller IP address
  • Port: TCP control port (always 1319)
  • Login: Login for a secure session
  • Password: Password for a secure session
  • Device ID: Unique panel identifier (Panel ID); must not be duplicated across panels
  1. Assign different Device IDs if multiple control panels are used

A unique Device ID is required because connecting several control panels to AMX with the same ID causes controller errors.

Settings that may be unique are in the control panel properties (Panels tab):

Transfer TP4 Advansed-Settings

  1. Synchronize iRidi Transfer and control panels

Steps for uploading your visualization interface to a control panel:

TransferringSteps

Details:

Additional capabilities​

TPDesign4 patch​

The patch lets you create interfaces at iPad, iPhone, Android, and other resolutions. Width or height must not exceed 2000 pixels: a TPDesign4 limitation that does not apply to iRidi.

AMX Patch

Changing connection settings​

You need to change connection parameters when you disconnect from the automation site's Wi-Fi network and start using 3G or another Wi-Fi network. For control to continue working, switch from the local IP address to the Internet router's public IP address.

Switching is not automatic; press the connection mode selection button. Remote access requires exposing the automation system control ports through Port Forwarding on the Internet router. A VPN can provide a secure connection.

Embedded AMX configuration interface​

A special interface can be quickly integrated into your *.TP4/TP5 project for initial and ongoing controller connection configuration. Its appearance can be changed in iRidi Studio (colors, language, images).

Amxandsetupprojectui1

Amxandsetupprojectui2

Tip

Adding the connection configuration interface to your *.TP4/TP5 project:

  1. Download and install iRidi development tools on your PC, then start iRidi Studio.

  2. Open the *.TP4/TP5 project in iRidi Studio.

  3. Open Setup AMX Connection.irpz in iRidi Studio.

  4. Drag Setup AMX Connection onto your project to merge them automatically:

    AMX1

  5. [Optional] Click [JS] on the iRidi Studio toolbar and review the default AMX driver settings in the script, starting at line 16. This step can be skipped.

  6. Save the AMX project as an *.irpz file. It can be uploaded to the iRidimobile website and used on control panels.

The interface opens automatically when the project first starts. Later, open it by swiping right to left on the project's main page (iOS and Android; gestures do not work on Windows).

The AMX controller can open the interface using the page-opening command "Setup AMX Connection".

Connection parameter command in TPDesign4​

The command can run in a TP4 project or be sent from the controller.

IR_PARAMETERS-<host>,<port>,<login>,<password>,<panel_id>

  • <host> is the AMX controller IP address
  • <port> is the TCP control port
  • <login> is the login for a secure session
  • <password> is the password for a secure session
  • <panel_id> is the unique panel identifier (Panel ID); must not be duplicated across panels

Example called on a button press (Command Output):

IR_PARAMETERS-192.168.0.100,1319,,,10001

IR_PARAMETERS-192.168.0.100,1319,Admin,Admin,10001

AMX IR PARAMETERS

Example called from the controller: send_command dvTP, "'IR_PARAMETERS-192.168.0.100,1319,Admin,Admin,10001'"

URL schemes (links, launching applications...)​

URL schemes can launch third-party applications, send email, and open websites.

Command syntax (TPDesign4):

IR_EXECUTE-<string>

<string> is the command string to execute. Its format may differ according to the OS running i3 pro

Examples:

  • IR_EXECUTE-http://iridiummobile.net/ opens iridiummobile.net in the browser
  • IR_EXECUTE-music:// opens Music on iOS

TPDesign4 example:

AMX IR EXECUTE-TP4

Netlinx example:

BUTTON_EVENT [10001:1:0,1]
{
PUSH:
{
send_command 10001:1:0,"'IR_EXECUTE-http://iridiummobile.net/'"
}
}

Dynamic lists (IRLB)​

An iRidi dynamic list (List) is a project item that builds a scrollable list in an AMX project from one popup template. Items are added and removed while the project runs.

The controller command sets the item count, limited by the list base settings. Special commands can change the template content in an individual list item: text, color, and images.

Detailed instructions >>

iRidi Studio instructions​

iRidi Studio is a GUI editor for modifying an AMX visualization or creating one from scratch.

Reasons to use iRidi Studio instead of TPDesign4:​

  1. iRidi Studio can connect to several AMX controllers simultaneously.
  2. iRidi Studio does not restrict project resolution selection. TPDesign4 does not allow manual resolution selection.
  3. JavaScript simplifies logic creation directly in the visualization project. JavaScript can send controller commands and control graphical interface items.
  4. Besides AMX, the project can control any equipment compatible with iRidi, including AV equipment, media servers, etc. This is convenient for multiple systems because it requires no changes to the controller program.

Modify a TP4 project:​

Open a TPDesign4 project in iRidi Studio and modify it as required. Once modified, it cannot be converted back to TP4, but can be used on any iRidi panel.

Create a new design​

On the website of iRidi Mobile, you can purchase or download a free GUI for a future iRidi project. It cannot be used in TPDesign4.

If you plan to modify only the graphical part of a *.TP4 project in iRdium Studio, see the editor's graphical capabilities.

To create the graphical interface and configure AMX control, use these instructions:

Connecting to AMX​

Create a new project in iRdium Studio or open a *.TP4 file. Open Devices and add the AMX driver. Configure its controller connection:

AMX2

  • Host: AMX controller IP address
  • Port: TCP control port (always 1319)
  • Login: Login for a secure session
  • Password: Password for a secure session
  • Device ID: Unique panel identifier (Panel ID); must not be duplicated across panels

Configuring variables​

To standardize work with different equipment, variable configuration in iRidi differs significantly from TPDesign4.

In TPDesign4, variable numbers and commands are specified in the graphical item's Programming settings. Level parameters are configured there as well.

In iRidi Studio, create an address in Devices (Commands and Feedbacks) and drag it onto a graphical item. Specify whether pressing, releasing, or moving the item activates the command. The address then appears in the item's Programming settings.

Quickly creating a variable list​

Variables and graphical items are initially separate in iRidi. With the AMX controller project, identify the required variables and quickly create this list in iRidi:

AMX3

This creates 50 variables with Channel Port: 1, Channel Code: 1...50; Level Port: 1, Level Code: 1...50. Variable ranges can be created in several steps.

Channel​

Equivalent Channel variable settings in AMX TPDesign4 and iRidi Studio, using Item Type: General (Button) with default settings:

AMX4

In TPDesign4, specify Channel Port and Channel Code in the graphical item's Programming settings.

In iRidi Studio, create an address in Devices (Commands and Feedbacks) and drag it onto a graphical item. Set When pressed: 1, When released: 0, and Assign feedback channel so the item works like an AMX button. The address then appears in the item's Programming settings.

Tip
  • Data: Internal in iRidi always sends the same value specified in the variable settings (true or false).

  • If the item should respond to Channel changes without sending commands, drag the Channel variable from Feedbacks onto it and select In value

Level​

Equivalent Level variable settings in AMX TPDesign4 and iRidi Studio, using Item Type: Bargraph (Level) with default settings:

AMX5

In TPDesign4, specify Level Port and Level Code in the graphical item's Programming settings. Level parameters are configured there as well.

In iRidi Studio, create an address in Devices (Commands and Feedbacks) and drag it onto a graphical item. Select When pressed, When released, When moved, and Assign feedback channel so the item works like an AMX level. The address then appears in the item's Programming settings.

Configure level parameters on the General tab.

Tip
  • When creating an iRidi command (Commands tab), also create a feedback (Feedbacks) so variables work correctly. Quickly add a feedback through the right-click menu.

  • If the item should respond to Level changes without sending commands, drag the Level variable from Feedbacks onto it and select In value

String​

Equivalent String transmission settings in AMX TPDesign4 and iRidi Studio, using Item Type: General (Button) with default settings:

AMX6

In TPDesign4, specify String Output Port and String Output in the graphical item's Programming settings.

In iRidi Studio, create a command in Devices (Commands) and drag it onto a graphical item. Select When pressed and enter the string to send so the item works like AMX. The command then appears in the item's Programming settings.

Tip

To send several strings, drag the command onto the item the required number of times and enter the strings.

Command​

Equivalent Command transmission settings in AMX TPDesign4 and iRidi Studio, using Item Type: General (Button) with default settings:

AMX7

In TPDesign4, specify Command Port and Command Output in the graphical item's Programming settings.

In iRidi Studio, create a command in Devices (Commands) and drag it onto a graphical item. Select When pressed and enter the string to send so the item works like AMX. The command then appears in the item's Programming settings.

Tip

To send several commands, drag the command onto the item the required number of times and enter the commands.

Address​

Equivalent Address settings in AMX TPDesign4 and iRidi Studio, using Item Type: General (Button) with default settings:

AMX8

In TPDesign4, specify Address Port and Address Code in the graphical item's Programming settings.

In iRidi Studio, create a command in Devices (Feedbacks) and drag it onto a graphical item. The command then appears in the item's Programming settings.

Driver tokens​

Driver tokens are read-only variables returning AMX connection information. Drag a token onto a graphical item to display its value.

AMX9

  • Online: AMX connection state (Online/Offline = 1/0)
  • Status: AMX connection status (Offline/Connect/Online/Disconnect = 0...3)
  • Host: remote system domain name
  • HostPort: remote system port to which iRidi connects
  • IP: control panel IP address
  • HostIP: IP address of the remote system connected to iRidi
  • Port: local iRidi port for AMX communication
Tip

AMX TPDesign4 has no equivalent of Project Tokens or System Tokens. System Tokens provide the date, time, and other parameters of the panel running iRidi. Project Tokens are local variables storing numbers, strings, or arrays between application runs.

Synchronizing with a control panel​

As an integrator, you can quickly run the visualization interface on a control panel: smartphone, tablet, or PC. Install i3 pro and sign in with your iRidi Mobile integrator login and password.

Use i3 pro for iOS, Android, Windows, and Mac in test mode, loading projects through iRidi Transfer (integrators only):

iRidi Transfer settings

Commercial use of iRidi is possible only when visualization projects are loaded through iRidi Cloud on the iRidi Mobile website (see the instructions).

Tip

Only a registered integrator can configure iRidi Cloud. After configuration, users can be invited to control the automation site.

Overriding AMX driver settings in the cloud​

Starting with i3 Pro v 1.2.5, AMX driver settings can be overridden for each panel in the cloud.

Create a project with AMX drivers and save it in the cloud

Tip

Important! AMX drivers in the project must not have identical IP address settings for correct operation.

Opening driver settings in the cloud**​

There are 2 entry points for editing driver settings.

  1. After uploading the project to the cloud, open Projects. Click Project settings beside the uploaded project to open the editable parameter list.

AMX Settings for Project

  1. After uploading the project to the cloud, invite a user and download the project to the panel. Open this project in your account, then Users and Panels. Click Project settings in the list of panels that downloaded the project to edit that control panel's driver settings.

AMX Settings for panel

Driver setting override window capabilities**​

The settings window lets you:

  1. Edit AMX driver settings

AMX Change driver props

  1. Edit project passwords

AMX Change Passwords

Tip

When editing the project, you can delete its driver settings or apply them to a new project

AMX Change Project

AMX Delete settings