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.

    MMM-Voice-Control

    Scheduled Pinned Locked Moved Utilities
    20 Posts 10 Posters 17.4k Views 11 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.
    • D Offline
      dr4ke616
      last edited by

      Hey everyone,

      Yet another version of a Voice Control Module. A few weeks back I put together a basic voice control magic mirror module. You can check the source code at https://github.com/dr4ke616/MMM-Voice-Control. Currently it has very basic functionality, but I’m always open to suggestions :)

      C 1 Reply Last reply Reply Quote 1
      • A Offline
        alexyak
        last edited by

        It looks like you’re using google speech APIs. You are quickly going to run out of the quota and start receiving error messages.

        1 Reply Last reply Reply Quote 0
        • D Offline
          dr4ke616
          last edited by

          Yeah, this is true. In the long term I was going to try get my mirror working with the MMM-Facial-Recognition in order to activate/deactivate voice recognition, that should hopefully reduce likelihood of reaching the google quota.

          1 Reply Last reply Reply Quote 0
          • cowboysdudeC Offline
            cowboysdude Module Developer
            last edited by cowboysdude

            It’s true it the goolge speech api is limited but honestly you shouldn’t be in front of your mirror all day long talking to it LOL

            Putting those two modules together would be very cool!

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

              hello,
              i have this modul SunFounder Sound Voice Sensor
              and it is on Giop 2,6,7
              but i dont now how i can install it … can you halp me ?
              best Wish

              1 Reply Last reply Reply Quote 0
              • D Offline
                dr4ke616
                last edited by

                Hey @samydp

                So, ive never installed before on a SunFounder Sound Voice Sensor, but if you’re running it on a Pi using the Magic Mirror framework, it should (hopefully) be a case of installing it like any other module. There are details in the README on how to do so.

                However maybe there are some other steps required in order to get it to work on the Sensor that I am not aware of.

                B 1 Reply Last reply Reply Quote 0
                • B Offline
                  Baltibu @dr4ke616
                  last edited by

                  @dr4ke616 nice one :-)
                  i Get it finally work ! it answer very quickly … but it s not so easy to get it work with other Modules …
                  in the readme file, there are some infos . but they didnt help so much .

                  D 1 Reply Last reply Reply Quote 0
                  • C Offline
                    carteblanche @dr4ke616
                    last edited by

                    @dr4ke616 great work on creating this module!

                    I have installed the module on my Raspberry Pi 3 and am having some issues getting it to work. I checked the console in debug and saw the following error message for MMM-Voice-Control. Any idea what is causing the “network” error? thanks in advance!

                    SpeechRecognitionError {error: “network”, message: “”, type: “error”, target: SpeechRecognition, currentTarget: SpeechRecognition…}
                    bubbles:false
                    cancelBubble:false
                    cancelable:false
                    composed:false
                    currentTarget:
                    SpeechRecognition
                    defaultPrevented:false
                    error:“network”
                    eventPhase:0
                    message:“”
                    path:Array[0]
                    returnValue:true
                    srcElement:SpeechRecognition
                    target:SpeechRecognition
                    timeStamp:9665.535
                    type:“error”

                    D S 2 Replies Last reply Reply Quote 0
                    • D Offline
                      dr4ke616 @carteblanche
                      last edited by

                      @carteblanche

                      Kinda hard to say. Could be any number of things.

                      One thing to note is that the module uses annyang package, which relies on Google Speech API. So perhaps the error you are seeing is related to rate limiting on Google’s Speech API. I believe it is something like 50 requests per day (when using for free).

                      C 1 Reply Last reply Reply Quote 0
                      • D Offline
                        dr4ke616 @Baltibu
                        last edited by

                        Hey @Baltibu

                        Yeah, i haven’t done much work on actually integrating it with other modules yet. At the moment it just sends notification like messages to other modules, so other modules can then react to it.

                        There is probably a better more generic way to achieve this. So I am open to ideas.

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