The BLOnkyo Plug-in for HomeSeer allows control of Onkyo A/V Receivers using an ethernet connection. This plugin is written in VB .Net 4.0 and requires Homeseer Version 4 or later.
You can view all Onkyo commands in the OnkyoCommands.xls file in your [HS root]\Data\BLOnkyo folder.
This is the maintain receivers web page where receivers can be added and maintained in the plug-in.
This is the maintain receiver commands web page where receiver commands can be added and maintained in the plug-in.
This is the Options web page where various configuration settings can be modified.
The following is a list of the receiver properties.
Property Name | Type | Description |
Number | Integer | The receiver number |
Name | String | The name of the receiver |
IpAddress | String | The IP address of the receiver |
Port | String | The port number of the receiver |
MasterVolumeMax | Integer | The maximum volume for the receiver |
The following is a list of the receiver command properties.
Property Name | Type | Description |
Command | String | The receiver command |
Description | String | The description of the command |
Here is a list of the scripting methods that can be utilized with this plug-in.
Parameter | Type | Description |
None |
Return Values | Type | Description |
Receiver Collection | Receiver Object Collection | Returns a collection of Receiver objects. |
This method returns a Receiver object collection of all receivers. |
VB.Net Scripting Example
For Each r As Object In hs.PluginFunction("BLOnkyo", "", "Receivers", Nothing) | |
hs.writelog("Info", "Name: " & r.Name & " is a receiver!") | |
Next |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Return Values | Type | Description |
None |
This method connects a specific receiver. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "Connect", New Object(){1}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Return Values | Type | Description |
None |
This method disconnects a specific receiver. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "Disconnect", New Object(){1}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Command | String | The command to send to the receiver |
Return Values | Type | Description |
theResponse | String | The response sent back from the receiver for the command (if any). |
This method sends a command configured in the plug-in to a receiver. |
VB.Net Scripting Example
Dim theResponse As String = "" | |
theResponse = hs.PluginFunction("BLOnkyo", "", "SendReceiverCommand", New Object(){1,"PWR01"}) | |
hs.writelog("Info", "The response for the command is: " & theResponse) | |
theResponse = Nothing |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Command | String | The command to send. This is the raw command. You will need the protocol document for your receiver in order to find the appropriate commands. |
Return Values | Type | Description |
theResponse | String | The response sent back from the receiver for the command (if any). |
This method sends a raw command to a receiver. |
VB.Net Scripting Example
Dim theResponse As String = "" | |
theResponse = hs.PluginFunction("BLOnkyo", "", "SendRawCommand", New Object(){1,"PWR00"}) | |
hs.writelog("Info", "The response for the command is: " & theResponse) | |
theResponse = Nothing |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
VolumeLevel | Integer | The max volume level to set |
Return Values | Type | Description |
None |
This method sets the maximum volume for a receiver. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "SetMaxVolume", New Object(){1,40}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method turns on power for a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "PowerOn", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method turns off power for a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "PowerOff", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method toggles power for a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "PowerToggle", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method mutes a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "MuteOn", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method unmutes a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "MuteOff", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
Return Values | Type | Description |
None |
This method toggles mute for a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "MuteToggle", New Object(){1,0}) |
Parameter | Type | Description |
ReceiverNumber | Integer | The receiver number |
Zone | Integer | The zone number (0,2,3,4) Use zone 0 for master |
VolumeLevel | Integer | The volume level |
Return Values | Type | Description |
None |
This method sets the volume level for a specific receiver and zone. |
VB.Net Scripting Example
theResponse = hs.PluginFunction("BLOnkyo", "", "SetVolume", New Object(){1,0,50}) |
For support, please use the HomeSeer Message Board