• 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.

MMM-Voice-Control

Scheduled Pinned Locked Moved Utilities
20 Posts 10 Posters 17.9k 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 @carteblanche
    last edited by Oct 20, 2016, 7:18 PM

    @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 Oct 20, 2016, 9:22 PM Reply Quote 0
    • D Offline
      dr4ke616 @Baltibu
      last edited by Oct 20, 2016, 7:20 PM

      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
      • B Offline
        Baltibu
        last edited by Baltibu Oct 20, 2016, 7:26 PM Oct 20, 2016, 7:24 PM

        hey thanks for your answer…
        i tried to do the same but the problem i didnt get a comminication between two defferent module …
        I get your MMM-Dublin-bus als Referenz . but it still difficult.
        by the other should I owerwrite the NotificationReceived module ? or the socketNotificationReceived ?

        D 1 Reply Last reply Oct 20, 2016, 7:38 PM Reply Quote 0
        • D Offline
          dr4ke616 @Baltibu
          last edited by Oct 20, 2016, 7:38 PM

          @Baltibu

          So, it should (if all working ok) be the case that you add a command here. The first paramater references a language entry in the translations directory.

          For example in commands.js we register the key dublinbus_start to a function that sends a notification. Then in your translations files you can add what to actually say (in what ever language), for example here.

          Then in your own module you override notificationReceived and check for the message sent from your command, as in DUBLINBUS_START.

          I understand that this is probably overly complex way of doing this. I do believe this can be done in a better way.

          B 1 Reply Last reply Oct 20, 2016, 7:42 PM Reply Quote 0
          • B Offline
            Baltibu @dr4ke616
            last edited by Oct 20, 2016, 7:42 PM

            @dr4ke616 thanks a lot .
            I added some Command , and i cann see that all my module get the Nofication from the Sender( MMM-Voice-Control) …
            but any of this module react of my Notifation …
            I will try tonight one more time … hope that I get it work.
            I will give some feedback…

            D 1 Reply Last reply Oct 20, 2016, 7:55 PM Reply Quote 0
            • D Offline
              dr4ke616 @Baltibu
              last edited by dr4ke616 Oct 20, 2016, 7:56 PM Oct 20, 2016, 7:55 PM

              @Baltibu

              The current design of this module is focused more on allowing other developers to create modules with voice recognition capabilities rather than it just “work out of the box” with all other modules running on your mirror.

              1 Reply Last reply Reply Quote 0
              • C Offline
                carteblanche @dr4ke616
                last edited by Oct 20, 2016, 9:22 PM

                @dr4ke616 I haven’t used annyang before and not familiar with how it works vs other options, but I have used Google Speech API (+ snowboy hotword detection) using a different smart-mirror project…

                if this module is using Google Speech API, I would think we would need to input our own API keys but I didn’t see that in the config.

                B 1 Reply Last reply Dec 21, 2016, 9:33 AM Reply Quote 0
                • F Offline
                  FullOfOrange
                  last edited by Nov 21, 2016, 4:37 PM

                  @dr4ke616 I don’t know how to use USB mic in your module. Before I use this, do I need set some config files? I try to downgrade annyang version to 2.0.0 but I can’t use this. How to do?

                  1 Reply Last reply Reply Quote 0
                  • B Offline
                    Bobby @carteblanche
                    last edited by Dec 21, 2016, 9:33 AM

                    @carteblanche Hi, in the “smart-mirror project” the voice-module works fine with Google Speech API (+ snowboy hotword detection) but i like this MM2 project, because there are more modules. But i need this voice-controll. I have also an google api key. Is it possible to integrate the voice module from the other project in this voice module? Thx Bobby

                    C 1 Reply Last reply Dec 24, 2016, 3:01 AM Reply Quote 0
                    • C Offline
                      cowboysdude Module Developer @Bobby
                      last edited by Dec 24, 2016, 3:01 AM

                      @Bobby Honestly I don’t believe people here want Google anywhere near their mirrors. Google is limited to 50 calls per day… also Google likes to collect ‘data’ on everyone… there are just two reasons why no one seems interested I’m sure there’s more… There are already a couple of very good voice modules written for MM2… @strawberry-3-141 build a VERY good voice module that actually incorporates and can use data from some of the other modules.

                      Yes I’ve seen, tested and played with the other mirror and it was cool indeed but unless you’re a programmer you have very little control over what you get with that one…you have to take what they give you. Don’t get me wrong it’s nice but lacking in an open source way… average people can’t really get what they need unless they request and that request actually happens which takes time as there aren’t enough people working on that project.

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