MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    No Country (Bluetooth) For Old Men

    Scheduled Pinned Locked Moved Troubleshooting
    45 Posts 5 Posters 33.1k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ? Offline
      A Former User @Mykle1
      last edited by A Former User

      @Mykle1

      What is your problem? You cannnot send audio to your bt speaker?
      if you are not using any other output device, set off them.
      Or, when you play some sounds, see the playback tab. You can change the output device by manual(only in playing)

      And… do you have trouble with auto pairing? Finally I add some script( echo -e "connect 00:00:00:00:00:00\nquit" | bluetoothctl) on bootup(frankly on mm startup)

      Have a good luck

      Mykle1M 1 Reply Last reply Reply Quote 0
      • KimzerK Offline
        Kimzer
        last edited by

        How would the sound be with that? I tried with audio jack and it sounded terrible.

        ? 1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User @Kimzer
          last edited by

          @Kimzer bluetooth with external power would sound clear surely. I moved to bt because of noise of soundjack and usb connected speaker

          1 Reply Last reply Reply Quote 0
          • C Offline
            CaptCutter
            last edited by

            Thank you @Sean !! I’ve been trying like Mykle1 but also with no luck…perhaps this will work!

            1 Reply Last reply Reply Quote 0
            • D Offline
              d3r @Mykle1
              last edited by d3r

              @Mykle1
              What’s your exact issue? Does it work then gets disconnected?
              I struggled a lot with bluetooth audio on the pi3. In the end I had to disable the onboard chip and use a usb dongle.
              Edit:
              From your screenshots it looks like it’s connected. Apprently the correct way to connect the speaker once you device is paired is to right click on the speaker icon on the right then select your bluetooth speaker(It should be listed there).

              1 Reply Last reply Reply Quote 1
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer @Guest
                last edited by

                This post is deleted!
                1 Reply Last reply Reply Quote 0
                • Mykle1M Offline
                  Mykle1 Project Sponsor Module Developer
                  last edited by Mykle1

                  Unfortunately, my last post was only partially displayed. I described in detail what was happening. I don’t have the will to retype it.

                  In short, I got an mp3 to play through the BT speaker but it stopped when the Pi’s BT failed about 3/4 of the way through the song. Unable to reconnect the speaker. Rebooting. I’ll keep you both posted. Thank you both, Sean and d3r

                  EDIT 5 minutes later

                  Rebooted, in the RUN CMD window I type start-pulseaudio-x11 because I don’t have it in startup yet. Pulseaudio enables the Volume Control window. Bluetooth connects to the speaker nicely when I right click on the speaker in the Bluetooth Device window. I played the mp3 file again using mpg123. The song started playing immediately but only played 10 seconds before BT failed again. Here is a picture of the Bluetooth Devices window showing the speaker in its frozen state. The activity indicator is frozen as you see it in the picture.
                  0_1504920122261_bt.JPG

                  EDIT - 15 minutes later

                  I’ve determined that BOTH pulseaudio and BT are failing. I don’t know if one is causing the other to fail but both are definitely failing. The Bluetooth Devices window is easy to see because the activity indicator freezes. I know now that pulseaudio fails because the speaker disappears from the Output Devices of Volume Control which is pulseaudio.

                  Reboot #4! I really hope one of you can give me some advice. Thanks again!

                  1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer
                    last edited by

                    @d3r
                    @Sean
                    With each successive reboot the failure seemed to come sooner and sooner, wherein the crash came before I even got to play the sound file. I’ve had it for the night. Maybe I’ll run into you guys tomorrow.

                    Peace!

                    D 1 Reply Last reply Reply Quote 0
                    • D Offline
                      d3r @Mykle1
                      last edited by

                      @Mykle1 If you’re on jessie (with pixel), keep reading this post. I think you mentioned you have blueman installed. You don’t need blueman anymore. I would recommend getting rid of it. Pixel comes with pi-bluetooth which is supposed to make things easier for audio. Notice how you have 2 bluetooth icons in your taskbar? They could be conflicting.
                      Please also see this link https://www.raspberrypi.org/blog/another-update-raspbian/ for how to connect the speaker. It should work.
                      Of course do back up your card in case something goes wrong.

                      Raspbian Stretch also changed some stuff about bluetooth, maybe take a look at that if you have a spare sd card lying around. I personally haven’t tried it yet.
                      https://www.raspberrypi.org/blog/raspbian-stretch/

                      This is how mine looks
                      0_1504926341290_46aad08f-a75c-4d95-a88d-8edc17504ae3-image.png

                      Mykle1M 3 Replies Last reply Reply Quote 3
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @d3r
                        last edited by

                        @d3r said in No Country (Bluetooth) For Old Men:

                        You don’t need blueman anymore

                        I really can’t wait to try your suggestions. I have other household matters to take care of first (says the wife). I will report back to you later when I’ve tried. Many thanks for your input and advice!

                        1 Reply Last reply Reply Quote 0
                        • Mykle1M Offline
                          Mykle1 Project Sponsor Module Developer
                          last edited by

                          Finally finished working my butt off today. Now, I take a stab at your suggestions. Wish me luck!

                          1 Reply Last reply Reply Quote 1
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @d3r
                            last edited by

                            @d3r said in No Country (Bluetooth) For Old Men:

                            You don’t need blueman anymore.

                            Just to clarify, pulseaudio stays? I’ve removed Blueman

                            D 1 Reply Last reply Reply Quote 0
                            • D Offline
                              d3r @Mykle1
                              last edited by

                              @Mykle1
                              Ya. Pulseaudio stays.

                              Mykle1M 1 Reply Last reply Reply Quote 1
                              • Mykle1M Offline
                                Mykle1 Project Sponsor Module Developer @d3r
                                last edited by

                                @d3r said in No Country (Bluetooth) For Old Men:

                                Ya. Pulseaudio stays.

                                Ok, I thought so. I’ll have an update in a little while

                                D 1 Reply Last reply Reply Quote 0
                                • D Offline
                                  d3r @Mykle1
                                  last edited by

                                  @Mykle1 you might have to be remove (forget) the speaker on your pi bluetooth and restart the pi again once you remove blueman.

                                  Mykle1M 1 Reply Last reply Reply Quote 1
                                  • Mykle1M Offline
                                    Mykle1 Project Sponsor Module Developer @d3r
                                    last edited by Mykle1

                                    @d3r said in No Country (Bluetooth) For Old Men:

                                    you might have to be remove (forget) the speaker on your pi bluetooth and restart the pi again once you remove blueman.

                                    I haven’t tried that. Pairing doesn’t seem to be my problem. The speaker pairs automatically.

                                    Let me explain my sequence and result

                                    The first thing I have to do is RUN start-pulseaudio-x11 because I don’t have it in startup yet. This enables the Volume Control where I clearly see the speaker connected.
                                    0_1505003038494_44.JPG

                                    Click on the Bluetooth icon and again, I see the speaker is paired
                                    0_1505003116377_55.JPG

                                    Right click the Volume icon and I see the speaker but it is not chosen yet.
                                    0_1505003180903_66.JPG

                                    Following the directions of the link you gave, I click on HMDX in the drop down menu of the volume icon, but this is the result
                                    0_1505003355073_77.JPG

                                    My pulseaudio is up to date.

                                    I’ll remove the speaker and add it again if you think that will help

                                    Mykle1M 1 Reply Last reply Reply Quote 0
                                    • Mykle1M Offline
                                      Mykle1 Project Sponsor Module Developer @Mykle1
                                      last edited by Mykle1

                                      @Mykle1 said in No Country (Bluetooth) For Old Men:

                                      I’ll remove the speaker and add it again

                                      As it turns out, that was a bad idea. Now the Pi does not see the speaker.
                                      0_1505006184803_aa.JPG0_1505006291708_bb.JPG

                                      D 1 Reply Last reply Reply Quote 0
                                      • D Offline
                                        d3r @Mykle1
                                        last edited by

                                        @Mykle1 Sorry to hear it’s not working.
                                        When you reboot try it without running the start-pulseaudio-x11 command. If that doesn’t work, I’m lost.
                                        Iirc, when I set mine up, I paired the speaker, then did the right click on the speaker icon to change it to the bluetooth speaker.

                                        Mykle1M 1 Reply Last reply Reply Quote 1
                                        • Mykle1M Offline
                                          Mykle1 Project Sponsor Module Developer @d3r
                                          last edited by

                                          @d3r

                                          I can’t try anything right now. The Pi doesn’t see the speaker since I removed it. I can’t add it because it doesn’t appear in the Add Device window

                                          D 1 Reply Last reply Reply Quote 0
                                          • D Offline
                                            d3r @Mykle1
                                            last edited by

                                            @Mykle1 try the command line instead of the gui to pair your speaker.
                                            Run bluetoothctl in terminal.
                                            Then type:
                                            power on
                                            Default-agent
                                            Agent on
                                            Scan on
                                            then see if bluetoothct sees the speaker.

                                            Mykle1M 1 Reply Last reply Reply Quote 1

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 1 / 3
                                            • First post
                                              Last post
                                            Enjoying MagicMirror? Please consider a donation!
                                            MagicMirror created by Michael Teeuw.
                                            Forum managed by Sam, technical setup by Karsten.
                                            This forum is using NodeBB as its core | Contributors
                                            Contact | Privacy Policy