1
USB Infrared Toy / My IRToy Experience for my Home Theatre (Windows)
In first it wasn't easy to make all the button of my RF remote work. I use low level USB analyse with Auto IT, I've made a post about it here : forum.kodi.tv/showthread.php?tid=247121
Then I tried to make a batch script to use my IRtoy, it wasn't easy too....
The steps :
1 - My IR Toy V2 stuck with orange light is ON all the time, I give a solution on this forum here
2 - First step record and replay the IR codes that I need.
I tried to use WinLirc, This tutorial is good for it.
It was OK with the remote of logitech z-5500 speakers but Impossible with the samsung projector's remote : when Winlirc is recording samsung buttons it always displays "something went wrong".
As it was impossible to control my samsung projector with Winlirc I use the IRToyRecPlay tool to record and replay the buttons. Without problem.
Funny thing : IRToyRecPlay tool don't work with my logitech z-5500 speakers... So :
- logitech z-5500 speakers -> contolled by Winlirc
- samsung Projector -> contolled by IRTOY.exe
Quote
-p f NAME - a nnn
* Plays as above, except does NOT wait for any key to be pressed, instead
* delays nnn miliseconds between sending each file.
* 500 is recommended as a starting delay.
Please find my batch script below :
Code: [Select]
::liberate COM port
taskkill /F /IM "Winlirc.exe"
timeout 1
::check if IRtoy COM is found
mode | findstr "COM[0-9]:"
if %errorlevel%==1 Goto NoCOM
cd "IR ToysoftwareIRToyRecPlaywindows"
irtoy.exe -d COM3 -p -f samsungOn.bin -a 500
timeout 1
start "" "WinLIRCwinlirc.exe"
timeout 4
cd "WinLIRC"
::command line to run a WinLirc code :
Transmit.exe logitech_z5500 Power 0
:NoCOM
I hope it will be useful for some people ;)