Thank you for your donation!


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


Problem: Pi Zero 2W (Bluetooth No Audio)
#11
If the WebUI shows the track is playing but no sound then its not obvious to me what might be happening.

Maybe someone with a 02W and some AirPods can either post a success case or repro the issue and provide some insights into what might be going on.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#12
Yea, i also can't find what is wrong, i don't think moode itself having any issue since i can output HDMI fine. Hope someone with a Pi Zero notices this post.
Reply
#13
I can check tonight if no one else pipes up in the meantime.

Regards,
Kent
Reply
#14
@Tim Curtis & @TheOldPresbyope

I got it working,

1. JBL Flip 3, it works when i increase the volume using the hardware button, seems like the web ui doesn't increase the bluetooth volume.
2. AirPods Pro, this is a bit crazy, i notice when bluetooth is connected, bluetoothctl logs prints the device volume is 0, increasing the volume in web ui doesn't manipulate the device volume. So i did this:

To get the DBus path, execute: busctl tree org.bluez

Code:
$ busctl tree org.bluez
└─/org
 └─/org/bluez
   └─/org/bluez/hci0
     ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE
     │ ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1
     │ │ └─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2
     │ ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep2
     │ └─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep3
     └─/org/bluez/hci0/dev_FC_A8_9A_EB_7E_27

Then execute this to update the device volume
Code:
dbus-send --print-reply --system --dest=org.bluez \
/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2 \
org.freedesktop.DBus.Properties.Set \
string:org.bluez.MediaTransport1 \
string:Volume \
variant:uint16:105

This part need to be replaced: /org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2
Reply
#15
in the BT configuration page I see a difference in the output device: on yours is set to "Bluetooth speaker", while on Tim's is on "local audio"...
Reply
#16
(01-18-2025, 07:12 PM)Nutul Wrote: in the BT configuration page I see a difference in the output device: on yours is set to "Bluetooth speaker", while on Tim's is on "local audio"...

That screen shot is after I disconnected and thus reset to "Local audio"
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#17
(01-18-2025, 06:40 PM)refrigerated Wrote: @Tim Curtis & @TheOldPresbyope

I got it working,

1. JBL Flip 3, it works when i increase the volume using the hardware button, seems like the web ui doesn't increase the bluetooth volume.
2. AirPods Pro, this is a bit crazy, i notice when bluetooth is connected, bluetoothctl logs prints the device volume is 0, increasing the volume in web ui doesn't manipulate the device volume. So i did this:

To get the DBus path, execute: busctl tree org.bluez

Code:
$ busctl tree org.bluez
└─/org
 └─/org/bluez
   └─/org/bluez/hci0
     ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE
     │ ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1
     │ │ └─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2
     │ ├─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep2
     │ └─/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep3
     └─/org/bluez/hci0/dev_FC_A8_9A_EB_7E_27

Then execute this to update the device volume
Code:
dbus-send --print-reply --system --dest=org.bluez \
/org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2 \
org.freedesktop.DBus.Properties.Set \
string:org.bluez.MediaTransport1 \
string:Volume \
variant:uint16:105

This part need to be replaced: /org/bluez/hci0/dev_14_1A_97_45_99_EE/sep1/fd2

It's only MPD volume thats manipulated by the WebUI. AFAIK Bluetooth protocol does not have support for remotely controlling the hardware volume of a speaker.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply
#18
@refrigerated 

So I fired up moOde 9.2.2 on a Pi Zero 2W.

You said
Quote:1. JBL Flip 3, it works when i increase the volume using the hardware button, seems like the web ui doesn't increase the bluetooth volume.

I had no trouble controlling the volume of my JBL Flip 2 with the moOde webUI. Sure you can fiddle with the volume using the speaker's volume control if it has one but moOde knows nothing about that.

...and then you said
Quote:2. AirPods Pro, this is a bit crazy, i notice when bluetooth is connected, bluetoothctl logs prints the device volume is 0, increasing the volume in web ui doesn't manipulate the device volume. So i did this:

Again, I had no trouble controlling the volume of my AirPods Pro with the moOde webUI.

I don't know what's going on with your installation if you can't do the same.

Regards,
Kent
Reply
#19
@Tim Curtis
Nonetheless, it’s working now. I tried rebooted and reconnects the Airpods, all good. 

@TheOldPresbyope
I also not sure, reflashed multiple times and same result. I’ve been struggling for a week, then finally decided to ping tim for an account here, hahaha. Now it is working. Maybe if in the future someone with my situation can try this if nothing works.
Reply
#20
I'm having the same no audio condition when I attempt to use an LG XBOOM speaker. Using my plantronics 8200 headphones results in pulsing audio. Using an Avaya speakerphone (B109) results in OK audio, but the device has the occasional random pause and will sometimes disconnect entirely. I'm also using a Raspberry PI 2W, having just flashed it with the latest Moode image using Raspberry pi imager yesterday.
Reply


Forum Jump: