Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Problem: Multiroom Audio - Receiver Volume Control Not Working
#1
Hey Folks -- I'm running multiroom audio with Moode 8.0.2.  So far, works flawlessly.  I've noticed, that I'm unable to control individual receiver volume from the sender console. I've done tried this with both the master opt-in volume enabled and also disabled.  I swear it's worked before.

Thanks ahead of time for the help.


Attached Files Thumbnail(s)
   
Reply
#2
Receivers need to be configured for Hardware volume in Audio Config.
In other words select "Hardware" in the "Volume type" dropdown in Audio Config.

Also have a look at the moOde log to see of there are any errors related to communicating with the Receivers.

Code:
moodeutl -l
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#3
(05-18-2022, 08:11 PM)Tim Curtis Wrote: Receivers need to be configured for Hardware volume in Audio Config.
In other words select "Hardware" in the "Volume type" dropdown in Audio Config.

Also have a look at the moOde log to see of there are any errors related to communicating with the Receivers.

Code:
moodeutl -l

Thanks Tim -- I can confirm all receivers are in hardware mode.  I'm attaching the output of the audiocontroller and one receiver which doesn't seem to be throwing any errors.  I also checked the receivers, they aren't throwing errors either.  Please note the master volume control works great.  I just can't control individual receivers.

Let me know what other output I can provide to help troubleshoot.

