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.

relaying IR codes through serial ports

If you have a question or need help, this is the place to be.
Post Reply
bramleyjmurton
Posts: 2
Joined: Tue Jan 26, 2010 1:58 pm

relaying IR codes through serial ports

Post by bramleyjmurton »

I am new to EventGhost, so please be patient! I have a Home Electronics Tira connected via USB to a Windows XP machine. EventGhost recognises it okay. However, I wish to send the reveived IR commands via serial RS232 to a remote IR transmitter (Home Electronics Ira). Is there a plugin or some way of sendig the IR commands?

ta

BjM
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: relaying IR codes through serial ports

Post by jinxdone »

From http://www.home-electro.com/ira_support.php
"Ira is compatible with IRMAN or UIR, so choose either of these devices when selecting hardware module. Make sure you specify the correct port number. Installing software is very easy. See instructions for the software you choose."
...

So how about trying the Irman / UIR plugin? It sounds like it should work.
bramleyjmurton
Posts: 2
Joined: Tue Jan 26, 2010 1:58 pm

Re: relaying IR codes through serial ports

Post by bramleyjmurton »

Hi, Thanks for that, but I probably didn't explain what I am trying to do:

I wish to relay IR commands from an IR controller to a remote device via a Windows PC.
The remote device is at the end of an RS232 serial line.
I have the HomeElectronics Tira (IR receiver) to receive IR comms from the IR controller and transfer them (via USB) into the PC (EventGhost).
Now I need to be able to transmit these same commands through a serial port (RS232) on the same computer to a remote IR transmitter (e.g. I have the HomeElectronics Ira which has a serial interface).
So, the IR commands that I transmit to the IR receeiver (Tira) should be relayed through the PC' serial port to the remote IR transmitter (Ira).
This will emulate the same effect as pointing the IR controller dirctly at the remote device. The UIR/Irman plug-in is only for an IR receiver.
stottle
Plugin Developer
Posts: 636
Joined: Sun Apr 26, 2009 10:59 pm

Re: relaying IR codes through serial ports

Post by stottle »

I think what you are trying to do is possible, but I'm not aware of anything that does it already (I'm not using RS232 control, so there could be something I don't know about).

Python/EG can certainly send commands along RS232, I think you need to create a plugin that receives events, translates them to the appropriate RS232 codes, and then passes them to the device.

Maybe look in the TIRA plugin code, there may be some examples.

Brett
User avatar
jinxdone
Plugin Developer
Posts: 443
Joined: Tue Jan 02, 2007 4:08 pm

Re: relaying IR codes through serial ports

Post by jinxdone »

There was some specs about the Ira's serial protocol here, with a quick glance it looked pretty straight forward. The built in general purpose serial plugin is capable of sending and receiving this kind of short messages so you can use that, or you can make a plugin for would will be even better.

I don't have either of these devices so unfortunately, so I won't be able to help that much. It seems doable though.
Post Reply