VoxCommando

Help and Support (Using VoxCommando) => Other Plugins => Topic started by: jitterjames on August 25, 2013, 10:04:29 PM

Title: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 25, 2013, 10:04:29 PM
USB-UIRT plugin demonstration of learning IR codes and storing them in maps, then exporting to payloadXML

Demo:

Tutorial:


UPDATE AUGUST 30TH:

I have released version 1.1.5.0 of VoxCommando: http://voxcommando.com/downloads.asp

I am attaching the XML code now to this post so you can use this method yourself!
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: JasonFox on August 25, 2013, 11:02:39 PM
Great Video. How well does the USBIRT learn AC remote codes? I noticed you mentioned that fan and AC remote codes are different from your standard remote codes. This is what I have found as well.  The iTach learned all the Tivo and TV remote commands I needed without too much difficulty but I have been unable to capture any commands for my AC unit or for my MCE remote (pc sleep, Win+1 for example). If the USBIRT can capture those kinds of commands I might have go out an spend some more money  :P  ;D
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 26, 2013, 09:16:27 AM
I will get back to you after I have done some tests.  I don't actually have an air conditioner since most of the time we are concerned with staying warm round these parts.  In the summer, a fan is usually enough.

When I was researching ways to learn the short burst codes, I came across usbuirt users who were having the same problems with their ac units that I was having with my fan.  That is why I mentioned AC units.

I also have an air purifier that uses codes that are "different" from my media remotes, so I'll compare usbuirt to the itach when learning for my, fan, my air purifier, and the MCE remote.

Do you have problems with all buttons on the MCE remote, or just certain ones?
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 26, 2013, 10:57:14 AM
I have tested all three remotes (MCE, Fan, and Air purifier) on both the iTach and the USB-UIRT.

I did not have any problems with any of the remotes on the iTach, except that sometimes you need to try more than once to learn the code, and sometimes you need to adjust the "gaps" and the number of times you send a code depending on the device.  I am hoping as I develop the learning for VC and iTach to make this a bit better.

The iTach accepts short bursts by default, whereas the USB-UIRT tries to wait until it has received the same code multiple times in succession, and if you want to accept short bursts you have to do a song and dance.  This means that for normal remotes the USB-UIRT is probably more likely to get the code right on the first try (I think).

In terms of the USB-UIRT, for some remotes than don't send a continuous stream it is actually easier with the iTach.

Also important to note, I have found that the iLearn program version 2.4 seems to work better than version 2.5.

So to sum up, I can learn all my codes from all 3 remotes quite easily with either the iTach or the USB-UIRT device.  The USB-UIRT is a bit easier to aim your remote at.  The placement of the pinhole for learning on the iTach is very poor, right next to the power plug, and you need to fiddle with the settings more, but it will learn anything that I can throw at it.

If you need specific codes for the MCE remote just let me know what buttons you need and what format you want (Pronto, GC, or GC compressed) and I will send them to you.

I do eventually want to create an online database of code-sets that will make sharing easier, but it will probably take some time for me to get to it.

Advantage of USBUIRT:
- Less expensive (about 1/2 the price of iTach I think)
- Works great with VoxCommando and eventGhost
- Receives codes as well as sending so it can trigger events etc.
- Easier to set up, no network worries etc.

Advantage of iTach Wifi2IR
- Works without a computer - so better for using with smart phones and tablets directly with an app like iRule or with Vera etc.
- Works without a computer so it is easier to place it anywhere in your home, all you need is a power outlet, or USB port for power.
- Also works well with VC and I will be working on perfecting the learn process so that hopefully it will be just as good as what you have just seen on the USB-UIRT demo.

These are SOME of the advantages.  I'm sure there are other considerations that I've missed here.

Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: JasonFox on August 27, 2013, 01:47:35 AM
Thanks for doing that additional testing I appreciate it. It sounds like I need to give my iTach another try with learning.

I'll let you know how it goes.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: xtermin8r on August 27, 2013, 03:28:06 AM
brilliant stuff, as always.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 27, 2013, 06:14:37 PM
Here is the iTach version:

&index=5

