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.

    Bluetooth timeout in Raspberry

    Scheduled Pinned Locked Moved General Discussion
    6 Posts 3 Posters 656 Views 3 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.
    • E Offline
      Egnos
      last edited by

      Hello people!
      I connected the Raspberry bluetooth to a bluetooth speaker (Nest Audio speaker …).
      It works well but unfortunately it disconnects after a certain time of inactivity.
      It’s annoying because I always have to restore the bluetooth connection.

      Do you know a way to disable this timeout?

      Thank you all.

      My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

      S R 2 Replies Last reply Reply Quote 0
      • S Away
        sdetweil @Egnos
        last edited by sdetweil

        @Egnos maybe,it’s 5 years old. but the term is idle timeout

        https://stackoverflow.com/questions/46710890/bluetoothctl-pairing-timeout-on-raspberry-pi-3/46805952#46805952

        Screenshot_20220925-084328_Chrome.jpg

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        E 1 Reply Last reply Reply Quote 0
        • E Offline
          Egnos @sdetweil
          last edited by

          @sdetweil said in Bluetooth timeout in Raspberry:

          maybe,it’s 5 years old. but the term is idle timeout

          Inside the “Input.conf” file he writes that "IdleTimeout"is already set to 0.
          I however uncommented the line and put it at 0, let’s see if it solves … but I doubt!

          # Configuration file for the input service
          
          # This section contains options which are not specific to any
          # particular interface
          [General]
          
          # Set idle timeout (in minutes) before the connection will
          # be disconnect (defaults to 0 for no timeout)
          #IdleTimeout=30
          IdleTimeout=0
          
          # Enable HID protocol handling in userspace input profile
          # Defaults to false (HIDP handled in HIDP kernel module)
          #UserspaceHID=true
          
          # Limit HID connections to bonded devices
          # The HID Profile does not specify that devices must be bonded, however some
          # platforms may want to make sure that input connections only come from bonded
          # device connections. Several older mice have been known for not supporting
          # pairing/encryption.
          # Defaults to false to maximize device compatibility.
          #ClassicBondedOnly=true
          
          # LE upgrade security
          # Enables upgrades of security automatically if required.
          # Defaults to true to maximize device compatibility.
          #LEAutoSecurity=true
          
          

          My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

          S 1 Reply Last reply Reply Quote 0
          • S Away
            sdetweil @Egnos
            last edited by

            @Egnos and then rebooted yes?

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            E 1 Reply Last reply Reply Quote 0
            • E Offline
              Egnos @sdetweil
              last edited by

              @sdetweil Yes…but nothing changes … also because “IdleTimeout” is by default at 0…

              # Set idle timeout (in minutes) before the connection will
              # be disconnect (defaults to 0 for no timeout)
              

              I am testing a script that I launch every 15min using the “crontab” function.
              I will report the test result and share the script here on the forum.

              My Mirror https://forum.magicmirror.builders/topic/17262/the-raspimirror-was-born/7

              1 Reply Last reply Reply Quote 0
              • R Offline
                Rags @Egnos
                last edited by

                @Egnos said in Bluetooth timeout in Raspberry:

                Hello people!
                I connected the Raspberry bluetooth to a bluetooth speaker (Nest Audio speaker …).
                It works well but unfortunately it disconnects after a certain time of inactivity.
                It’s annoying because I always have to restore the bluetooth connection.

                Do you know a way to disable this timeout?

                Thank you all.

                Hello,
                iam trying to connect Rpi-3B to alexa dot , not happening. How to do it. Thanks

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • 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