Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
USB-UIRT Tips and Tricks
#1
I'm using IR Commands from a universal remote that are not related at all to any of my devices. In other words I just pick some random code for the TV button so that it does not actually control my TV and I can map the received command to any device I want.

I have a situation where my Mute button is supposed to mute my A/V Receiver. So as stated above I send some bogus Mute IR code to the USB Uirt and then when that is received CQC tells the USB UIRT to send the proper IR code to the receiver to mute it.

My problem though is that most of the time when I press mute on my remote the A/V receiver is muted and immediately unmuted. It's as if CQC is sending two mute commands for my one button press. What is the best way to prevent this from happening. I've considered starting a one second timer or maybe doing some math using a time variable to test for duplicate commands but I wanted to see what everyone else would do in this situation.
David
Z-Wave World Magazine|Baltimore Hackerspace
"Why think outside the box when you could let the box think for you." - My take on Home Automation
Reply
#2
Isn't there a repeat setting?


Attached Files
.zip   USB Repeat.zip (Size: 11.41 KB / Downloads: 1)
Reply
#3
Are you sure it's not responding to both what CQC is sending and the original signal from the remote control? If that's not it, then the repeat count could be it. The default repeat count is 2 in a device mode. But, if you are getting a really strong signal and according to the type of IR remote, this might cause it to see two commands. So edit the device model and bump the repeat count down to 1.
Dean Roddey
Explorans limites defectum
Reply
#4
You might have to think about the bounces in your equipment closet or other location. It could be bouncing off of the walls and glass multiple times.
Reply
#5
ive seen this problem before, sort of.

make sure that youre mute button doesnt send out more than 1 command (string?). example, my harmony remote is retarded and for some reason sends out the numbers a zillion times. so when i config'd the USB-UIRT i needed to hit the number buttons very very quickly so it didnt get 2. i used to constantly tune to channels like 112 or 779 because the damn buttons always sent 2 strings (or whatever theyre called).

i think it has something to do with the way you hold down the button to make sure its read into CQC.

could be totally off base though ...
Reply
#6
Dean, the remote is not sending the same IR signal so that's not the issue. Also, I made sure the IR command repeat is set to 1 so unless there is a bug in that it should only be sending one.

I ran out of time last night but tonight I will put a log message in the action and see if it's the action actually being fired twice. My predicition is the same as JK's. I think the remote is sending a bunch of IR commands really fast and CQC is catching multiples and reacting twice. The log messages should confirm it.

If that is the case what is the best possible solution?
David
Z-Wave World Magazine|Baltimore Hackerspace
"Why think outside the box when you could let the box think for you." - My take on Home Automation
Reply
#7
Yeh, you probably captured more than one iteration of the command. Be sure to train it correctly, with the IR output LED of the remote just a couple inches from the front of the UIRT. Otherwise, you can get inconsistent signals.
Dean Roddey
Explorans limites defectum
Reply
#8
Does repeat even affect received IR? I thought that was only in blasted IR.
Les
Reply
#9
It only affects blasting. But if he's in turn sending out IR in the action it would come into play. Otherwise, it's not going to come into play.
Dean Roddey
Explorans limites defectum
Reply
#10
I just tested it out and JK was right. I put a LogMsg in the event action and it's triggering the action two to three times with one press of the IR button.

So is this something Dean would solve on his end by adding another type of delay or is it something I should solve using timers?
David
Z-Wave World Magazine|Baltimore Hackerspace
"Why think outside the box when you could let the box think for you." - My take on Home Automation
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Tips 'o the Day Compilation Dean Roddey 3 13,276 09-11-2019, 01:39 PM
Last Post: Dean Roddey
  usb-uirt error indygreg 1 1,687 05-12-2018, 06:57 PM
Last Post: Dean Roddey
  Repacement for USB-UIRT pjgregory 13 9,040 01-20-2017, 03:57 PM
Last Post: George M
  Test Receiver action in USB-UIRT? Bugman 1 2,307 11-14-2016, 04:31 AM
Last Post: Dean Roddey
  CQC/USB-UIRT to control Comcast STB pbohannon 4 3,614 09-08-2014, 07:56 AM
Last Post: zaccari
  Usb Uirt zaccari 7 4,201 06-21-2013, 05:23 PM
Last Post: Dean Roddey
  USB-UIRT and XBox 360 Debounce (Repeat) IR bph 2 2,714 03-18-2013, 07:21 AM
Last Post: wuench
  Export USB-UIRT Receiver IR & Actions rbarnes09 3 2,357 12-09-2012, 09:04 PM
Last Post: Dean Roddey
  Usb-uirt stinggray 5 3,288 10-10-2011, 05:34 PM
Last Post: Dean Roddey
  Promixis 4-port IR blaster vs. USB UIRT, Girder, etc SpeedDemon 21 13,713 09-18-2011, 10:09 PM
Last Post: RichardU

Forum Jump:


Users browsing this thread: 1 Guest(s)