How to add IR commands in MyURemote
This guide explains how to learn infrared commands and add them to a device in MyURemote. It is intended for devices controlled through IR controllers such as Global Caché.
1. When do you need to add IR commands manually?
You typically add IR commands manually when:
- your device is not yet fully available in the MyURemote database
- a specific command is missing
- you want to test or fine-tune a learned command
- you are creating a custom IR device profile
In MyURemote, IR commands are stored per device and can then be used in zones, inputs and macros.
2. What you need before you start
- An IR-capable controller, such as a Global Caché device
- The original remote control of the device
- A learned IR code, usually obtained through a tool such as iLearn
- A device already created in the MyURemote device database
If your device does not exist yet, first create the device itself and then return to this page to add its commands.
3. Learn the IR code
To add a working IR command in MyURemote, you first need the raw IR code. A common way to do this is by using a Global Caché learning device together with the iLearn utility.
Basic learning process
- Open your IR learning tool (for example iLearn)
- Connect to the learning device using its IP address or COM port
- Point the original remote at the learner from a short distance
- Press the desired button on the remote
- Verify that a full IR code is captured
- Copy the learned code
Important
A valid learned IR command is usually a long numeric sequence separated by commas. If the captured code is extremely short or incomplete, the command was probably not learned correctly.
If you use Global Caché tools, also review their learning instructions and verify the IR emitter/learner positioning carefully.
4. Open the command list in MyURemote
Once you have the IR code, open the relevant device inside the MyURemote device database and go to its command list.
- Open the device
- Open Commands
- Select the correct Technology
- Choose IR if the device is controlled by infrared
- Click Add Command
MyURemote groups commands by technology, so make sure you are editing the IR command list and not IP or serial commands.
5. Add a simple IR command
For a normal IR command, complete the following fields:
- Command name – for example ON, OFF, VOL+, VOL-, MUTE
- Technology – set this to ir
- Value – paste the learned IR code
Then save the command.
Expected IR format in MyURemote
MyURemote expects IR command values as a numeric comma-separated sequence.
Example structure:
1,38000,1,1,170,170,21,63,21,63,21,63,21,21,...
The command must contain only numbers and commas, without empty values.
6. Using command templates
When adding a command, MyURemote can use an existing predefined command name from the Use template dropdown. This helps keep naming consistent across devices.
Typical examples are:
- PLAY
- ON
- OFF
- VOL+
- VOL-
- MUTE
- INPUT HDMI1
Important: use the predefined names whenever possible
These predefined names are more than just suggestions. They should be used whenever possible, especially for commands that must be linked to standard MyURemote buttons.
For standard remote control functions such as power, volume, mute, navigation and playback, MyURemote expects known logical command names. Using the predefined names ensures that the correct standard button can be linked automatically.
If you use your own custom naming for these standard functions, the command may still exist in the database, but it may not be connected correctly to the standard MyURemote interface.
You can still enter your own command name manually when needed, but this is mainly intended for custom or device-specific functions that do not correspond to a standard MyURemote button.
7. Commands with children
Some commands are not a single IR value, but a grouped structure with child commands. In that case, enable:
This command has children
Then define one or more child commands, each with its own:
- Child name
- Child value
This is useful for advanced device definitions where a logical command is made up of multiple command parts.
When to use child commands
Most standard IR commands are simple single-value commands. Use child commands only when your device definition requires a grouped command structure.
8. Validation rules for IR commands
MyURemote validates IR commands before saving them. For IR technology, the value must:
- contain only numbers and commas
- not contain double commas
- contain enough values to be considered a real IR command
- not contain empty entries
If the command does not match that format, MyURemote will reject it as an invalid IR command.
9. Editing and deleting commands
Once saved, commands can be managed from the device’s command list.
- Edit – update the command name or value
- Delete – remove the command permanently
Simple commands can often be edited directly. Commands with children are usually edited on a dedicated edit page.
10. Practical tips for reliable IR learning
- Keep the original remote close to the IR learner
- Try slightly different angles if learning fails
- Repeat the learning process if the code looks too short
- Use the predefined command names for standard functions
- Test commands before building larger macros around them
If an IR command does not work reliably, the issue is often the captured code rather than the MyURemote configuration itself.
