Notice: This forum has been recovered from an old backup, so some content, links, and dates may be outdated. The forum is currently read-only while we restore sign-in and registration functionality. Details

If you find this forum valuable and would like to help keep it online, donations to help cover hosting and domain costs are greatly appreciated, but never expected. You can support the forum through Buy Me a Coffee or Ko-fi. Thank you for helping preserve the EventGhost community.

PROBLEM PROGRAMMING Tira-2 in EventGhost: SUGGESTIONS PLEASE

If you have a question or need help, this is the place to be.
Post Reply
peterlloyd
Posts: 15
Joined: Fri Sep 26, 2008 4:45 pm

PROBLEM PROGRAMMING Tira-2 in EventGhost: SUGGESTIONS PLEASE

Post by peterlloyd »

I just purchased the Tira-2 IR tranceiver. I tried using Girder and HIP to program the unit but it would not initialize in either application. Technical support at http://www.home-electro.com provided me with TiraHost2.exe which worked as long as Tira was assigned to com3 and the USB connector was always plugged into the same PC socket. Technical support at http://www.home-electro.com then suggested EventGhost as a simple programming interface. So I learned about "eg", wrote a couple of Python scripts and tried Tira using EventGhost 0.3.5c.908 under Windows XP on a Dell XPS Gen2 and Inspiron 2200 machines with the identical results: I loaded the default Tira plugin via the main EventGhost menu. I then created a macro just containing the Tira Transmit IR action which learned the code from my VCR power button. However unlike TiraHost2, the action did not toggle the power on the VCR. Suggestions for a cure are requested.
Thanks
home-electro.com
Posts: 1
Joined: Tue Sep 30, 2008 3:57 pm

Re: PROBLEM PROGRAMMING Tira-2 in EventGhost: SUGGESTIONS PLEASE

Post by home-electro.com »

Peter,

if you want a simple command line Python application, you may want to try this:

http://www.pixelbeat.org/programs/Tira-2/

On second thought it is for Linux, I don't know how portable it is.

Could you please email me your Python script so that I could take a look?
peterlloyd
Posts: 15
Joined: Fri Sep 26, 2008 4:45 pm

Re: PROBLEM PROGRAMMING Tira-2 in EventGhost: SUGGESTIONS PLEASE

Post by peterlloyd »

I have made some progress but uncovered a new and perhaps serious memory management problem in Event Ghost when starting Tira.:

The following is using EventGhost 0.3.5c.908 on a 3GHz 3GB RAM Windows XP Pro SP3 machine:

Open EG, create new xml file which has no content but Autostart which is empty. Save this file as NULL.xml

Add macro "Test". Add plugin Tira. Tira appears in Autostart.

Add Tira action "Transmit IR" to macro Test: Hit Learn IR code button. Capture VCR Power command. Click OK with repeat count at 1.

Execute macro Test. VCR does not respond after several repetitions.

Configure Item Tira: Transmit IR in macro Test and change Repeat Count from 1 to 2

Execute macro Test. VCR responds on each attempt.

Save as VCR_power and close EventGhost.

Open VCR_power (default), execute macro test and VCR power is toggled.

Open EventGhost with file Example.xml (default file)

Add macro "Test". Add plugin Tira. Tira appears in Autostart.

Add Tira action "Transmit IR" to macro Test: Hit Learn IR code button. Capture VCR Power command. Click OK with repeat count at 2.

Execute macro Test. VCR responds on each attempt.

Save as VCR_power2 and close EventGhost.

Open VCR_power2 (default) result is Error starting plugin: Tira with log as shown
11:44:55 AM ---> Welcome to EventGhost <---
11:44:55 AM Plugin: X10 Remote
11:44:56 AM Plugin: Zoom Player
11:44:56 AM Plugin: Winamp
11:44:56 AM Enable exclusive: Keyboard Emulation
11:44:56 AM Plugin: Tira
11:45:01 AM Error starting plugin: Tira
11:45:01 AM Tira start failed.
11:45:01 AM Main.OnInit
Post Reply