Author |
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: October 03 2009 at 15:45 | IP Logged
|
|
|
I am wondering if it is possible to send an IR signal out via a COM port.
My cable box (which accepts an 1/8" IR input jack) is located near my Quatech Serial device. The Quatech controls the TV and the A/V reciever, but not my cable box (at least not yet).
Since serial communication is just Rx/Tx/Grnd, I would think that sending IR signals (just signal & ground) should be possible. When combined with the Quatech device, my IR signals would go over my IP network, and then be fed straight into my cable box via a DB9 to 1/8" mono mini cable.
It shoulds good, but is it possible, and where can I find the right parts....
Ideas????
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: October 03 2009 at 17:31 | IP Logged
|
|
|
I don’t know if this is the direction you are heading or not. But it might get you started.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: October 03 2009 at 19:56 | IP Logged
|
|
|
Something like this software link, with this hardware link2 but I still need to figure out how to get PH to speak with it.
Edited by smarty - October 03 2009 at 20:00
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: October 03 2009 at 23:39 | IP Logged
|
|
|
So if you knew what data to send then you could use ph_comsendchar to get it out. Otherwise I would think Dave would have to include some kind of support for the device.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: October 04 2009 at 11:17 | IP Logged
|
|
|
To answer Pete's question...
I know what IR codes I would like to have "come out" the other end of the Quatech serial port device....
....but I am pretty sure the IR pronto codes couldn't be sent as a ph_comsendstring() type command (or could they???)
If they could, that would be all I am looking for. I would connect the proper port of the quatech to the cable box with a cables that had a DB9 plug on one end and a 1/8" mono plug on the other (I would need to get the Tx or RX to ground part right).
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|
BeachBum Super User
Joined: April 11 2007 Location: United States
Online Status: Offline Posts: 1880
|
Posted: October 04 2009 at 12:12 | IP Logged
|
|
|
I don’t know as I have run out of runway on this one. Maybe Tony has some thoughts as he has played with Pronto if I remember correct.
__________________ Pete - X10 Oldie
|
Back to Top |
|
|
dhoward Admin Group
Joined: June 29 2001 Location: United States
Online Status: Offline Posts: 4447
|
Posted: October 06 2009 at 14:41 | IP Logged
|
|
|
Smarty,
I took the time to look through the links and info on the LIRC pages. Unfortunately, PowerHome will not be able to directly communicate with any LIRC compatible hardware.
LIRC hardware is very simple and mainly consists of just an IR transmitter and relies upon the PC to do ALL the work to create an IR signal. It does this by very quickly toggling the DTR lines of a serial port (effectively switching 5 volts on and off) to mimic the actual pattern of an IR code. PowerHome has no support for this level of control of a serial port.
However, all is not lost. I reviewed the pages on the WinLIRC app that you linked to and you should be able to achieve simple IR control via PowerHome by using the ph_run command with the transmit.exe command line interface with WinLIRC. Basically you would need a LIRC compatible IR hardware transmitter and the WinLIRC software. The WinLIRC software runs in the system tray. You would do all IR code and configuration learning using the WinLIRC application. Transmit.exe (included with WinLIRC) is a command line interface that allows you to control WinLIRC via an executable followed by commandline parameters. You should then be able to use the ph_run function in PowerHome to call transmit.exe to communicate with WinLIRC to send IR commands.
I didnt get a chance to look at the actual sourcecode for transmit.exe but from what I read, it should be possible in the future to bypass transmit.exe and create an IR compatible controller that would communicate directly with the WinLIRC application (you would always need WinLIRC for the low level serial control).
HTH,
Dave.
|
Back to Top |
|
|
smarty Super User
Joined: May 21 2006 Location: United States
Online Status: Offline Posts: 728
|
Posted: October 06 2009 at 17:13 | IP Logged
|
|
|
Dang it... I did not see the "transmit.exe" control functionality of WinLinc. That was what I was looking for!
THANKS
__________________ Elk - Insteon - BlueIris - DMC1 - PowerHome - XLobby - HA_Bridge w/Dots - Brultech
|
Back to Top |
|
|