Author
Topic: USB-UIRT Learning (Read 2409 times)

Anyone know how to get the USB-UIRT to actually learn codes when using the web admin and trying to learn codes for a new device? I thought it would be as simple as having the USB-UIRT as the Controlled-By for the device, hitting A/V Properties for the A/V device and then hitting New Code for the code I want to learn and then aiming the remote at the USB-UIRT and hitting the button. That gets me nothing, at all.

Alternatively, I think I have the lircd.conf file for my satellite receiver. hand editing /etc/lircd/lircd.conf seems to be a no go as no sooner do i edit it, restart lircd and try to run irsend, than some process overwrites the lircd.conf file back to what it was before!

Alternate number 2, does anyone know of a way to convert lirc codes to Pronto codes i could hand enter through the web admin?

So, I think the fresh batteries helped some, but moreso, it helped to double check that my changes to the database through the web admin tool had actually stuck as far as having moved my USB-UIRT from the MD to the core for learning codes. Turns out it still thought it was attached to the MD so wasn't being set to learning mode when I hit new code.

I now have codes for all the pertinent buttons. Just have to figure out how to set up to use the channel changing script in mythtv (and then see if I can swap over to using the mce transmitter now that i know the codes since i need the USB-UIRT back on the MD)

I have the codes input into my device in the web admin. If I hit the Test Code button there for the digit buttons, I properly get a single press of that digit registered on the receiver.

Now, I went on to trying to use /usr/pluto/bin/TuneToChannel.sh script. Running this from the commandline I got a lot of errors. A few things were wrong:

There were ^M characters terminating lines. Someone obviously edited this in a non-text editor. I removed the control characters in my copy.

It was very unclear on the wiki what you had to pass as the Source ID. I started trying to pass /dev/video0. It turns out this is simply the numeric source id of the Source associated with the channel in mythtv. In my case I have one tuner card, set up one source for it and that source got id 1.

So, now the TuneToChannel.sh script runs, but it is sending unexpected codes (looks like repeating codes of the first digit in the channel number I ask for?)

Now, ignoring for the fact that everytime it gives that device died message....the channel changing script seems to forcing a repeat of 4. Why would it do that? that means its going to fire 4 of each button press for the channel I request and that is, I assume, what is causing the issues here.

I went back to using the receiver/transmitter that came with the PVR-150, and setting up lirc for it. I have learned a lot, and have it working. I will be updating a bunch of wiki pages and forum posts with the results and instructions for others.

I have updated the SAT_3100 remote device template (does this sync back to the servers?) with the following lircd.conf: http://lirc.sourceforge.net/remotes/dishnet/Dish_Network which is an EXCELLENT piece of work and contains entries for all 16 remote addresses supported by the slew of receivers from DishNetwork, Echostar, Expressvu (the 3.1IR, which has the blue buttons). Having that entered in the device template, and copying a very simple channel change script I now have the MCE IRBlaster changing channels on my ExpressVu 4100 receiver. I even changed the remote address to 6 and its working (I'll be using a second one after I get my config finalized using just one).

This is excellent news. I have a dish 522 DVR that uses the 301 codeset. Where did you put the lirc.conf file into the template? If i have that peice, my system will be complete. I too was having errors with the learning feature. Omly 1/2 of the number digits would work. I too used this same conf file you posted the link to, with mythtv, and it worked great. But I am not sure where to put it into the template for Dish DVR 522 that I created.

Please post here, the location, and then there will be 1 more Dish Network template added to the collective.

Thanks again for your great work,

Seth

Logged

".....Because Once you've LinuxMCE'd....."System stats located at my user page:

*Go to Advanced > Configuration > Device Templates*In the "Do you know the ID of the device template" box enter 275 (assuming you are using the SAT_3100 template) and click Pick Device Template*In the template page that opens, scroll down to Device Data section*You need to copy and paste your lircd.conf file into the text area for Default Value (I first cut the existing out and saved it to a file just in case, then pasted the other one in).*Save the changes to the template and then force a reload of the router.

Assuming you've also followed the other instructions for creating a channel changing script and adding a remote that uses that device template to your media director it should work.

Excellent, glad it worked out for you! I seem to have things to the point now where I can make use of both my satellite boxes (one attached to the core, one to my MD int he living room) from either the core or MD (PiP working too).