Mopidy extension for controlling volume using an external Arcam amplifier. Developed and tested with an Arcam AVR-300.
Install by running:
sudo pip install Mopidy-Arcam
Or install the Debian/Ubuntu package from apt.mopidy.com.
The Mopidy-Arcam extension is enabled by default. To disable it, add the
following to mopidy.conf
:
[arcam] enabled = true
The Arcam amplifier must be connected to the machine running Mopidy using a serial cable.
To use the Arcam amplifier ot control volume, set the audio/mixer
config
value in mopidy.conf
to arcammixer
. You probably also needs to add some
properties to the audio/mixer
config value.
Supported properties includes:
port
:- The serial device to use, defaults to
/dev/ttyUSB0
. This must be set correctly for the mixer to work. source
:- The source that should be selected on the amplifier, like
DVD
,PVR
,VCR
,CD
,FM
,AM
,SAT
,DVDA
, etc. Leave unset if you don't want the mixer to change it for you. speakers-a
:- Set to
on
oroff
if you want the mixer to make sure that speaker set A is turned on or off. Leave unset if you don't want the mixer to change it for you. speakers-b
:- See
speakers-a
.
Configuration examples:
# Minimum configuration, if the amplifier is available at /dev/ttyUSB0 [audio] mixer = arcammixer # Minimum configuration, if the amplifier is available elsewhere [audio] mixer = arcammixer port=/dev/ttyAMA0 # Full configuration [audio] mixer = arcammixer port=/dev/ttyAMA0 source=aux
- Initial version for the Arcam receiver; based on a fork from the NAD mixer.
- Now Mopidy will also handle if the volume of the amplifier is changed outside Mopidy. The volume is updated more or less instanyly and any client will get the updated volume when asking for the volume.