01-11-2022, 08:24 PM
Hey,
I can reproduce this behavior on my Pi Zero 2 W. This happens for me when the Pi is using it's built in WiFi while receiving music over the built in bluetooth module.
According to this post on the volumio forum, it's caused by interference. The guy also provided a solution that works for me: Disabling WiFi while using bluetooth.
This can be done automatically by modifying the a2dp-autoconnect script to have the following content:
This disables the WiFi when your phone connects and turns it back on once the phone is disconnected
I can reproduce this behavior on my Pi Zero 2 W. This happens for me when the Pi is using it's built in WiFi while receiving music over the built in bluetooth module.
According to this post on the volumio forum, it's caused by interference. The guy also provided a solution that works for me: Disabling WiFi while using bluetooth.
This can be done automatically by modifying the a2dp-autoconnect script to have the following content:
Code:
BTMAC=${NAME//\"/}
if [[ $ACTION = "add" ]]; then
sudo ifconfig wlan0 down
sudo systemctl start bluealsa-aplay@$BTMAC
elif [[ $ACTION = "remove" ]]; then
sudo systemctl stop bluealsa-aplay@$BTMAC
sudo ifconfig wlan0 up
fi
This disables the WiFi when your phone connects and turns it back on once the phone is disconnected