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.
    • 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

      Create a working config
      How to add modules

      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

          Create a working config
          How to add modules

          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
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer @d3r
              last edited by

              @d3r

              Seemed like it pair, but then says COnnected: no

              Discovery started
              [CHG] Controller B8:27:EB:78:6F:82 Discovering: yes
              [NEW] Device 5D:7C:05:CD:53:E2 5D-7C-05-CD-53-E2
              [NEW] Device A0:E9:DB:89:37:82 HMDX RAVE
              [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -72
              [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -89
              [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -72
              [CHG] Device A0:E9:DB:89:37:82 RSSI: -66
              [CHG] Device A0:E9:DB:89:37:82 RSSI: -53
              [CHG] Device 5D:7C:05:CD:53:E2 RSSI: -90
              [bluetooth]# pair A0:E9:DB:89:37:82
              Attempting to pair with A0:E9:DB:89:37:82
              [CHG] Device A0:E9:DB:89:37:82 Connected: yes
              Request PIN code
              [agent] Enter PIN code: 0000
              [CHG] Device A0:E9:DB:89:37:82 UUIDs:
              	0000110b-0000-1000-8000-00805f9b34fb
              	0000110e-0000-1000-8000-00805f9b34fb
              [CHG] Device A0:E9:DB:89:37:82 Paired: yes
              Pairing successful
              [CHG] Device A0:E9:DB:89:37:82 Connected: no
              [bluetooth]#

              Create a working config
              How to add modules

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

                @Mykle1 Can you try the right click on the speaker icon now to see if it works?

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

                  @d3r

                  The speaker was there but I got this error when I clicked on it

                  FatalError: Unable to connect to PulseAudio: OK

                  Create a working config
                  How to add modules

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

                    Getting something to drink, in lieu of a sedative.

                    Create a working config
                    How to add modules

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

                      @Mykle1 Getting close.
                      Run pulseaudio --start then try the speaker thing again.

                      Mykle1M 3 Replies 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:

                        pulseaudio --start

                        0_1505009177531_111.JPG

                        Create a working config
                        How to add modules

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

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

                          Getting close

                          I thought so too, and I thank you for your help but I had one hell of a day and I am exhausted. Instead of hitting this thing with a hammer I’ll walk away and start again tomorrow.

                          Go get yourself a beer. Sorry for all the troubles.

                          Create a working config
                          How to add modules

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

                            @d3r

                            I realized that I may have scared you off but I thought you might like to know that I got bluetooth to work.

                            How? I took my mirror off the wall. Put in a new SD card with a new installation of Jessie 2017-07-05. Installed mpg123 as my mp3 player. Connected to bluetooth using your instructions. Saw the green check mark next to my speaker when right clicking the Volume icon in the menu bar and clicking on my speaker.

                            Here comes the HOLY SHIT moment.

                            I have exactly ONE mp3 on my Pi (HA) In the terminal I navigate to the mp3 file. I type mpg123 Nicole.mp3 (A song I wrote for my daughter many moons ago) and BLAM! The song starts playing, plays all the way through, no crash, no freeze. Just music to my ears!

                            H O L Y S H I T !

                            So, thank you for your help and advice and all the time you spent trying to get me up and running

                            Create a working config
                            How to add modules

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

                              @Mykle1 Awesome, I’m glad it worked out in the end.

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

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

                                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.

                                A few words of caution about Raspbian Stretch

                                I’ve been doing some testing recently, mostly concerning CPU usage with different versions of Raspian and MM. Once I got bluetooth to work, I continued testing with newer and newer versions, until I got to Raspbian Stretch.

                                The firmware update that accompanies Stretch disabled my Wifi and Bluetooth, and no amount of backward flashing to earlier firmware versions is fixing the issue. When I say disabled, I mean the Pi doesn’t recognize its own Wifi or Bluetooth adapter, as if it doesn’t have them. Google it BEFORE you attempt this upgrade.

                                Create a working config
                                How to add modules

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

                                  @Mykle1 I haven’t tried stretch yet. I don’t have a spare microsd card. Did you check your /boot/config.txt?
                                  Maybe both wifi and bt are disabled in the config.

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

                                    @d3r

                                    No mention of wifi or BT at all in the /boot/config.txt file

                                    Create a working config
                                    How to add modules

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

                                      @d3r

                                      Seriously, I followed all the fixes I could find, to no avail. If you’re thinking about testing Stretch, I would advise you NOT to update your firmware until the problem is addressed. You won’t be able to go back as things stand right now.

                                      I’m going to move to PC based MM. Right now my mirror is just that, a mirror

                                      Create a working config
                                      How to add modules

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

                                        @Mykle1 Out of curiosity, you start with a fresh Stretch image or upgrade from Jessie?
                                        I’m taking a look at my config. I have my onboard BT disabled.

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

                                          @d3r

                                          I used a different SD card for each version that I tested. Once I used the Stretch SD card things went south. Going back to earlier cards (ALL OF THEM) was of no use. So, I did not upgrade. Also, all the versions on all the other SD cards worked fine. It was only when prompted to update the firmware for Stretch that this happened.

                                          Create a working config
                                          How to add modules

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

                                            @Mykle1 I’ll try to get an sd card and give Stretch a try. The extra sd card I have died.(PS: Don’t buy Lexar. Card only lasted for 6months). I use my PI3 for amazon alexa and MM. Aside from not having a spare card, main reason I haven’t tried stretch yet is because the alexa code on github does not support stretch yet.

                                            These disable bt and wifi:

                                            dtoverlay=pi3-disable-bt
                                            dtoverlay=pi3-disable-wifi
                                            

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

                                            @d3r

                                            It was only when prompted to update the firmware for Stretch that this happened.

                                            Hang on, so you upgraded the same card from Jessie to Stretch? They recommend not doing that because it can potentially break stuff.
                                            See this:

                                            HOW TO GET RASPBIAN STRETCH
                                            
                                            As this is a major version upgrade, we recommend using a clean image; these are available from the Downloads page on our site as usual.
                                            
                                            Upgrading an existing Jessie image is possible, but is not guaranteed to work in every circumstance. If you wish to try upgrading a Jessie image to Stretch, we strongly recommend taking a backup first – we can accept no responsibility for loss of data from a failed update.
                                            

                                            https://www.raspberrypi.org/blog/raspbian-stretch/

                                            Mykle1M 1 Reply Last reply Reply Quote 0

                                            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
                                            • 2 / 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