This is a driver for Denon AVRs using either the RS-232 connection, or TCP through a network connection (AVR-4306, AVR-4806, AVR-5805 etc.). While Denon publishes a single protocol, there are many variations within it by model. This has been tested with the Denon 4306 and 3805. I have entered in the names of as many input devices as I could find supported by Denon. If your input select command doesn't work, make sure that you have selected the correct input name for your model. The foundation of this driver is from Brad Ridgway's Onkyo receiver driver, with significant changes to support the Denon AVR.
Manufacturer:
D&M Holdings Inc.Primary Communications Port: Serial, Network
Table of Contents [Hide/Show] Configuration Settings Events Tuner Preset Text Changed Tuner Band Changed Zone Power State Changed Zone Mute State Changed Zone Volume Changed Zone Source Changed Listening Mode Changed Listening Mode Text Changed Tuner Preset Tuner Frequency Tuner Frequency Text Ready State Changed Instance Properties Connected TunerPresetText TunerBand ZonePowerStates ZoneMuteStates ZoneVolumes ZoneSources ZoneSourceNames ZoneVolumeTexts ListeningMode ListeningModeText TunerPreset TunerFrequency TunerFrequencyText ZoneNames SourceNames DeviceDisplayName DeviceStartTime DeviceLifecycleStage DeviceIsRunningAndReady Instance Methods SendRawCommand ( String ) SetZonePower ( Number, Boolean ) TurnAllZonesOff ToggleZonePower ( Number ) TurnZoneOn ( Number ) TurnZoneOff ( Number ) ToggleZoneMute ( Number ) MuteZone ( Number ) UnmuteZone ( Number ) SetZoneVolume ( Number, Number ) IncrementZoneVolume ( Number ) DecrementZoneVolume ( Number ) SetZoneSource ( Number, Number ) CycleZoneSource ( Number ) ListeningModeUp ListeningModeDown TunerPresetUp TunerPresetDown TunerTuneUp TunerTuneDown SetTunerBand ( Number ) TunerToggleBand SetPropertyForDuration ( String, TimeSpan, Object, Object ) SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )
|
Configuration Settings
- TCP Host Name : (optional) The host name or ip address of the Denon Receiver network interface.
- Serial Port Name : (optional) The name of the serial port that the Denon Receiver is connected to. Ex. COM1
- ZoneNames : (optional) Enter the name of each zone.
- Denon Model Name : (optional) The model name Denon Receiver.
Events
Tuner Preset Text Changed
Occurs when the volume level changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Tuner Band Changed
Occurs when the tuner band changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Power State Changed
Occurs when a zone's power state changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Mute State Changed
Occurs when a zone's mute state changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Volume Changed
Occurs when a zone's volume level changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Zone Source Changed
Occurs when a zone's source changes.
Whenever Filter:
- PropertyIndex : The index in the property's array. This is used for device properties that represent an array (or list) of values.
EventArgs:
- Number Index : The index within the property array.
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Listening Mode Changed
Occurs when the listening mode changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Listening Mode Text Changed
Occurs when the listening mode changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Tuner Preset
Occurs when the tuner preset changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Tuner Frequency
Occurs when the tuner frequency changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Tuner Frequency Text
Occurs when the tuner frequency changes.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Ready State Changed
The device's running and ready state changed.
Whenever Filter:
none
EventArgs:
- Number NewValue : The new property value.
- Number PreviousValue : The previous property value.
Instance Properties
Connected
Gets a value indicating if a connection is established with the Denon Receiver.
Accessibility : Read Only
Type:
BooleanTunerPresetText
Gets a value indicating the tuner preset Denon Receiver.
Accessibility : Read Only
Type:
StringTunerBand
Gets a value indicating the tuner band of the Denon Receiver.
Accessibility : Read Only
Type:
StringZonePowerStates
Gets or sets all zone power states (on/off).
Accessibility : Read Only
Type:
ArrayZoneMuteStates
Gets or sets all zone mute states (on/off).
Accessibility : Read Only
Type:
ArrayZoneVolumes
Gets or sets all zone volume levels (0-99 Zone 1, 10-99 Zones 2 & 3).
Accessibility : Read Only
Type:
ArrayZoneSources
Gets or sets all zone inputs.
Accessibility : Read Only
Type:
ArrayZoneSourceNames
Gets the current source name for all zones.
Accessibility : Read Only
Type:
ArrayZoneVolumeTexts
Gets the volume level text for all zones.
Accessibility : Read Only
Type:
ArrayListeningMode
Gets or sets the current listing mode.
Accessibility : Read / Write
Type:
NumberListeningModeText
Gets the current listening mode.
Accessibility : Read Only
Type:
StringTunerPreset
Gets or sets the preset value between 1 and 56 (1-8 = A1-A8, 9-16 = B1-B8...).
Accessibility : Read / Write
Type:
NumberTunerFrequency
Gets or sets the tuner frequency.
Accessibility : Read / Write
Type:
NumberTunerFrequencyText
Gets the formatted tuner frequency.
Accessibility : Read Only
Type:
StringZoneNames
An array containing the Name for each zone.
Accessibility : Read Only
Type:
ArraySourceNames
Gets all the source names.
Accessibility : Read Only
Type:
ArrayDeviceDisplayName
The display name for this device.
Accessibility : Read Only
Type:
StringDeviceStartTime
The date and time when this device was started.
Accessibility : Read Only
Type:
DateTimeDeviceLifecycleStage
The current lifecycle stage of the device. The stages in order are: Pending Start, Starting, Running, Stopping
Accessibility : Read Only
Type:
NumberDeviceIsRunningAndReady
Indicates if the device is ready for use, ie it is in the Running lifecycle stage and all properties are valid and all methods are ready to be used.
Accessibility : Read Only
Type:
Boolean
Instance Methods
SendRawCommand ( String )
Sends a command that may otherwise not be supported by the driver.
SyntaxParameterscommand : The command string to send. The driver will append the command with a carriage-return .
SetZonePower ( Number, Boolean )
Set Power On or Off for a specific zone.
SyntaxParameterszone : Zone: 1, 2 or 3
state : true for On and false for Off
TurnAllZonesOff
Turn all zones off.
SyntaxParametersnone
ToggleZonePower ( Number )
Toggle the specified zone on and off. This is the same as pushing the PWR button on the DisplayPad.
SyntaxParameterszoneNumber : The zone number to toggle the power.
TurnZoneOn ( Number )
Turn the specified zone on if it is not already on.
SyntaxParameterszoneNumber : The zone number to power on. (1-3)
TurnZoneOff ( Number )
Turn the specified zone off if it is not already off.
SyntaxParameterszoneNumber : The zone number to power off. (1-3)
ToggleZoneMute ( Number )
Turns the mute on and off for a zone. This is the same as pushing the MUTE button on the DisplayPad.
SyntaxParameterszoneNumber : The zone number to toggle muting. (1-3)
MuteZone ( Number )
Turn the mute on for a zone.
SyntaxParameterszoneNumber : The zone number to mute. (1-3)
UnmuteZone ( Number )
Turn the mute off for a zone.
SyntaxParameterszoneNumber : The zone number to unmute. (1-3)
SetZoneVolume ( Number, Number )
Set Volume level for a specific zone.
SyntaxParameterszone : Zone: 1, 2 or 3
volume : Level: 0-99 for Zone 1, 10-99 for Zones 2 & 3
IncrementZoneVolume ( Number )
Sends a command that increases to next available volume level.
SyntaxParameterszone : Zone: 1, 2 or 3
DecrementZoneVolume ( Number )
Sends a command that decreases to next available volume level.
SyntaxParameterszone : Zone: 1, 2 or 3
SetZoneSource ( Number, Number )
Set source for a specific zone.
SyntaxParameterszone : Zone: 1, 2 or 3
source : Gets all zone source.
1 = PHONO
2 = CD
3 = TUNER
4 = DVD
5 = VDP
6 = TV
7 = DBS
8 = VCR-1
9 = VCR-2
10 = V.AUX
11 = CDR/TAPE
12 = AUXNET
13 = AUXIPOD
14 = DBS/SAT
15 = CDR/TAPE1
16 = SAT/CBL
17 = HDP
18 = TV/CBL
19 = MD/TAPE2
20 = SAT
21 = VCR
22 = DVR
23 = NET/USB
24 = XM
25 = SIRIUS
26 = HDRADIO
27 = IPOD
28 = VCR-3
29 = RHAPSODY
30 = NAPSTER
31 = IRADIO
32 = SERVER
33 = USB/IPOD
34 = FAVORITES
CycleZoneSource ( Number )
Cycles through each of the available sources for a zone. When the last source is reached, the next source is the first available source.
SyntaxParameterszoneNumber : The zone number. (1-3)
ListeningModeUp
Sends a command that increases to next available listening mode.
SyntaxParametersnone
ListeningModeDown
Sends a command that decreases to next available listening mode.
Syntaxvoid ListeningModeDown( )
Parametersnone
TunerPresetUp
Sends a command that increases to next available preset.
SyntaxParametersnone
TunerPresetDown
Sends a command that decreases to next available preset.
SyntaxParametersnone
TunerTuneUp
Sends a command that increases to next available channel.
SyntaxParametersnone
TunerTuneDown
Sends a command that decreases to next available frequency.
SyntaxParametersnone
SetTunerBand ( Number )
Set the tuner band to AM, FM or XM.
SyntaxParametersband : The band (0=AM, 1=FM, 2=XM).
0 = AM
1 = FM
2 = XM
TunerToggleBand
Sends a command that toggles the tuner band AM->FM->XM.
SyntaxParametersnone
SetPropertyForDuration ( String, TimeSpan, Object, Object )
Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.
SyntaxParameterspropertyName : The name of the property to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.
SetPropertyForDuration ( String, Number, TimeSpan, Object, Object )
Sets a property for a duration of time and then sets the property to a subequent value asynchronously. This action returns after setting the first value and the timer and subsequent property set run in the background. Subsequent sets of the same property will reset the timer if the subsequent value has not yet been set. This is an advanced feature, be sure to set the property name correctly.
SyntaxParameterspropertyName : The name of the property to set.
arrayIndex : The property's array index to set.
duration : The amount of time to wait after setting the initial value to set the subsequent value.
initialValue : The value to set the property to initially.
finalValue : The value to set the property to after the duration of time has passed.