Jump to content
C4 Forums | Control4

IR Codes


zipperman19

Recommended Posts

Last week there was some discussion on how to use the IR codes so you could use an IR remote to control C4. I made the comment that all the IR codes were the same and didn't understand how a HTC would know the difference between a "stop" and "play" if the code is that same. I just purchased the Balboa Dolphin remote and would like to know how these IR codes so I could program the remote. Is it possible for someone to write a Control4 driver with the correct IR codes to control itself so I could emit the code and use the learn function on the Balboa remote? I'm willing to make it if someone could tell me how the codes work. For instance the XML IR code for "Play" in mask 0 is:

<ircode>

<id>1</id>

<mask>0</mask>

<name>PLAY</name>

<transmit>PULSE</transmit>

<repeatcount>3</repeatcount>

<delayafter>0</delayafter>

<pattern>0000 0067 0000 0022 0080 0016 0016 0016 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 003F 0016 0016 0016 0016 0016 003F 0016 003F 0016 0016 0016 003F 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 0016 003F 0016 03F9</pattern>

<altpattern></altpattern>

</ircode>

If the pattern is the same for all the other codes, how does control4 know the difference? Is the part that lets the HTC know the difference the "id" tag?

I'm really confused on how to use these codes. When looking at all other IR drivers/codes, the pattern is different for different commands.

Maybe someone could post the help file on how to use these codes and set it up in composer? I can see how you set the "IR_IN" in composer to the HTC/MC where the remote is connecting to, but what does the IR mask do? In my home, there are two separate room/zones in my backyard which I usually connect using a media scene. All I really want this remote to do is raise/lower the volume of the media scene in both zones and be able to change the track. Is this possible? I guess I just need to play around with it once I get the IR codes programmed into it to see how it works.

Thanks, Harrison

Link to comment
Share on other sites


Okay so I read the help file that comes with composer and think I understand what it means. I can assign each room an IR mask so that other remotes won't control it. But there is a "global" mask so that one remote can be walked around and used in any room. The only use for the IR mask is if you intend to use the IR input in the back of the MC for multiple rooms. So if I manage to program all of the codes into the universal remote, am I right in saying I would really need to use an onscreen display to use all of the features because the remote is not interactive? However, it should still let me raise and lower the volume and change tracks if the audio source is selected in that room, right?

After reading that I also understand better how the IR codes work. I also realized that each IR pattern is slightly different. I thought they were all the same at first but not realize that each is only a little different. I see how it works now. Sorry if I confused anyone by asking how they would work differently, but after comparing them bit by bit , I see there each a little different.

Anyways, does anyone know if it is possible to write a driver for these codes so I could emit it to a programmable remote with a learn function. Otherwise, I would need to buy another type of remote that allows me to program it with a computer.

-Harrison

Link to comment
Share on other sites

  • 1 year later...
You can learn any hex ir code from an existing remote with your C4 controller, It's pretty slick. PM me for more.

With "Composer Pro" there is no prob with that, very easy process.

Are you a dealer?

Edit to say:

Not sure if DRIVER or IR codes can be learned in HE. Anyone know?

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 weeks later...

Not dealer. I was working with dealer using his PRO to add some additional IR functionality to some of my Home Theater components.. Can't be done with HE. But, can be done remotely/4sight using PRO and a phone call (i.e., Dealer goes into edit driver mode, tells you to aim your components native remote at your C4 controller and press respective button/IR code to learn, lets you know if it was received or not).

Then you can use HE to map that IR code to whatever button you like.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.