Home of the Squeezebox™ & Transporter® network music players.
Results 1 to 5 of 5
  1. #1
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    900

    Experimental: Bluetooth Speaker support in piCorePlayer 3.22

    EXPERIMENTAL Yes, I'm trying to emphasize this.

    When I noticed the bluez-alsa project was re-implementing the support for alsa that was dropped from Bluez 5.x. I figured I would see how squeezelite and bluetooth would work. It worked better than I expected.

    Requirements
    1. piCorePlayer 3.22
    2. rpi3 or rpi0W
    3. A little linux skillz to install manual portions of support, and to do some debugging if needed
    4. Hardwired Ethernet connection to your player. Rpi onboard wifi for sure wont work. Some USB wifi devices will work, but no promises (EDIMaX 7811Un is one the won't work)


    Do the following steps
    • Download Extension pcp-bt from the extension browser. Using the piCorePlayer Sourceforge repo.
    • Disable onboard wifi from the web interface (Do not reboot yet)
    • Manually edit config.txt comment out dtoverlay=pi3-disable-bt

    Code:
    m1
    vicfg
    u1
    • edit /opt/bootlocal.sh Add /usr/local/bin/pcp-bt-start-controller 2>&1 | tee -a /var/log/pcp_bt.log before the pCPstart
    • Backup - pcp bu
    • Reboot - pcp rb
    • When the system reboots, open a ssh session and run pcp-bt-pair
    • Setup Squeezelite per the attached image. (The Power Script is /usr/local/bin/pcp-bt-reconnect.sh)
    • Restart Squeezelite......
    • Check the mixer setting

    Code:
    tc@picoreplayer:~$ . ~/.pcp-bt-device
    tc@picoreplayer:~$ sudo amixer -D bluealsa sset "$BTMIXER" 100%
    A couple of tips.
    • When rebooting your player, power cycle your BT speaker.
    • If you turn off the power on the player, you can shut off your speaker. But be sure to turn your speaker back on and give it time to start before turning the power back on the player.



    Name:  Screenshot from 2017-09-23 15-59-04.png
Views: 432
Size:  102.6 KB

  2. #2
    Senior Member
    Join Date
    Dec 2015
    Posts
    111
    Wow
    I was just wondering about this two days ago ...
    I wont have a chance to try for a little while, but many thanks in advance
    rPi 3 + rasPi 7" LCD + HiFiBerry DiGi+ | rPi 2 + IQaudio DAC+ |rPi 2 + HiFiBerry DAC+ | Squeeze Box Touch | LMS + XPenology on HP Gen 8 |


  3. #3
    Senior Member Tony T's Avatar
    Join Date
    Nov 2009
    Posts
    840
    I was also just thinking about a BT Speaker as I wanted Stereo….
    ….then I remembered that I can configure my 2 SB radios to Left Output and Right Output and sync, and wala… Stereo!

    Still, great to see this experimental support for BT in pCP
    Tony
     SBTouch ♪ SBRadio ♬

  4. #4
    Junior Member
    Join Date
    Jul 2017
    Posts
    7
    Hi, This is working great so far and looks like the perfect solution for me. I used your guide and everything worked out flawlessly. Thank you so much!

  5. #5
    Quote Originally Posted by paul- View Post
    When I noticed the bluez-alsa project was re-implementing the support for alsa that was dropped from Bluez 5.x. I figured I would see how squeezelite and bluetooth would work. It worked better than I expected.
    Paul, Would this also allow us to add BT-input ?
    It would be a great addition to be able to play an occasional tune from my phone over the PCP managed amp and speakers .

    Greetz MH

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •