Skip to main content

Messages

This section allows you to view all Messages made by this member. Note that you can only see Messages made in areas you currently have access to.

Messages - Schmurtz

1
USB Infrared Toy / My IRToy Experience for my Home Theatre (Windows)
My Objectives were to power on my logitech z-5500 speakers and my projector in only one key on my RF remote.

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
3 - Automate these records in a script ... Not easy because IRTOY.exe is not really documented, I found what I need in sources here :( !
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 ;)
2
USB Infrared Toy / Re: IR Toy V2 orange light is ON all the time
Hi, same problem solved here :
After 2 years without use, I plug more IRtoy and the orange light was lighted ON all the time, no port COM created, bad recognition in device manager.

I short PGD and PGC together and then plug in the IR TOY,  it  shows up as a broken HID device with an exclamation mark. Impossible to reflash with Simpkins 's command line.

I tried on Windows 8.1 and then Windows 10 on another computer without success. Finally on a third computer with Windows 7 x64 the device is recognized like HID device when PGD and PGC are shorted together. So it was possible to flash with the command line :
fw_update -e -w -v -m flash -vid 0x04D8 -pid 0xFD0B -ix USBIRToy.v22.hex

So my advice : try the Simpkins 's manipulation on other computers, rather use Windows 7 to make it work !

( ! ) Fatal error: Uncaught exception 'Elk_Exception' with message 'Please try again. If you come back to this error screen, report the error to an administrator.' in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
( ! ) Elk_Exception: Please try again. If you come back to this error screen, report the error to an administrator. in /var/www/dangerousprototypes/forum/sources/database/Db-mysql.class.php on line 696
Call Stack
#TimeMemoryFunctionLocation
10.01202281464session_write_close ( )...(null):0
20.01232413064ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01232413840Database_MySQL->query( ).../DatabaseHandler.php:119
40.05792552584Database_MySQL->error( ).../Db-mysql.class.php:273