I'm sure it would be possible to do this with the Halx as well...
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: mdsh on August 28, 2013, 12:40:32 AM
 ;) this is looking really great James! I always find when it comes to IR codes that I get to a point where it is just taking way to long. But again this looks really good. Thanks for the youtube uploads as well as all the testing you have done on this. Keep us posted on that new version  :P
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: JasonFox on August 28, 2013, 02:42:37 AM
I just wanted to update. I have successfully learned the keys I needed from the MCE remote. It seemed the trick was adjusting the gap as you suggested and moving the remote further away from the iTach when learning. I was placing it pretty close (2-4") and it seemed to capture much better in the 5-8" range. (at least for those codes). Still no luck with AC codes though. I'll keep trying. I'll give it a go with the iTach through Vox when available and see if I have any success there as well.

Thanks again.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 28, 2013, 09:19:05 AM
I don't have any first hand experience with AC units but if you want to do a Google hangout at some point maybe I can help you figure it out.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on August 30, 2013, 04:22:34 PM
If you want to try this yourself, and you have a UUIRT please check out the first post of this thread which I have just updated!

http://voxcommando.com/forum/index.php?topic=1169.0
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: mdsh on September 06, 2013, 06:25:07 PM
Good day all. I just want to know if anyone else has had a similar problem to me...

I received my USB-UIRT yesterday and plugged it in, latest driver installed from UIRT website (win 7 32bit)
Downloaded the latest VC 1.1.5.0 and enabled the USBUIRT plugin for VC. Did a full restart.

Once VC has started up again I can press a button on my remote and it generates an event in history (USB-UIRT red light comes on as well). However once I go into the plugin or try to learn IR commands via the posted xml the UIRT seems to stop working. If I say "learn button volume up" VC waits for my input but the UIRT does nothing (no red light or anything) Similar story when I actually launch the plugin for the device as well. I select Learn and then it is as if my device just shuts down.

Has anyone else seen this happen? Hopefully I am just missing something small

Thanks
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 06, 2013, 06:33:04 PM
Are you pointing a remote correctly about 2 to 3 inches from the receiver and pressing a button, and holding it down?  You should aim a little bit to the left of the red led on the front of the device. Have you tried different ir remotes?

Are you able to learn codes using the software from usbuirt?  If not then it is possible your unit is defective.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: mdsh on September 06, 2013, 07:04:15 PM
Hi James, thank you for the quick response!

I just plugged the USB-UIRT into one of my other computers and it just worked fine  ::confused

Not sure where I went wrong on the other machine as I have sat for the past hour making sure I did everything the same on both.
Thanks again for the quick response. Have a great weekend your side
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 06, 2013, 08:10:28 PM
Sounds like a case of computeroid craptosis.

Did you try different USB ports on the bad computer?  Does it run the same OS etc.?  Is it in the same environment?  IR learning can be sensitive to stray IR signals that can be generated by other sources such as sunlight, and CFL backlights on LCD screens etc.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: mdsh on September 07, 2013, 12:39:43 AM
I did not know that LCD or something like that would affect it... You learn something new every day. So to test I put my laptop (working one) in the same spot as my "faulty" laptop and wouldnt you know it, it didnt work  :bonk HEHEHE does my head in but its good to know. Thanks James and thank you for posting stuff from USB-UIRT on this forum, I def wouldnt have found it otherwise. But it is a really nice unit! And its nice to have both this and an iTach unit. Now I am just trying to see if I can get hold of vera and some zwave products....
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: mdsh on September 07, 2013, 12:55:19 AM
 ;D James thank you so much for this plugin and your xml.... I have never had so much fun learning IR codes  :biglaugh
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: HomieTheClown on September 07, 2014, 09:51:31 PM
Having to dig up this old thread. I seem to be having a problem with using VC and the USBIRT.  When I press a button on any of my remotes, (amulet, A\V remote, etc) the USBIRT will light up with a red dot.  However, in VC when I try to use the USBIRT plugin, I click on the LEARN button and it will tell me to press the button on remote '1'. Well I do, and nothing happens. It doesn't learn any code and my USBIRT doesn't flash red. As soon as I exit out of the plugin and close VC the red flashing comes back when I press a button on one of my remotes.  It's a weird issue.

Not sure what to do!
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 07, 2014, 09:55:12 PM
Are you using the USBUIRT with any other programs?
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: HomieTheClown on September 07, 2014, 09:59:29 PM
On my computer?  Nothing I am aware of. Maybe there is something in the background running that I am not familiar with. I just had to reboot the computer because VC crashed and the red flashing that the USBIRT does wasn't working with any of the remotes until I rebooted.

Hey James on another note, I posted about random 'pausing' that VC was telling XBMC. It's still doing that from time. I have verified that the remote was lying still by itself on the table and wasn't being bumped. It's a weird problem, but I'll post that in another forum later this week. For now I would love to get VC working with the USB thingy.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 07, 2014, 10:05:01 PM
Have you ever used USBUIRT before with any other program?  Or with the software provided by the maker of the device?

Do you know how to learn codes with this device? Did you install any drivers? Did you read anything on the USBUIRT website?

Did you watch this tutorial?


Did you notice on the VC USBUIRT plugin settings that there is a checkbox for "blink on receive"?  Any chance that it is not checked, and checking it will cause the device to blink when receiving IR?
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: HomieTheClown on September 07, 2014, 10:13:21 PM
This is my first experience with this type of device.  I downloaded the driver off of the developer's website and installed it. It shows up like it should in the device manager. I didn't check for any software from the developer. I didn't watch that particular video. I'll check it out now. I watched your other tutorial.


Not sure about the "blink on receive" checkbox. I'll check it out. Thanks as always for helping the users like me out.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 07, 2014, 10:21:11 PM
The one you link to is a demo.  The one I just linked to is a tutorial.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 07, 2014, 10:24:48 PM
http://www.usbuirt.com/getstart.htm
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: HomieTheClown on September 07, 2014, 10:35:03 PM
So do you have to use their software Girder?

I downloaded and installed with a trial 30-day key. Do I need to configure the program to get my buttons working before I mess with VC?

I read the other in this forum who seemed to be having a similar issues. You called it computer craptosis. I'll try another computer.

EDIT*

I got it to work. User error. I didn't try the remote 2-3 inches away like I was supposed too. I stilll want to know if I have to have the program Girder installed.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: nime5ter on September 07, 2014, 11:14:27 PM
I got it to work. User error. I didn't try the remote 2-3 inches away like I was supposed too. I stilll want to know if I have to have the program Girder installed.

You don't need Girder for the USB-UIRT to work with VC.

Testing whether the USB-UIRT worked with Girder would have been useful for helping to problem-solve, but it sounds like you've figured things out now.
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: jitterjames on September 07, 2014, 11:46:56 PM
Don't use Girder.

If you want to test the device outside of VoxCommando use the learning helper utility: http://65.36.202.170/phpBB2/viewtopic.php?t=5943&sid=de720856473b743561a80eed37874bcb
Title: Re: USB-UIRT plugin demonstration of learning IR codes
Post by: HomieTheClown on September 09, 2014, 01:08:07 AM
Got it. I've already deleted it thanks.