Hi! Is there any means to connect "batch file" or execute external command to lirc/vdr input event?
What I want to do is, when I press "Power"-key on my VDR remote, it would run two irsend commands: irsend SEND_ONCE LG Power irsend SEND_ONCE ProCaster Power
So I get TV and Amplifier power on and I don't need to get my hands on those remotes..
Of course, if I can do that.. Then I could set my VDR:s output volume permanently to MAX and use irsend to change volume on amp...
10.8.2013 16.00, Marc kirjoitti:
On 10/08/2013 14:29, Wolfgang Rohdewald wrote:
Am Samstag, 10. August 2013, 15:25:42 schrieb JJussi:
Is there any means to connect "batch file" or execute external command to lirc/vdr input event?
maybe irexec
Yes, irexec and the SIMULATE directive of irsend.
Marc.
vdr mailing list vdr@linuxtv.org http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr
Hi! Why or what is that SIMULATE? I managed to make it with SEND_START, SEND_STOP (and between those there is sleep 2)
10.8.2013 15.29, Wolfgang Rohdewald kirjoitti:
Am Samstag, 10. August 2013, 15:25:42 schrieb JJussi:
Is there any means to connect "batch file" or execute external command to lirc/vdr input event?
maybe irexec
Thank you. Yes.. You are right.. I just managed to create that feature. Now my Amp and TV turns on/off when I press "Power".. Of course both must be at same status at start or end result is not wanted.. :-)