Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

Need help sending same IR code several times

Questions and comments specific to a particular plugin should go here.
Post Reply
noen79
Posts: 1
Joined: Thu Jul 19, 2012 9:39 pm

Need help sending same IR code several times

Post by noen79 »

Hi!

I'm using the tIRa2 usb and I'm trying to set up some macros in EG, but the way I'm doing it is not a good way.
When I for example want to lower my TV volume 10 steps, I have made a macro that sends the same command 10 times (added 10 actions with the same code for Tira2 in the macro), but this sometimes generates a huge error in the log, and will not always work properly.
Is there a better way to make EG send the same signal through TIRA2 a certain amount of times with payloads, and how can I do this?
I use Voxcommando to generate the events, so I can then get for example the event TV.volume.up {7} in EG, so if EG then can send this code 7 times instead of me putting 7 actions in one macro.

I have searched around a bit, but can not find any good explanation on this topic.

Please help :)
kkl
Experienced User
Posts: 317
Joined: Wed May 04, 2011 9:32 pm

Re: Need help sending same IR code several times

Post by kkl »

It's not clear to me what you mean by a "huge error in the log". Perhaps the software or hardware needs a small delay between each IR blast.
Is there a better way to make EG send the same signal through TIRA2 a certain amount of times with payloads, and how can I do this?
There may be ways to do it more elegantly, but the end result wouldn't be any "better". One way I can think of is to use a subroutine, by way of the Jump and return command, with a counter that decrements.
Post Reply