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.

    Automatically wake bluetooth speaker from sleep/suspend

    Scheduled Pinned Locked Moved Troubleshooting
    16 Posts 5 Posters 4.1k Views 5 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.
    • bugsounetB Offline
      bugsounet Banned @Stinger0815
      last edited by

      @stinger0815

      humm…
      i’m so kind today … so try v3.0.4 of GA with this recipe:

      var recipe = {
        commands: {
          "Bluetooth": {
            shellExec: {
              exec: (params) => {
                if (params.notification == "GA_ACTIVATE") return "bluetooth_connector.sh"
                else return null
              }
            }
          }
        },
        plugins: {
          onNotificationReceived: "Bluetooth"
        },
      }
      
      exports.recipe = recipe
      

      Note maybe you have to add path in the return value example /home/pi/bla/bla/bluetooth_connector.sh

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        Stinger0815 @bugsounet
        last edited by

        @bugsounet said in Automatically wake bluetooth speaker from sleep/suspend:

        @stinger0815

        humm…
        i’m so kind today … so try v3.0.4 of GA with this recipe:

        var recipe = {
          commands: {
        [...]
        
        Note maybe you have to add path in the return value example `/home/pi/bla/bla/bluetooth_connector.sh`
        

        That’s pretty sweet and works fine :) Thank you very much!

        bugsounetB 1 Reply Last reply Reply Quote 0
        • bugsounetB Offline
          bugsounet Banned @Stinger0815
          last edited by

          that i says: i’m so kind today

          because i offer no help there, so today you have a lot of chance :)

          1 Reply Last reply Reply Quote 0
          • B Offline
            bert269 @Stinger0815
            last edited by sdetweil

            @stinger0815 : I am so sorry to “hijack” your thread. But do you perhaps have the correct steps to follow to install and get GA to work on the rpi? I have tried numerous threads, but all are out-dated and different from Google’s current developer screens - So I get to a spot where things are no longer working.
            Google does not really help either, as I have raised questions, that gets not answered.

            Thank you and I apologize again.

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              DJBOOB66 @bert269
              last edited by

              @bert269
              [http://wiki.bugsounet.fr/en/MMM-GoogleAssistant](link url)

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