Skip to main content

Topics

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

Topics - regisma

1
USB Infrared Toy / Here is my contribution to the forum
Hi,

The following is the SOURCE CODE of my personnal work on the USBIRTOY.

It have been made with VB6, ans pycron which is a freeware (http://www.kalab.com/freeware/pycron/pycron.htm) and there are a lot of text files which each of them correspond to the keys of the remote.

I'm releasing it so the community can contribute to it and enhance it.

I will just ask you to not make any commercial usage or use this as a baseline to release a commercial software or a shareware.

It should stay free for everyone.

Please try it out... it is not completly bug free but the ideas are there and the concept work.

C = Calendar
R = Remote
L = Job List

Note: To gather the remote code you can get them from the log file generated by the program

in order to be able to write the crontab.txt into the folder where pycron is installed, I had to create a share name, see in the source...

Enjoy !

Regisma
2
USB Infrared Toy / My findings with the USBIRTOY (results seem not so bad) to control my PVR
Hi,

I have played a bit yesterday with my USBIRTOY and here are the results ...

First, I had upgraded the USBIRTOY to V102 with a PC running XP Pro 32 bits.

I have started my terminal program : Hercules 3.2.3.

I have used the right mouse button on the terminal window in order to enable the Local Echo and the Hex Enable mode.

I have used the X letter to enable the IRIO mode on the USBIRTOY, it answer back X01.

I have pushed a button from my IR remote for few seconds ...

I did saw the following code on my terminal :

{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{00}{00}{00}{07}{E0}{FC}{1F}{83}{F0}{00}{07}{C1}{F8}{1F}{03}{E0}{7E}{00}{01}{F0}{00}{07}{C0}{00}{3F}{07}{E0}{00}{1F}{00}{00}{7C}{00}{03}{F0}{00}{0F}{C1}{F8}{00}{07}{E0}{FC}{00}{03}{F0}{7E}{0F}{C1}{F8}{1F}{00}{00}{FC}{1F}{80}{00}{7E}{0F}{C0}{00}{3F}{00}{00}{F8}{00}{03}{E0}{00}{1F}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}

Then I have cleaned the result obtained with the Notepad, like this :

{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{00}{00}{00}{07}{E0}{FC}{1F}{83}{F0}{00}{07}{C1}{F8}{1F}{03}{E0}{7E}{00}{01}{F0}{00}{07}{C0}{00}{3F}{07}{E0}{00}{1F}{00}{00}{7C}{00}{03}{F0}{00}{0F}{C1}{F8}{00}{07}{E0}{FC}{00}{03}{F0}{7E}{0F}{C1}{F8}{1F}{00}{00}{FC}{1F}{80}{00}{7E}{0F}{C0}{00}{3F}{00}{00}{F8}{00}{03}{E0}{00}{1F}{00}{00}{00}{00}{00}
{7F}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{FF}{80}{00}{01}{F0}{00}{00}{00}{00}{00}

I have used the Replace function to remove the { and to replace the } by a space which give :

7F FF FF FF FF FF FF FF FF FF FF 80 00 00 00 00 07 E0 FC 1F 83 F0 00 0F C1 F8 3F 03 E0 7C 00 01 F0 00 0F C0 00 3F 07 E0 00 1F 00 00 7C 00 03 F0 00 0F 80 00 3E 00 01 F8 00 07 E0 FC 00 03 E0 7E 00 01 F0 3E 07 E0 FC 1F 80 00 7E 0F C0 00 3F 07 E0 00 1F 00 00 00 00 00 7F FF FF FF FF FF FF FF FF FF FF 00 00 03 F0 00 00 00 00 00


Then I did used the same terminal program to send 03 in hexadecimal to the USBIRTOY so I can send back the data already formatted in bytes back to my TV.

Then I did used again the terminal  program to send this command to my USBIRTOY to my TV :

7F FF FF FF FF FF FF FF FF FF FF 80 00 00 00 00 07 E0 FC 1F 83 F0 00 0F C1 F8 3F 03 E0 7C 00 01 F0 00 0F C0 00 3F 07 E0 00 1F 00 00 7C 00 03 F0 00 0F 80 00 3E 00 01 F8 00 07 E0 FC 00 03 E0 7E 00 01 F0 3E 07 E0 FC 1F 80 00 7E 0F C0 00 3F 07 E0 00 1F 00 00 00 00 00 7F FF FF FF FF FF FF FF FF FF FF 00 00 03 F0 00 00 00 00 00

and it works !

So what remains to do is to grab all my remotes button.

Clean the result and store them in a file.

Either use VB6 or may be Autoit V3 and use Cron to implement a working free solution in order to schedule and record my TV shows ...

I will keep you posted...

Reg
3
USB Infrared Toy / Just received USBIRTOY need a bit of help please
Hi,

I have a Windows 7 Home Premium 32 bits.

How can I install the driver ?

How can I achieve this goal : I will like to be able to learn my remotes and then use a scheduler which can send commands to the TV, The DVR to start the recording of a TV show then Stop the recording based again on a schedule.

I know how to program in Visual basic if there are some librairies that can be used ...

Many thanks

Reg

( ! ) 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.01312293552session_write_close ( )...(null):0
20.01342425144ElkArte\sources\subs\SessionHandler\DatabaseHandler->write( )...(null):0
30.01342425920Database_MySQL->query( ).../DatabaseHandler.php:119
40.05862564648Database_MySQL->error( ).../Db-mysql.class.php:273