GetVolume

Purpose

This function returns the volume of the requested channel.

Parameters

Parameter: channel
Type: long
Description: Use 0 for the left channel and 1 for the right channel.

Parameter: device id
Type: long
Description: This is the ID of the device to get the volume from.  0 is normally the system sound card.

Parameter: host (optional)
Type: string
Description: Leaving this a null string will apply the command to the first instance HomeSeer finds, otherwise use the hostname of the computer for this command.  If more than one instance of the Speaker application is running on "host" then you may need to specify the instance as well in the format host:instance.

Returns

Return value: volume level
Type: long
Description: This is the current volume level of the requested channel.  The range is 0 - 20.