View Full Version : WinLIRC transmit functionality
September 25th, 2009, 04:27 AM
I am beginner with Girder, and I am trying to setup a transmit function with WinLIRC. Let's say my basic application is to catch a keyboard event and send an IR code when this happens.
I have WinLIRC installed and configured properly. It can receive codes from my remote, and transmit it back to the device.
I also installed the WinLIRC2Girder plugin, and configured it. Now when I send IR codes from my remote, I catch them in Girder!
I managed to do the exact opposite of what I want to do: when I receive an IR code I send a keypress.
My problem now is that I can't find the actions related to WinLIRC in the action box, where I can find all other possible actions.
Did I miss something to add "WinLIRC transmit" in this action box?
September 25th, 2009, 03:27 PM
I am not sure the Girder plugin to winlirc supports that. Do you have a link to the download or does anyone use the winlirc plugin in that way?
September 25th, 2009, 04:17 PM
I got refused by the server so I can't send you URLS for the plugins...
To retrieve sites in my following message, please go to tinyurl dot com slash <the letters underlined>
September 25th, 2009, 04:17 PM
I beleive that it can transmit (it is used as transmitter in this topic : y8mxy2u)
The original address for the plugin is yajeznb but the links seems to be dead.
I found a copy here:
If you open the ZIP file, there is an "index.html" help file stating this:
Supports now transmitting command via Girder-Actions (WinLIRC version >= 0.6.3):
[blablah about config which I did]
To assign an action to a command, select the command and open the WinLIRC-action-settings. There you can enter the codes by hand or press the key on the remote that should be transmitted. Click OK or Apply and the action will be assigned.
I can't find how to do this last part! Maybe it worked with previous versions of Girder?
September 26th, 2009, 08:34 PM
I'd have to look at the plugin. Send me the URL in an email: firstname.lastname@example.org
September 28th, 2009, 06:48 AM
I have sent you an e-mail with the url.
In the meantime, I found the date of creation of the plugin: 2002, which makes me think it used to work with previous versions of Girder.
I don't know if Girder 5 is backwards compatible with previous versions ?
If you want to try the plugin by yourself, you can download winlirc (no need for software installation nor specific hardware, just download it, start it, use the "browse" button in the config menu to load "sample.cf" and press OK.
You should have a gray round icon in the systray when it is running.
September 28th, 2009, 07:51 AM
good news! I have found a way to transmit IR data without using the plugin features.
In the winlirc source code, there is a "transmit.cpp" example that uses a WM_COPYDATA to the winlirc window to send commands.
I simply used the CopyData feature of Girder, and it works :)
If others need this feature, here is the parameters I use:
dwData = 0
lpData = <remote> <button> <repeat count>
(for example : tv volm 5)
Targetting: check "match invisible windows", and use "window name=WinLirc"
September 28th, 2009, 04:08 PM
That is great! Can you upload a GML showing how you did this?
September 30th, 2009, 04:33 AM
Here you are !
This test action sends the "TV Mute 4" action to WinLirc, TV being the remote name, Mute the button name, and 4 the repeat count.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.