Code:
pi@AudioController:~ $ moodeutl -l
20220518 145034 worker: --
20220518 145034 worker: -- Start moOde 8 series
20220518 145034 worker: --
20220518 145034 worker: Successfully daemonized
20220518 145036 worker: File check (OK)
20220518 145036 worker: Session vacuumed
20220518 145036 worker: Session loaded
20220518 145036 worker: Debug logging (OFF)
20220518 145036 worker: --
20220518 145036 worker: -- Audio debug
20220518 145036 worker: --
20220518 145036 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20220518 145036 worker: MPD config: (0:Pi HDMI 1 | mixer:(HDMI) | card:0)
20220518 145036 worker: ALSA mixer actual (HDMI)
20220518 145036 worker: ALSA HDMI volume set to (0%)
20220518 145036 worker: --
20220518 145036 worker: -- System
20220518 145036 worker: --
20220518 145037 moode.php: MPD connect failed: cmd=(loadlib)
20220518 145037 moode.php: MPD connect failed: cmd=(lsinfo)
20220518 145037 worker: Host      (AudioController)
20220518 145037 worker: moOde     (8.0.2 2022-03-25)
20220518 145037 worker: RaspiOS   (11.2)
20220518 145037 worker: Kernel    (5.15.28-v7l+ #1532)
20220518 145037 worker: Platform  (Pi-4B 1.5 4GB)
20220518 145037 worker: ARM arch  (armv7l, 32-bit)
20220518 145037 worker: MPD ver   (0.23.5)
20220518 145037 worker: CPU gov   (ondemand)
20220518 145038 worker: USB boot  (enabled)
20220518 145038 worker: File sys  (expanded)
20220518 145038 worker: HDMI port (Off)
20220518 145038 worker: Sys LED0  (Off)
20220518 145038 worker: Sys LED1  (Off)
20220518 145038 worker: --
20220518 145038 worker: -- Network
20220518 145038 worker: --
20220518 145038 worker: eth0 adapter exists
20220518 145038 worker: eth0 wait for address (No)
20220518 145038 worker: IP addr (192.168.1.15)
20220518 145038 worker: Netmask (255.255.255.0)
20220518 145038 worker: Gateway (192.168.1.1)
20220518 145038 worker: Pri DNS (8.8.8.8)
20220518 145038 worker: Domain  ()
20220518 145038 worker: wlan0 adapter does not exist
20220518 145038 worker: --
20220518 145038 worker: -- Audio config
20220518 145038 worker: --
20220518 145038 worker: MPD conf update skipped (Tx On)
20220518 145038 worker: ALSA card number (0)
20220518 145038 worker: MPD audio output (Pi HDMI 1)
20220518 145038 worker: Audio formats (U8, S16_LE)
20220518 145038 worker: ALSA mixer name (HDMI)
20220518 145038 worker: MPD mixer type (hardware)
20220518 145038 worker: Hdwr volume controller exists
20220518 145038 worker: Max ALSA volume (100%)
20220518 145038 worker: ALSA output mode (Default: plughw)
20220518 145038 worker: ALSA loopback (On)
20220518 145038 worker: Reset renderer active flags
20220518 145038 worker: CamillaDSP (off)
20220518 145038 worker: --
20220518 145038 worker: -- MPD startup
20220518 145038 worker: --
20220518 145039 worker: MPD started
20220518 145039 worker: MPD accepting connections
20220518 145039 worker: MPD output 1 ALSA Default (on)
20220518 145039 worker: MPD output 2 ALSA Bluetooth (off)
20220518 145039 worker: MPD output 3 HTTP Server (off)
20220518 145039 worker: MPD crossfade (off)
20220518 145039 worker: MPD ignore CUE files (yes)
20220518 145039 worker: --
20220518 145039 worker: -- Feature availability
20220518 145039 worker: --
20220518 145039 worker: Source select (available)
20220518 145039 worker: Source select (source: MPD)
20220518 145039 worker: Source select (output: Pi HDMI 1)
20220518 145046 worker: Bluetooth pairing agent (started)
20220518 145046 worker: Bluetooth (available: started)
20220518 145046 worker: Airplay renderer (available: started)
20220518 145046 worker: Spotify renderer (available: started)
20220518 145046 worker: Squeezelite (available)
20220518 145046 worker: RoonBridge renderer (not installed)
20220518 145046 worker: Multiroom sender (available: started)
20220518 145046 worker: Multiroom receiver (available)
20220518 145046 worker: UPnP renderer (available)
20220518 145046 worker: DLNA server (available)
20220518 145046 worker: UPnP browser (available)
20220518 145046 worker: GPIO button handler (available)
20220518 145046 worker: Stream recorder (n/a)
20220518 145046 worker: --
20220518 145046 worker: -- Music sources
20220518 145046 worker: --
20220518 145046 worker: USB sources (none attached)
20220518 145046 worker: NAS and UPnP sources (none configured)
20220518 145046 worker: --
20220518 145046 worker: -- Other
20220518 145046 worker: --
20220518 145046 worker: USB volume knob (Off)
20220518 145046 worker: USB auto-mounter (udisks-glue)
20220518 145046 worker: Saved MPD vol level (0)
20220518 145046 worker: Preamp volume level (0)
20220518 145046 worker: MPD volume level (20) restored
20220518 145047 worker: ALSA HDMI volume (61%)
20220518 145047 worker: Auto-play (Off)
20220518 145047 worker: Maintenance interval (120 minutes)
20220518 145047 worker: Screen saver activation (Never)
20220518 145047 worker: Session permissions (OK)
20220518 145047 worker: Watchdog started
20220518 145047 worker: Ready
20220518 190911 worker: Job airplaysvc
pi@AudioController:~ $

Code:
pi@PorchAudio:~ $ moodeutl -l
20220516 221852 worker: --
20220516 221852 worker: -- Start moOde 8 series
20220516 221852 worker: --
20220516 221852 worker: Successfully daemonized
20220516 221854 worker: File check (OK)
20220516 221854 worker: Session vacuumed
20220516 221854 worker: Session loaded
20220516 221854 worker: Debug logging (OFF)
20220516 221854 worker: --
20220516 221854 worker: -- Audio debug
20220516 221854 worker: --
20220516 221854 worker: ALSA cards: (0:sndrpihifiberry | 1:empty | 2:empty | 3:empty
20220516 221854 worker: MPD config: (0:HiFiBerry Amp2 | mixer:(Digital) | card:0)
20220516 221854 worker: ALSA mixer actual (Digital)
20220516 221854 worker: ALSA Digital volume set to (0%)
20220516 221854 worker: --
20220516 221854 worker: -- System
20220516 221854 worker: --
20220516 221855 worker: Host      (PorchAudio)
20220516 221856 worker: moOde     (8.0.2 2022-03-25)
20220516 221856 worker: RaspiOS   (11.2)
20220516 221856 worker: Kernel    (5.15.28-v7l+ #1532)
20220516 221856 worker: Platform  (Pi-4B 1.5 4GB)
20220516 221856 worker: ARM arch  (armv7l, 32-bit)
20220516 221856 worker: MPD ver   (0.23.5)
20220516 221856 worker: CPU gov   (ondemand)
20220516 221856 worker: USB boot  (enabled)
20220516 221856 worker: File sys  (expanded)
20220516 221856 worker: HDMI port (Off)
20220516 221856 worker: Sys LED0  (Off)
20220516 221856 worker: Sys LED1  (Off)
20220516 221856 worker: --
20220516 221856 worker: -- Network
20220516 221856 worker: --
20220516 221856 worker: eth0 adapter exists
20220516 221856 worker: eth0 wait for address (No)
20220516 221856 worker: eth0 address not assigned
20220516 221856 worker: wlan0 adapter exists
20220516 221856 worker: wlan0 country (US)
20220516 221856 worker: wlan0 trying SSID (ufomb)
20220516 221856 worker: IP addr (192.168.1.20)
20220516 221856 worker: Netmask (255.255.255.0)
20220516 221856 worker: Gateway (192.168.1.1)
20220516 221856 worker: Pri DNS (8.8.8.8)
20220516 221856 worker: Domain  ()
20220516 221856 worker: wlan0 power save disabled
20220516 221856 worker: --
20220516 221856 worker: -- Audio config
20220516 221856 worker: --
20220516 221856 worker: MPD conf updated
20220516 221856 worker: ALSA card number (0)
20220516 221856 worker: MPD audio output (HiFiBerry Amp2)
20220516 221857 worker: Audio formats (S16_LE, S24_LE, S32_LE)
20220516 221857 worker: ALSA mixer name (Digital)
20220516 221857 worker: MPD mixer type (hardware)
20220516 221857 worker: Hdwr volume controller exists
20220516 221857 worker: Max ALSA volume (100%)
20220516 221857 worker: ALSA output mode (Default: plughw)
20220516 221857 worker: ALSA loopback (Off)
20220516 221857 worker: Reset renderer active flags
20220516 221857 worker: CamillaDSP (off)
20220516 221857 worker: --
20220516 221857 worker: -- MPD startup
20220516 221857 worker: --
20220516 221857 worker: MPD started
20220516 221857 worker: MPD accepting connections
20220516 221857 worker: MPD output 1 ALSA Default (on)
20220516 221857 worker: MPD output 2 ALSA Bluetooth (off)
20220516 221857 worker: MPD output 3 HTTP Server (off)
20220516 221857 worker: MPD crossfade (off)
20220516 221857 worker: MPD ignore CUE files (yes)
20220516 221857 worker: --
20220516 221857 worker: -- Feature availability
20220516 221857 worker: --
20220516 221857 worker: Source select (available)
20220516 221857 worker: Source select (source: MPD)
20220516 221857 worker: Source select (output: HiFiBerry Amp2)
20220516 221905 worker: Bluetooth (available: started)
20220516 221905 worker: Airplay renderer (available: started)
20220516 221905 worker: Spotify renderer (available: started)
20220516 221905 worker: Squeezelite (available)
20220516 221905 worker: RoonBridge renderer (not installed)
20220516 221905 worker: Multiroom sender (available)
20220516 221905 worker: Multiroom receiver (available: started)
20220516 221905 worker: UPnP renderer (available)
20220516 221905 worker: DLNA server (available)
20220516 221905 worker: UPnP browser (available)
20220516 221905 worker: GPIO button handler (available)
20220516 221905 worker: Stream recorder (n/a)
20220516 221905 worker: --
20220516 221905 worker: -- Music sources
20220516 221905 worker: --
20220516 221905 worker: USB sources (none attached)
20220516 221905 worker: NAS and UPnP sources (none configured)
20220516 221905 worker: --
20220516 221905 worker: -- Other
20220516 221905 worker: --
20220516 221905 worker: USB volume knob (Off)
20220516 221905 worker: USB auto-mounter (udisks-glue)
20220516 221905 worker: Saved MPD vol level (0)
20220516 221905 worker: Preamp volume level (0)
20220516 221905 worker: MPD volume level (28) restored
20220516 221905 worker: ALSA Digital volume (68%)
20220516 221905 worker: Auto-play (Off)
20220516 221905 worker: Maintenance interval (120 minutes)
20220516 221905 worker: Screen saver activation (Never)
20220516 221905 worker: Session permissions (OK)
20220516 221905 worker: Watchdog started
20220516 221905 worker: Ready
20220516 223744 worker: Job multiroom_rx_restart
20220516 224044 worker: Job multiroom_rx_restart
20220516 224203 worker: Job multiroom_rx_restart
20220516 224222 worker: Job multiroom_rx_restart
20220516 224651 worker: Job multiroom_rx_restart
20220518 191104 worker: Job multiroom_rx_restart
20220518 191127 worker: Job multiroom_rx_restart
pi@PorchAudio:~ $
Reply
#4
Very odd
"Please note the master volume control works great. I just can't control individual receivers."

Turn on Debug logging in System config and then see if there are any Receiver errors in the moOde log after updating an individual receiver's volume.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#5
(05-18-2022, 11:53 PM)Tim Curtis Wrote: Very odd
"Please note the master volume control works great.  I just can't control individual receivers."

Turn on Debug logging in System config and then see if there are any Receiver errors in the moOde log after updating an individual receiver's volume.


Here's the output from the sender, I changed volume on a few receivers with a) nothing occuring and b) no errors being thrown.  

Please note I've tried this with both the received opted-in to the master volume and also having that setting disabled.  Muting and unchecking individual receivers from the sender also works.

So, I'm not sure where to go from here?  Do I reimage the sender?  Also please note, the sender is ONLY setup to be that function.  It's not doing anything else.

Please advise.


Code:
pi@AudioController:~ $ moodeutl -l
20220519 122922 worker: --
20220519 122922 worker: -- Start moOde 8 series
20220519 122922 worker: --
20220519 122923 worker: Successfully daemonized
20220519 122924 worker: File check (OK)
20220519 122925 openMpdSocket(): error: connection failed (1) 111, Connection refused
20220519 122925 worker: Session vacuumed
20220519 122925 worker: Session loaded
20220519 122925 worker: Debug logging (ON)
20220519 122925 worker: --
20220519 122925 worker: -- Audio debug
20220519 122925 worker: --
20220519 122925 worker: ALSA cards: (0:b1 | 1:Headphones | 2:empty | 3:empty
20220519 122925 worker: MPD config: (0:Pi HDMI 1 | mixer:(HDMI) | card:0)
20220519 122925 worker: ALSA mixer actual (HDMI)
20220519 122925 worker: ALSA HDMI volume set to (0%)
20220519 122925 worker: --
20220519 122925 worker: -- System
20220519 122925 worker: --
20220519 122925 openMpdSocket(): error: connection failed (2) 111, Connection refused
20220519 122926 openMpdSocket(): error: connection failed (3) 111, Connection refused
20220519 122926 worker: Host      (AudioController)
20220519 122926 openMpdSocket(): error: connection failed (4) 111, Connection refused
20220519 122926 worker: moOde     (8.0.2 2022-03-25)
20220519 122926 worker: RaspiOS   (11.2)
20220519 122926 worker: Kernel    (5.15.28-v7l+ #1532)
20220519 122926 worker: Platform  (Pi-4B 1.5 4GB)
20220519 122926 worker: ARM arch  (armv7l, 32-bit)
20220519 122926 worker: MPD ver   (0.23.5)
20220519 122926 worker: CPU gov   (ondemand)
20220519 122926 worker: USB boot  (enabled)
20220519 122926 worker: File sys  (expanded)
20220519 122926 worker: HDMI port (Off)
20220519 122926 worker: Sys LED0  (Off)
20220519 122926 worker: Sys LED1  (Off)
20220519 122926 worker: --
20220519 122926 worker: -- Network
20220519 122926 worker: --
20220519 122926 worker: eth0 adapter exists
20220519 122926 worker: eth0 wait for address (No)
20220519 122926 worker: IP addr (192.168.1.15)
20220519 122927 worker: Netmask (255.255.255.0)
20220519 122927 worker: Gateway (192.168.1.1)
20220519 122927 worker: Pri DNS (8.8.8.8)
20220519 122927 worker: Domain  ()
20220519 122927 worker: wlan0 adapter does not exist
20220519 122927 worker: --
20220519 122927 worker: -- Audio config
20220519 122927 worker: --
20220519 122927 worker: MPD conf update skipped (Tx On)
20220519 122927 worker: ALSA card number (0)
20220519 122927 openMpdSocket(): error: connection failed (5) 111, Connection refused
20220519 122927 worker: MPD audio output (Pi HDMI 1)
20220519 122927 worker: Audio formats (U8, S16_LE)
20220519 122927 worker: ALSA mixer name (HDMI)
20220519 122927 worker: MPD mixer type (hardware)
20220519 122927 worker: Hdwr volume controller exists
20220519 122927 worker: Max ALSA volume (100%)
20220519 122927 worker: ALSA output mode (Default: plughw)
20220519 122927 worker: ALSA loopback (On)
20220519 122927 worker: Reset renderer active flags
20220519 122927 worker: CamillaDSP (off)
20220519 122927 worker: --
20220519 122927 worker: -- MPD startup
20220519 122927 worker: --
20220519 122927 openMpdSocket(): error: connection failed (6) 111, Connection refused
20220519 122927 worker: MPD started
20220519 122927 worker: MPD accepting connections
20220519 122927 worker: MPD output 1 ALSA Default (on)
20220519 122927 worker: MPD output 2 ALSA Bluetooth (off)
20220519 122927 worker: MPD output 3 HTTP Server (off)
20220519 122927 worker: MPD crossfade (off)
20220519 122927 worker: MPD ignore CUE files (yes)
20220519 122927 worker: --
20220519 122927 worker: -- Feature availability
20220519 122927 worker: --
20220519 122927 worker: Source select (available)
20220519 122927 worker: Source select (source: MPD)
20220519 122928 worker: Source select (output: Pi HDMI 1)
20220519 122928 moode.php: MPD connect failed: cmd=(playlist)
20220519 122935 worker: Bluetooth pairing agent (started)
20220519 122935 worker: Bluetooth (available: started)
20220519 122935  startAirplay(): (/usr/bin/shairport-sync -vvu -a "AudioControllerAP" -- -d plughw:Loopback,0 > /var/log/shairport-sync.log 2>&1 &)
20220519 122935 worker: Airplay renderer (available: started)
20220519 122935 startSpotify(): (librespot --name "AudioController Spotify" --bitrate 160 --format S16 --mixer softvol --initial-volume 0 --volume-ctrl log --volume-range 60 --cache /var/local/www/spotify_cache --disable-audio-cache --backend alsa --device "plughw:Loopback,0" --onevent /var/local/www/commandw/spotevent.sh > /dev/null 2>&1 &)
20220519 122935 worker: Spotify renderer (available: started)
20220519 122935 worker: Squeezelite (available)
20220519 122935 worker: RoonBridge renderer (not installed)
20220519 122935 trx-tx -d trx_send -h 239.0.0.1 -p 1350 -m 64 -f 1920 -R 45 -D /tmp/trx-txpid  >/dev/null
20220519 122935 worker: Multiroom sender (available: started)
20220519 122935 worker: Multiroom receiver (available)
20220519 122935 worker: UPnP renderer (available)
20220519 122935 worker: DLNA server (available)
20220519 122935 worker: UPnP browser (available)
20220519 122935 worker: GPIO button handler (available)
20220519 122935 worker: Stream recorder (n/a)
20220519 122935 worker: --
20220519 122935 worker: -- Music sources
20220519 122935 worker: --
20220519 122935 worker: USB sources (none attached)
20220519 122935 worker: NAS and UPnP sources (none configured)
20220519 122935 worker: --
20220519 122935 worker: -- Other
20220519 122935 worker: --
20220519 122935 worker: USB volume knob (Off)
20220519 122935 worker: USB auto-mounter (udisks-glue)
20220519 122935 worker: Saved MPD vol level (0)
20220519 122935 worker: Preamp volume level (0)
20220519 122935 worker: MPD volume level (18) restored
20220519 122935 worker: ALSA HDMI volume (58%)
20220519 122935 worker: Auto-play (Off)
20220519 122935 worker: Maintenance interval (120 minutes)
20220519 122935 worker: Screen saver activation (Never)
20220519 122935 worker: Session permissions (OK)
20220519 122935 worker: Watchdog started
20220519 122935 worker: Ready
pi@AudioController:~ $
Reply
#6
Try the following commands on the sender Pi.

This command dumps the variables related to the receiver host names and ip addresses.

Code:
sudo moodeutl -d | grep rx

Example:

pi@moode:~ $ sudo moodeutl -d | grep rx
multiroom_rx|Off
rxactive|0
rx_adv_toggle|Advanced (+)
rx_hostnames|pb1, sig
rx_addresses|192.168.1.138 192.168.1.219
upd_rx_adv_toggle|Advanced (−)

Select one of the IP addresses from the above command output and use it in the URL's below to send commands to the reveiver. Paste these URL's into your Browser. 

The -rx command should return a status line to the Browser.
The -set-mpdvol should set the receiver volume to 10

Code:
http://IP_ADDRESS_OF_RECEIVER/command/?cmd=trx-status.php -rx
http://IP_ADDRESS_OF_RECEIVER/command/?cmd=trx-status.php -set-mpdvol 10
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#7
Hey Tim,

Still having an issue with individual receiver volume control.

Code:
pi@AudioController:~ $ moodeutl -d } grep rx
This option requires sudo
pi@AudioController:~ $ sudo moodeutl -d | grep rx
multiroom_rx|Disabled
rxactive|0
rx_adv_toggle|Advanced (+)
rx_hostnames|FamilyRoomAudio, LivingRoomAudio, GarageAudio
rx_addresses|192.168.1.16 192.168.1.18 192.168.1.19
pi@AudioController:~ $


The browser commands yielded "Unknown command" errors.  Is there something new I should try, troubleshooting wise?

Thanks in advance!
Reply
#8
(10-17-2022, 01:47 PM)dmueller Wrote: Hey Tim,

Still having an issue with individual receiver volume control.

Code:
pi@AudioController:~ $ moodeutl -d } grep rx
This option requires sudo
pi@AudioController:~ $ sudo moodeutl -d | grep rx
multiroom_rx|Disabled
rxactive|0
rx_adv_toggle|Advanced (+)
rx_hostnames|FamilyRoomAudio, LivingRoomAudio, GarageAudio
rx_addresses|192.168.1.16 192.168.1.18 192.168.1.19
pi@AudioController:~ $


The browser commands yielded "Unknown command" errors.  Is there something new I should try, troubleshooting wise?

Thanks in advance!

Try below. My earlier post contained the old program name "trx-status.php"

Code:
http://IP_ADDRESS_OF_RECEIVER/command/?cmd=trx-control.php -rx
http://IP_ADDRESS_OF_RECEIVER/command/?cmd=trx-control.php -set-mpdvol 10
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#9
The first command yielded;

rx,On,22,0,0,LivingRoomAudio

The second command yielded no results in browser nor did it change the volume.  I checked both on the send "receiver" page.

I tried another device, with the same results.

Both devices are opted-out of master volume.

What else can I try?
Reply
#10
What moOde version are all the systems?
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Forum Jump: