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.

    I need help to get MMM-Voice-Commands working

    Scheduled Pinned Locked Moved Unsolved Troubleshooting
    5 Posts 2 Posters 1.2k Views 2 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.
    • bjjsoulB Offline
      bjjsoul
      last edited by broberg

      https://github.com/Veldrovive/MMM-Voice-Commands

      it looks just like this:

        {
              module: "MMM-Voice-Commands",
              config: {
                  debug: false, //Displays end results and errors from annyang in the Log
                  autoStart: true, //Adds annyang commands when it first starts
                  activateCommand: "hello mirror", //Command to active all other commands
                  deactivateCommand: "goodbye mirror", //Command to deactivate all other commands
                  alertHeard: false, //Whether an alert should be shown when annyang hears a phrase (mostly for debug)
                  commands: {
                      "command statement :variable (optional statement)": "SOCKET_NOTIFICATION_NAME",
                      //The payload of the socket notification will be whatever is said in the :variable
                      "command statement *variable": function(param){
                          alert("Whatever is said in the *variable space is given as the "+param);
                          //These function's 'this' are bound to the module's 'this' so you can do stuff like:
                          this.sendNotification("PAGE_SELECT", "2");
                      }
                  }
              }
          },
      

      NOW, MY MAGIC MIRROR IS WORKING BUT THE VOICE COMMAND IS NOT RESPONDING, AND I WAS READING THIS MODULE NEED ANNYANG, BUT I DONT KNOW HOW I DO TO INSTALL ((ANNYANG)) SOMEONE HELP WITH THIS PLEASE

      OR SOMEONE WHO HAS A VOICE COMMAND THAT IS WORKING THAT CAN SHARE IT TO ME. PLEASE

      1 Reply Last reply Reply Quote 0
      • bjjsoulB Offline
        bjjsoul
        last edited by

        who know how i do to install annyang, for my voice command

        1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil
          last edited by sdetweil

          did u do the npm install in the MMM-Voice-Commands folder?

          instructions

          Navigate into the installation and Install Dependencies.
          
          cd MMM-Voice-Commands && npm i
          

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • bjjsoulB Offline
            bjjsoul
            last edited by

            yes i did it, but it only activate once with the voice command, (hello mirror) and then when i deactivate with voice comnand (goodbye mirror) now i try to activate it dont respond

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @bjjsoul
              last edited by

              @bjjsoul ok, can’t help with that part…

              on the annyang, it should have been installed by the npm i

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              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