AVR2807 driver
The Denon AVR2807 is a receiver with a serial interface. The avr2807 driver
provides control of this device to domotcl.
Arguments
- connection
- Default: comport.
The next arguments depend on the value of the connection argument:
- socket
- host
- Default: 127.0.0.1.
- port
- Default: 2807.
- comport
- device
- Default: /dev/avr2807.
- baudrate
- Possible values: 300, 600, 1200, 2400, 4800, 9600, 14400, 19200, 28800, 38400, 56000, 57600, 115200, 230400.
Default: 9600.
The AVR device type represents the central components of the receiver.
Properties
- power
- Possible values: STANDBY, ON.
Events
- power
- Fires whenever the value of the power property changes.
Commands
- power state
-
Switch the complete device to ON or STANDBY.
The Main device type provides access to the controls of the main zone.
Properties
- power
- Possible values: OFF, ON.
- mute
- Possible values: OFF, ON.
- volume
- A floating point value between -80 and 18.
Default: -40.
- line
- Possible values: PHONO, CD, TUNER, DVD, VDP, TV, DBS, VCR-1, VCR-2, V.AUX, CDR/TAPE.
- video
- Possible values: DVD, VDP, TV, DBS, VCR-1, VCR-2, V.AUX, SOURCE.
Events
- power
- Fires whenever the value of the power property changes.
- mute
- Fires whenever the value of the mute property changes.
- volume
- Fires whenever the value of the volume property changes.
- line
- Fires whenever the value of the line property changes.
- video
- Fires whenever the value of the video property changes.
Commands
- power state
-
Switch the zone on or off.
- mute state
-
Control sound muting for the zone.
- volume level
-
Directly set the volume level of the zone. The value is in dB and
ranges from -80 to +18 in steps of 0.5 dB.
- volup
-
Increase the volume by 0.5 dB.
- voldown
-
Decrease the volume by 0.5 dB.
- line linesrc
-
Select the audio input source.
- video videosrc
-
Select the video input source.
The Zone2 device type provides access to the controls of zone 2.
Properties
- power
- Possible values: OFF, ON.
- mute
- Possible values: OFF, ON.
- volume
- An integer value between -80 and 18.
Default: -40.
- line
- Possible values: PHONO, CD, TUNER, DVD, VDP, TV, DBS, VCR-1, VCR-2, V.AUX, SOURCE.
Events
- power
- Fires whenever the value of the power property changes.
- mute
- Fires whenever the value of the mute property changes.
- volume
- Fires whenever the value of the volume property changes.
- line
- Fires whenever the value of the line property changes.
Commands
- power state
-
Switch the zone on or off.
- mute state
-
Control sound muting for the zone.
- volume level
-
Directly set the volume level of the zone. The value is in dB and
ranges from -80 to +18 in steps of 1 dB.
- volup
-
Increase the volume by 1 dB.
- voldown
-
Decrease the volume by 1 dB.
- line src
-
Select the audio input source.
The Tuner device type handles the tuner section of the receiver.
Properties
- freq
- A floating point value between 88 and 9999.
- band
- Possible values: AM, FM, XM, AUTO, MANUAL.
- station
- Possible values: A1, A2, A3, A4, A5, A6, A7, A8, B1, B2, B3, B4, B5, B6, B7, B8, C1, C2, C3, C4, C5, C6, C7, C8, D1, D2, D3, D4, D5, D6, D7, D8, E1, E2, E3, E4, E5, E6, E7, E8, F1, F2, F3, F4, F5, F6, F7, F8, G1, G2, G3, G4, G5, G6, G7, G8.
Events
- freq
- Fires whenever the value of the freq property changes.
- band
- Fires whenever the value of the band property changes.
- station
- Fires whenever the value of the station property changes.
Commands
- band band
-
Select the frequency band: AM, FM, XM, AUTO, or MANUAL.
- frequency freq
-
Select a radio station by frequency: 520.00-1710.00 kHz (AM) or
87.50-108.00 MHz (FM).
- station preset
-
Select one of 56 preset radio stations: A1-G8.
|