Home of the Squeezebox™ & Transporter® network music players.
Page 7 of 8 FirstFirst ... 5678 LastLast
Results 61 to 70 of 78
  1. #61
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    I'm not talking about syncing.....Just the ability to connect multiple a2dp devices at the same time.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  2. #62
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    Seems the latest git of bluealsa rectified the multi a2dp problem.

    2 devices seem to work okay, I've got 3 to connect, but 3 is a bit too much.....Most things connect right up in a2dp now, but at least one of my older devices still need a little nudge to get them to connect all profiles.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  3. #63
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    If you are running bluetooth, there is ABSOLUTELY no reason to run the AudioKernel.

    But I am talking about future development, multiple players is not in the current release.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  4. #64
    Senior Member
    Join Date
    Jan 2006
    Location
    South Coast, NSW, Australia
    Posts
    1,255

    Here is a step by step for Bluetooth

    paul- , here is a step by step I wrote for myself, it probably needs a bit of polishing for PCp 5.
    Reading chill's excellent explanations in reply to carsten_h I thought it may be of some value.
    In PCp 5 is it still WiFi or Bluetooth ? or can you have internal WiFi and bluetooth ?

    Connect to your PiCore player via web interface.
    WiFi off, connect by Ethernet.
    1. WIfi Settings Tab - RPi Built in WiFi/BT, turn RPi built-in Wifi Off, turn RPi built-in Bluetooth On.
    2. Squeezelite Settings Tab.
    3. Audio output device settings, select Bluetooth Audio and click Save.
    4. Audio output device settings, click Card Control - click Install Bluetooth.

    When Bluetooth is downloaded the Bluetooth Speaker Setup page will appear.

    5. Power on your Bluetooth Speakers.
    6. Device Pairing/Selection, click Scan - Scan for Bluetooth Devices
    Bluetooth devices found will show in the dropdown boxes next to Pair and Select.
    7. Pair - Select device to pair from the dropdown list and click Pair.
    Once paired you will have 3 green ticks and in LMS you should be able to stream to your bluetooth device.
    8. Always have your bluetooth device powered up before you start your PiCore player.
    A camel is a racehorse designed by a committee.

    Seen sprayed on the outside wall of the local library -
    Three things I hate in life :
    1. Vandalism
    2. Irony
    3. Lists

  5. #65
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    Point 6 is not needed, in fact it is best to be friends when booting. After boot, when you turn on the speaker, it will connect and automatically start squeezelite.. Yes, you can have both WiFi and Bluetooth. Bluetooth configuration will be changing in pcp 6 when it moves to full release.

    My comment about audio kernel is that don’t use it unless you really know how to run a real-time kernel. It enables and requires a lot of manual tweaking. I’m really debating continuing it
    Last edited by paul-; 2019-07-17 at 18:34.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  6. #66
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    Thanks cpd73 and olivaar,

    This topic got me motivated to push my understanding of bluez. (And a little bit of python). Take a look at the logging, see what you spot. The connect daemon is based on olivaar's work, but significantly expanded in capability and integrate with pCP.

    Code:
    07-21 17:52 BTINFO: INFO     Starting pCP BT Speaker Daemon...
    07-21 17:53 BTINFO: INFO     ---- Caught Connect signal ----
    07-21 17:53 BTINFO: INFO        DEV:38:89:2C:5E:FF:ED
    07-21 17:53 BTINFO: INFO        PROFILE:a2dp
    07-21 17:53 BTINFO: INFO        Modes:sink
    07-21 17:53 BTINFO: INFO        Writting device string for pcp-streamer
    07-21 17:53 BTINFO: INFO     ---- Caught Disconnect signal ----
    07-21 17:53 BTINFO: INFO        DEV:38:89:2C:5E:FF:ED
    07-21 17:53 BTINFO: INFO        PROFILE:a2dp
    07-21 17:53 BTINFO: INFO        Removing device string for pcp-streamer
    07-21 17:54 BTINFO: INFO     ---- Caught Connect signal ----
    07-21 17:54 BTINFO: INFO        DEV:66:88:99:B1:7B:83
    07-21 17:54 BTINFO: INFO        PROFILE:sco
    07-21 17:54 BTINFO: INFO        Modes:source, sink
    07-21 17:54 BTINFO: INFO     ---- Caught Connect signal ----
    07-21 17:54 BTINFO: INFO        DEV:66:88:99:B1:7B:83
    07-21 17:54 BTINFO: INFO        PROFILE:a2dp
    07-21 17:54 BTINFO: INFO        Modes:source
    07-21 17:54 SLINFO: INFO     Connected Earbuds
    07-21 17:54 SLINFO: INFO        Player Connected to LMS at: 192.168.0.141
    07-21 17:54 BTINFO: INFO        Sending Play command for Earbuds to LMS at 192.168.0.141
    07-21 17:54 BTINFO: INFO        Device: dev_66_88_99_B1_7B_83, connected with a2dp
    Alright.....I won't make you hunt.

    Working
    • Multiple ad2p sources playing squeezelite.
    • Playing via sco/hfp....alright this is pretty bad quality for music, so that is not enabled for now.
    • Pairing and connecting your phone to pCP
    • Streaming from your phone to pCP - Integrates with pcp-streamer to stream from your phone to LMS.
    • Giving a kick to your older bluetooth devices that doesn't like to connect both sco and a2dp profiles
    • Checking which LMS server the bluetooth speaker/squeezelite connected to, and issue a play command.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  7. #67
    Junior Member
    Join Date
    Aug 2019
    Posts
    5

    Struggling with bluetooth on pi zero w

    Hi everyone, I know this probably seems really basic but I'm really struggling to get this to work. I read Paul's helpful guide above for how to connect bluetooth speakers but on 2 different pi zeros my speakers (2 different sets) are not being found. I am trying this on the Web interface with wifi turned on, which by all accounts now should work with bluetooth without much trouble, and beta features turned on. I get as far as installing bluetooth and enabling the BT interface. I get a single green check box, but Connect Daemon refuses to start and my devices aren't found, either with or without a scan. I'm contemplating trying this same procedure on a pi 3+ but I have several pi zeros and would really love to get them working. I may also try disabling wifi but I'll need to find a micro USB OTG ethernet adapter for that.

    If anyone has any ideas or suggestions I'm all ears.

  8. #68
    Senior Member sbp's Avatar
    Join Date
    Apr 2010
    Location
    Denmark
    Posts
    1,165
    Hi ccellist.

    If I understand correctly you have:
    1. Downloaded and installed the bluetooth package on the card page from the squeezelite page?
    2. Both wifi and bluetooth enabled are enabled on the wifi page?

    BUT still not possible to connect.

    Then I would save the settings (backup) - and reboot.
    I often find that after a reboot bluetooth can scan and find the device.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like piCorePlayer

  9. #69
    Senior Member paul-'s Avatar
    Join Date
    Jan 2013
    Posts
    2,169
    Bluetooth on a zeroW works with wifi, but it is very very finicky. As the two devices share the same antennae.

    If you must use a zero, then I would recommend adding a USB based wifi or BT stick. And its best to put the USB device on a extension cable and get it away from the zero.
    piCorePlayer a small player for the Raspberry Pi in RAM.
    Homepage: https://www.picoreplayer.org

    Please donate if you like the piCorePlayer

  10. #70
    Junior Member
    Join Date
    Aug 2019
    Posts
    5
    Quote Originally Posted by sbp View Post
    Hi ccellist.

    If I understand correctly you have:
    1. Downloaded and installed the bluetooth package on the card page from the squeezelite page?
    2. Both wifi and bluetooth enabled are enabled on the wifi page?

    BUT still not possible to connect.

    Then I would save the settings (backup) - and reboot.
    I often find that after a reboot bluetooth can scan and find the device.
    Yes, that is correct. I will try what you suggested also. Thanks so much for the feedback.

Tags for this Thread

Posting Permissions

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