Plugin UsbUIRT

From VoxCommando
Revision as of 12:03, 25 November 2014 by Jitterjames (talk) (1 revision)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

For more information about the plugin please also see: Plugin UsbUuirt Guide

Go to the main Plugins page.

Go to the complete Plugin List.


Plugin Description

Sends and receives IR signals using the USB-UIRT transceiver

IR received will generate an Event. IR codes are sent using the "Pronto" code format. Learning mode allows Pronto codes to be learned and stored

Actions for the UsbUIRT plugin

LearnPronto

UsbUIRT.LearnPronto
Puts the USB-UIRT into learn mode.
Codes will be learned in Pronto mode.
When a code is learned, an event will be generated with the code as payload {1}
If the code is shorter than <MinLength> the event name will be: UUIRT.LearnTooShort
Otherwise the event name will be: UUIRT.LearnComplete

  • Parameters: 0-1
  1. MinLength : The minimum length of the learned code that is considered valid [']

CancelLearn

UsbUIRT.CancelLearn
Cancels learning mode and returns the USB-UIRT to normal mode of operation.

SetBlink

UsbUIRT.SetBlink
Enter True or False for both parameters to set how the device will blink when sending and receiving IR signals.

  • Parameters: 2
  1. OnTransmit : True means blink when sending IR [boolean]
  2. OnReceive : True means blink when receiving IR [boolean]

LearnUU

UsbUIRT.LearnUU
Puts the USB-UIRT into learn mode.
Codes will be learned in UUIRT mode (shorter codes).
When a code is learned, an event will be generated with the code as payload {1}
If the code is shorter than <MinLength> the event name will be: UUIRT.LearnTooShort
Otherwise the event name will be: UUIRT.LearnComplete

  • Parameters: 0-1
  1. MinLength : The minimum length of the learned code that is considered valid [integer]

Send

UsbUIRT.Send
Sends (blasts) the infrared code specified by <IR Code>.
Sends the code <Repeat> times.

  • Parameters: 1-2
  1. IR Code : Can be UUIRT or Pronto format [string]
  2. Repeat : [integer]