• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Which Voice Control module is fit for me?

Scheduled Pinned Locked Moved General Discussion
13 Posts 7 Posters 7.4k Views 9 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.
  • ? Offline
    A Former User
    last edited by Jun 19, 2017, 9:37 AM

    Which Voice Control module is fit for me?
    This might be a silly question.
    There are already several voice-control related modules in this project. But I lost my way in the maze after reading the docs of all the modules. I think there could be a better way than try-all-method.

    I need these functions;

    • Sleep and Wakeup LCD by magic words. (eg. say “My Mirror”)
    • Send Notification to any notification-receivable module by customized or predefined words. (eg. say “Do Something” or “Do Something to SomeModule” or just “Something”)
    • Execute the external scripts and programs (eg. say “Reboot” for ‘sudo reboot’ or “Run Something” for something .sh)

    I’ve been considering these;

    • Matzefication/MMM-Hello-Mirror : Seemed so easy. But, as I know, Google Annyang has quota limitation.
    • joanaz/MMM-MirrorMirrorOnTheWall : Awsome. But only Hide and Show modules?
    • whyjustin/magic-mirror-voice : Sorry, looks so hard for me.
    • fewieden/MMM-voice : Some functions are suitable. but I can’t understand how to expand COMMANDS.
    • alexyak/voicecontrol : Maybe this is appropriate. but snowboy training…
    • dr4ke616/MMM-Voice-Control : It is another Annayng base.

    So… Which is your recommendation?

    E 1 Reply Last reply Mar 12, 2018, 7:11 AM Reply Quote 2
    • S Offline
      Stubbsy1994
      last edited by Jun 19, 2017, 7:09 PM

      I’m in exactly the same boat and would be very interested in the answer to this.

      I tried to MMM-Voice but after spending a few hours getting pocketsphinx to work, i found the speech recognition to not like my accent, and when it did the commands didnt do anything.

      I’m going to give MirrorMirrorOnTheWall a go now but i really don’t want to have to say such a long phrase to get it to receive commands.

      1 Reply Last reply Reply Quote 0
      • C Offline
        cowboysdude Module Developer
        last edited by cowboysdude Jun 26, 2017, 12:19 AM Jun 26, 2017, 12:04 AM

        @Sean said in Which Voice Control module is fit for me?:

        fewieden/MMM-voice : Some functions are suitable. but I can’t understand how to expand COMMANDS.

        fewieden/MMM-voice

        Just read the docs…it’s really not that hard to expand. That is the one I am using for my 32" touch mirror… it works well and easy to add to other modules…

        The biggest bonus to me is that it doesn’t need to run through amazon or google server to use it…

        1 Reply Last reply Reply Quote 1
        • E Offline
          E3V3A @Guest
          last edited by Mar 12, 2018, 7:11 AM

          @Sean
          Hi Sean, what did you finally end up using?
          As you might have seen I started a thread for trying to better understand all the differetn voice modules. As MM beginner, none of them seem very straight forward, since almost all of them require 2-3 other dependencies.

          "Everything I do (here) is for free – altruism is the way!"
          MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

          ? 1 Reply Last reply Mar 12, 2018, 7:58 AM Reply Quote 0
          • ? Offline
            A Former User @E3V3A
            last edited by Mar 12, 2018, 7:58 AM

            @E3V3A
            I built my own after all with Google Assistant, Cloud Speech API and Snowboy.

            C 1 Reply Last reply Mar 12, 2018, 10:42 AM Reply Quote 0
            • C Offline
              Chris @Guest
              last edited by Mar 12, 2018, 10:42 AM

              @Sean

              Hello Sean,
              I tried to install your module several times but I have problems during the installation.

              Indeed, during the installation, I always encounter the same problem at this stage of the installation of the Google SDK:
              (https://developers.google.com/assistant/sdk/guides/library/python/embed/register-device)

              Everything is fine until the step “Register the Device Model”.
              Indeed, when I use the registration tool, it does not work.
              I tried the command:

              (env) $ googlesamples-assistant-devicetool register-model --manufacturer "Assistant SDK developer" \
                        --product-name "Assistant SDK light" --type LIGHT --model my-project-1505046981535-my-model1
              

              Each time I have the following error message:

              Error: Error loading client secret: [Errno 2] No such file or directory: 'client_secret_xxxxx-m88slnqk24bqul282n0nnogs10sck6qo.apps.googleusercontent.com.json'.
              Run the device tool with --client-secrets or --project-id option.
              Or copy the client_secret_xxx-xxxx.apps.googleusercontent.com.json file in the current directory.
              

              Could you help me with this procedure?

              Thank you in advance,

              Cordially.

              ? 1 Reply Last reply Mar 12, 2018, 5:57 PM Reply Quote 0
              • P Offline
                Peter
                last edited by Mar 12, 2018, 3:36 PM

                Why is adding voice so difficult?
                After a lot of trouble I finally had MMM-voice working, but it did not react very well.
                Then I tried Alexa and Awsome Alexa but I did not get it working.
                After trying Alexa Voice also stopped working, so I ended up with no voice at all.
                I am thinking about starting all over.
                I finally have all the modules working as I like it, the PIR is working but voice …
                Maybe somebody can give me some advice (which module, microphone, speakers, etc).
                Or should I start with a clean Jessie, install some sort of voice first and add MM later?
                Peter

                E 2 Replies Last reply Mar 12, 2018, 4:15 PM Reply Quote 1
                • E Offline
                  E3V3A @Peter
                  last edited by Mar 12, 2018, 4:15 PM

                  @Peter Hi Peter! It seem we are all in the same position as you. Trying to add Voice interaction (not just command and control) to your Pi is a serious PITA obstacle. I’ve tried to collect some info on these modules etc, but now I’m more confused and disappointed that ever. It seem that there simply isn’t any instance where you can just install a MM module and some npm package and have it up and running. We believe that it is all about monetizing this technology as all of the serious contenders like Amazon Aexa, Google Asisstant, Bing whatnot, and countless companies, are all requiring a bunch of back and forth API’s, keys, files while collecting everything in between about you.

                  In an ideal world we should be able to just make a request like this:

                  arecord "Yo! Alexa, can you tell me when ISS will pass over London next time?" | theMagicAPI | aplay "Hey Buddy, the international spacestation will pass over london at 03:00 tomorrow morning."
                  

                  In fact I suggest we hack together such an API. Basically we would do this:

                  • We create a pool API that pool together all effin’ AI APIs and requests. (A wrapper!)
                  • Everyone signup to all services (GA, Alexa, Bing etc) we all get an API token, but then we send it to the pool and all requests will be mixed together and the api user will always get a response.
                  • Tracking of individual user voice requests will be anonymized by mixing (much like DuckDuckGo)

                  "Everything I do (here) is for free – altruism is the way!"
                  MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                  1 Reply Last reply Reply Quote 1
                  • E Offline
                    E3V3A @Peter
                    last edited by Mar 12, 2018, 4:18 PM

                    @Peter BTW. Jesse is way outdated, you should have stretch. Alexa sucks, only because they insist in using JAVA and 3 concurrent terminals, bringing your RPi to the knees?

                    "Everything I do (here) is for free – altruism is the way!"
                    MMM-FlightsAbove, MMM-Tabulator, MMM-Assistant (co-maintainer)

                    P 1 Reply Last reply Mar 12, 2018, 5:38 PM Reply Quote 0
                    • P Offline
                      Peter @E3V3A
                      last edited by Mar 12, 2018, 5:38 PM

                      @E3V3A I learned from this forum that Jessie works better with MM than Stretch, thats why I use Jessie.
                      But voice is still a problem …
                      Peter

                      Mykle1M E 2 Replies Last reply Mar 12, 2018, 11:03 PM Reply Quote 1
                      • 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