Difference between revisions of "Plugin UsbUIRT"
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 11:25, 13 January 2021
For more information about the plugin please also see: Plugin UsbUuirt Guide
Go to the main Plugins page.
Go to the complete Plugin List.
Contents
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
- 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
- OnTransmit : True means blink when sending IR [boolean]
- 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
- 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
- IR Code : Can be UUIRT or Pronto format [string]
- Repeat : [integer]