Global Caché iTach Flex

The IRControl System does support differnt devices from Global Caché. The Flex wifi and Flex IP network devices are fully supported. Devices from iTach Series and GC100 can be controlled, but the configration is not completely integrated in acutal Version of IRControl.

Setup your Global Caché device with a Mac adress or IP. For more Information have a look at the chapter network configuration.

With a Global Caché Flex you can’t not only sending infrard sequences, there are also additional accessories avalable (diffent infrared transmitter, serial port as well as a relay with sensor ports). Actually are all infrared Transmitter and the relay device (relay and sensors) supported in IRControl.  You shuld configure at the mode attribute which is your acutal plugged device extension. For relay you have also toset the type of relay. For more information please consider the documentation of your Global Caché device.

To configure a Global Caché transmitter you have to add it as a device.

With Global Caché IR transmitter you have to add all the control codes to telecontrol your devices. You have the possiblibty to add the infrared sequence as a Pronto HEX Code or as numbers with protocol definition. For testing your protocol codes there is a test functionality implemented («Send Test»).

Infrared Target

For all devices you want to control with your Global Caché device, you have to register a IR Target.

You have to enter the name of your target and a unique ID, which you will use again while creating your layout pages.

The attribute iTach Module is allways 1 for sending infrared sequences for the devices Flex and iTach. For the GC-100 devices, which can have more than one infrared modules, you have to select which one you want to Access.

The attribute iTach port selects the output port for the infrared Signal. Depending on transmitter option you can control up to 3 ports (or transmitters).

The Parameter IR Protocol is optional. It is be used to generate infrared sequences.

Now you have to register the infrared codes on the tab «Commands».

Add your commands by pressing the button . Enter a unique ID for the command code.

Now you have the possibility to add the control sequence as a Philips Pronto Code (ccf) or as a function definition (device, subdevice and function). But the easiest way is to learn the infread sequence by sending it with your remote control.

To learn a infrared sequence press on the green button beside the Learn field. Now you have to send the desired infrared sequence from your remote control to the Global Caché device (opening at the upper side of the device). You have to keep the remote control as near as possible to the device). If the signal could be recognized, «OK» will be displayed in the Learn field.

With the Analyze Tool you can analyze the infrared sequence code. Press the Analyze button to start the tool. If the infrared sequence code be decoded the concerning function definition will be displayed. You have the possibility to store the sequence directly in this form after. The IR Protocol also will be set on the tab Target in this case. This transformation of sequence is optional. The command could also be send with directly with the learnd infrared sequence.

Parameter «Toggle» is used for some devices while sending the same control sequences multiple. This information will be included in the control sequence each second time. So the target device can recognize, that the sequence was sent again. There are only some protocols which do support the toggle mechanism. Mostly it is used with the RC5 protocol.

With the send butto you can transmit the control sequence to your target device for testing purpose.

With a Global Caché infrared device you have also a unlimited access to Global Caché Control Tower. This is an online database with more than 200,000 infrared control codes. After selektion of your device you want to control, the control codes will be downloaded directly to your target configuration in IRControl. You can read more about this database in the chapter Control Tower or directly on the web page Control Tower.

Serial Target

For sending control sequences over the serial interface, you have to register a Global Caché Serial Target:

Configure a name for the target and a unique ID. The modul number and Port is always 1 for the iTach Flex Serial Interface. If you use a GC-100 device with more than one serial modules, you have to use the module number of the serial Interface for accessing.

You have also to configure the communication parameters of the serial Interface. Please refer  to the documentation of the device you want to access for this Parameters.

The Network Port is 4999 for the Global Caché iTach Flex. For the GC-100 Device, the first port is 4999, the second 5000 and so on.

Now you can register the different sequences as a command.

Each command needs a unique ID for accessing it later. The sequence is the stream which will be sent to the serial inferface when processing the command. For Special characters you can enter the ASCII-Code in form of «\x0d». The two numbers after the x are the hexadecimal ASCII-Code («\x0d» corresponds to the Caridge Return character).

For a control meachanism with the Wheel Control it is possible to transfer the absolute selected value. You can use the variable «\p» for the for this. If you have to format the  value for the call, you can use «\p000#» where the numbers 0 will be filled with the absolute value.

You can analyze the content of the repsonse with a response event (see also chapter Events). This event can be used on controls to manipulate their behaviour or look.

For sending the event, the ID from the Serial Target will be used as sender.

The response will be analyzed with the regular expression. You have 2 different possibilities to analyzse the Response:

  1. Match
    The Response will be compared with the regular expression (match). If the expression matches the event will be sent.
  2. Search
    The Response will be scaned for a string  (search). The founded string will be sent as value with the Event. You have to configure as Value «#value», so the system could recognize that the regular expression is a search expression and the result can be transmitted as value.

You will find an expample how a REST-Service call can be implemented in the chapter REST-Service. Sending commands with the serial Interface is analogue.

If you configure an ID for the response event handler, you can use it also as a dynamic attribute.

Relay Target

For accessing the relay device, you have to Register a Relay Target for each relay.

The attribut iTach Module is allways 1 for Flex and iTach devices. For the GC-100, which can have several relay modules, it is equal to the module ID.

The attribute iTach port defines, which relay (1 – 4) will be controlled.

You can’t define commands for the relay target yourself. They are generated fix by the System. The following commands will be available:

onSwitch the relay on
offSwitch the relay off
on1Switchs the relay to position 1 (for relay configuration DPDT and SPDT)
on2Switchs the relay to position 2 (for relay configuration DPDT and SPDT)
stateSends an system event with the state of the relay

Sensor Target

For each sensor you want to access on the relay extension, you have to register a sensor target.

For the configuration with a iTach Flex device the Moule ID is allways 2. For other devices have a look at your Global Caché user documentation for the module ID. The iTach port selects which sensor you want to access (1 – 4).

The configuration of the Notify port and interval is optional. You have allways to configure both attributes, if you want use notifying. If this option is set, the Global Caché devices sends periodicaly (interrval) an UDP Command to the Network address 239.255.250.250 (Broadcast address) to the specified port. You can set the interfall with the given parameter (seconds). The IRControl App catches this broadcast message and generets a system Event (Sender: device ID, Property: «state», value: 0 or 1). Please keep in mind, that the Android operating System can not receive any broadcast messages, if it is in sleep mode.

Instead you configure a notify port, you release the command «state» which determines the state of the sensor too. Calling the «state» command releases a system event as well.