USB-UIRT and Homeseer's HSPI_UIRT ActiveX

123

Senior Member
Homeseer has an ActiveX object called HSPI_UIRT.OCX that provides a programmable interface to a USB-UIRT (an IR tranceiver). A typical Homeseer user never uses the OCX directly; it is used by Homeseer to communicate with a USB-UIRT.

However, it is an ActiveX object so it should be possible to use it in your own program (VBScript, VBA, Javascript, etc). Does anyone know how to use the object's functions? I'd like to know how to use:
InitIR
RegisterCallback
PlayIR
LearnIR
etc

I wrote a simple script to display the USB-UIRT's internal parameters (that's no sweat) but I can't find any information explaining how to use the functions. I'm guesing these functions are probably executed in a specific order and RegisterCallback is probably initialized with the name of a handler function for incoming IR signals.

Code:
Set oUIRT =  CreateObject("HSPI_UIRT.HSPI")
WScript.Echo "Name: " & oUIRT.Name & " Devices: " & oUIRT.MaxDevices & _
	" Zones: " & oUIRT.MaxZones & " Keys: " & oUIRT.MaxKeys
WScript.Echo "opts: " & oUIRT.HasOptions & " Match: " & oUIRT.SupportsIRMatch
Set oUIRT = Nothing

Any Homeseer gurus know where I can find more information about this OCX? I didn't find much about it in the HS forums.
 
Homeseer has an ActiveX object called HSPI_UIRT.OCX that provides a programmable interface to a USB-UIRT (an IR tranceiver). A typical Homeseer user never uses the OCX directly; it is used by Homeseer to communicate with a USB-UIRT.

However, it is an ActiveX object so it should be possible to use it in your own program (VBScript, VBA, Javascript, etc). Does anyone know how to use the object's functions? I'd like to know how to use:
InitIR
RegisterCallback
PlayIR
LearnIR
etc

I wrote a simple script to display the USB-UIRT's internal parameters (that's no sweat) but I can't find any information explaining how to use the functions. I'm guesing these functions are probably executed in a specific order and RegisterCallback is probably initialized with the name of a handler function for incoming IR signals.

Code:
Set oUIRT =  CreateObject("HSPI_UIRT.HSPI")
WScript.Echo "Name: " & oUIRT.Name & " Devices: " & oUIRT.MaxDevices & _
	" Zones: " & oUIRT.MaxZones & " Keys: " & oUIRT.MaxKeys
WScript.Echo "opts: " & oUIRT.HasOptions & " Match: " & oUIRT.SupportsIRMatch
Set oUIRT = Nothing

Any Homeseer gurus know where I can find more information about this OCX? I didn't find much about it in the HS forums.
The owner of that plugin should be able to help you on his message board. http://www.usbuirt.com/
 
Rupp,

I thought Homeseer developed the OCX.

If you right-click the file and check its Version properties, "Keware Technologies LLC" is listed in "Company". http://www.keware.com takes you directly to Homeseer's site.

What's up with that?
 
So "Keware" is a red herring because the Homeseer Plugin SDK signs all bespoke plugins this way. OK.

I'll try contacting USB-UIRT Support. However, I was hoping someone with HS experience would know the answer since it is HS that talks to the plugin (so it understands the plugin's interface). If I find the OCX's spec I'll report back; it can be useful to anyone wishing to add USB-UIRT support to their custom HA app.
 
Just an FYI. Keware is the original name for Homeseer Inc. They changed the company name to match the software W-A-A-Y back when. They must have missed the reference in the SDK.
 
Back
Top