Embedded Automation Forum  

Go Back   Embedded Automation Forum > mHome Products > mControl Application Notes > Using IR Commands within mControl
Forums FAQ Members List Calendar Search Today's Posts Mark Forums Read

Using IR Commands within mControl How to use IR commands within mControl through the USB-UIRT or GC-100 adapters

Reply
 
Thread Tools Display Modes
  #1  
Old 07-25-2010, 04:20 PM
DSKO DSKO is offline
Junior Member
 
Join Date: Jun 2010
Posts: 9
Default Trigger IR Action when pushing button?

How do I trigger a simple IR command through a GC100 when pushing a button?
Is this only supported through macros?

Espen
Reply With Quote
  #2  
Old 07-25-2010, 11:39 PM
hadiesper hadiesper is offline
Senior Member
 
Join Date: Mar 2009
Posts: 127
Default

the only way i can think of is a zwave wall mounted switch that switches nothing, and a macro that triggers the IR event on status change of that switch.
Reply With Quote
  #3  
Old 12-19-2010, 12:47 PM
DSKO DSKO is offline
Junior Member
 
Join Date: Jun 2010
Posts: 9
Default

I ended up sending commands directly to the GC100 with it's own API, over sockets with the generic mControl driver; for example like this:

Code:
...
<outgoing-messages>
   <param name="GUIDE"     value="sendir,2:1, 1,38000,1,1,341,171,21,22,21,22,21,22,21,64,21,22,21,22,21,64,21,22,21,22,21,22,21,64,21,22,21,22,21,64,21,22,21,22,21,64,21,22,21,64,21,22,21,22,21,64,21,22,21,22,21,22,21,64,21,22,21,64,21,64,21,22,21,64,21,64,21,1706,341,86,21,3640" />
...
You can use iConvert.exe from Global Caché to convert from CCF to this format.
I'm using an USB-UUIRT to learn the IR-code.

Works OK, but once again exposes one of those unbelievable shortcomings of mControl...

Espen
Reply With Quote
  #4  
Old 02-23-2011, 04:05 AM
alantang alantang is offline
Junior Member
 
Join Date: Mar 2010
Posts: 1
Default

Hi, I m new here,
I have learned IR codes using GC_IRL & using GC100 to control TV & Aircon, below is my problem after many tries.
using GC's iLearn, i get the below TV IR code and able to control it. (toggle on/off)
0000 006D 0000 0022 0156 00A9 0016 0014 0016 0014 0016 0014 0016 0014 0016 0014 0016 0014 0016 0014 0016 0014 0015 003F 0015 003F 0016 0014 0015 003F 0015 003F 0015 003F 0015 003F 0015 003F 0016 0014 0015 003F 0016 0014 0015 003F 0016 0014 0016 0014 0016 0014 0016 0014 0015 003F 0016 0014 0015 003F 0016 0014 0015 003F 0015 003F 0015 003F 0015 003F 0015 02F8

when i learn in mControl, the codes become repeated as per mentioned in this thread http://www.embeddedautomation.com/fo...ead.php?t=1097, however, this code will turn ON the TV and Turn it OFF simultaneously.

0000 006D 0000 0044 0155 00A9 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0016 003E 0016 003E 0015 0013 0016 003E 0016 003E 0016 003E 0016 003E 0016 003E 0015 0013 0016 003E 0015 0013 0016 003E 0015 0013 0015 0013 0015 0013 0015 0013 0016 003E 0015 0013 0016 003E 0015 0013 0016 003E 0016 003E 0016 003E 0016 003E 0016 0610 0155 00A9 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0015 0013 0016 003E 0016 003E 0015 0013 0016 003E 0016 003E 0016 003E 0016 003E 0016 003E 0015 0013 0016 003E 0015 0013 0016 003E 0015 0013 0015 0013 0015 0013 0015 0013 0016 003E 0015 0013 0016 003E 0015 0013 0016 003E 0016 003E 0016 003E 0016 003E 0016 0610

Even i have tried cut and paste the code into mControl, it will repaet automatically after safe. Any ideas to resolve this!

Hi DSKO/hadi,

I will like to send command directly to GC100 since it works when i send IR through iLearn directly. can you share the generic mControl driver since i have no idea how to write it with GC's API. any help will be much appreciated! TQ.

alan
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:47 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.