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.

    Voice/motion control

    Scheduled Pinned Locked Moved Unsolved Requests
    utility
    72 Posts 15 Posters 98.5k Views 14 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.
    • MichMichM Offline
      MichMich
      last edited by

      You can just install extra dependencies using npm install. The problem of using annoying is that it has an API limit afaik. So you can’t use it indefinitely.

      T 1 Reply Last reply Reply Quote 0
      • T Offline
        tyho @MichMich
        last edited by

        @MichMich is it possible to restart annyang when the onend event is called?

        MichMichM 1 Reply Last reply Reply Quote 0
        • MichMichM Offline
          MichMich @tyho
          last edited by

          @tyho It probably is. I did not look into the Annyang API.

          1 Reply Last reply Reply Quote 0
          • T Offline
            tyho
            last edited by

            @coolbotic @MichMich I got something working. I combined annyang and angular (from snippets and reading de api). and it works unlimited so far.
            The thing is i got it only working separate. I have to cd to the folder and then npm install && npm start to run.
            It’s realy basic, cuz i am not a programmer. (i only added simple commands and i get the response i want in my browser). But it’s easy now to expand. I am working on a command to turn on and off my monitor by shell commands but i didn’t got it running yet.
            The thing is i don’t know how to include it in the mirror. And honestly i don’t know how to post it somewhere like github -_- so others can help :p

            T MitchfarinoM 2 Replies Last reply Reply Quote 0
            • T Offline
              tyho @tyho
              last edited by

              I also managed to turn my sceen on and off by voice.

              1 Reply Last reply Reply Quote 0
              • MitchfarinoM Offline
                Mitchfarino Module Developer @tyho
                last edited by

                @tyho It would be good to see what you’ve done, if you could post a tutorial or something

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  tyho @Mitchfarino
                  last edited by

                  how does github work?

                  MitchfarinoM 1 Reply Last reply Reply Quote 0
                  • MitchfarinoM Offline
                    Mitchfarino Module Developer @tyho
                    last edited by

                    @tyho Not a clue

                    @KirAsh4 will know

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User
                      last edited by

                      @tyho github works as a distributed revision control and scm, so to use it you need to log an acct there, grab the desktop sync software for whatever os flavour you’re running, create a repository and then sync it to the path of your local working copy

                      T 1 Reply Last reply Reply Quote 0
                      • T Offline
                        tyho @Guest
                        last edited by tyho

                        @sullit ty. I’ll first finish the flickr and maps voice control and then i’ll check github.

                        any suggestions how to add this as module?

                        1 Reply Last reply Reply Quote 0
                        • KirAsh4K Offline
                          KirAsh4 Moderator
                          last edited by

                          As @sullit mentioned, Github is a code repository, any code, or to be more precise, any text. It’s a way for a coder to keep revisions on their code, and able to publish it to the general public. The code lives on whatever development machine you are using, and you sync, or mirror it to Github. This allows a coder to work on their code locally, break it, fix it, change it, do whatever, and when they’re done, push it up to Github to store and eventually release to the public. This also allows a coder to roll back their code. If while working locally they broke something and can’t figure out what happened, they can pull code back out from the repository and either merge it back in, or just compare and see where things went haywire. It’s a beautiful thing.

                          And while it may have a bit of a steep learning curve, trust me when I say this, it will save your sanity.

                          There are a lot of different guides, both on Github as well as out in the wild about how to use it.
                          Overall: https://guides.github.com/
                          Short and sweet beginner’s guide: https://guides.github.com/activities/hello-world/

                          A Life? Cool! Where can I download one of those from?

                          T 1 Reply Last reply Reply Quote 1
                          • T Offline
                            tyho @KirAsh4
                            last edited by

                            @KirAsh4 @sullit @Mitchfarino @MichMich
                            i managed to make a github. But i still don’t get the pull push thing but that will come later.

                            You can see what i have made so far here: https://github.com/ME-TYHO/MM2-Voice-Control-Module

                            I hope some guys here can help make this module.

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

                              Besides the ability to recognize the speech you also need to start the recognition with annyang. There should be an always listening component that reacts on a key word and starts annyang.

                              T 1 Reply Last reply Reply Quote 0
                              • T Offline
                                tyho @alexyak
                                last edited by

                                @alexyak at the moment annyang is always lisening. If i come back in à couple of hours i can still make my commands.

                                A 1 Reply Last reply Reply Quote 0
                                • A Offline
                                  alexyak @tyho
                                  last edited by

                                  @tyho You will quickly run out of quota if it listens continuously.

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

                                    It looks like this guy has figured it out:

                                    http://docs.smart-mirror.io

                                    T 1 Reply Last reply Reply Quote 0
                                    • T Offline
                                      tyho @alexyak
                                      last edited by

                                      @alexyak true, hè got à separate speech module for unlock annyang. Still you get max 50 commands a day. If i use annyang in chrome i got unlimited commands. So i guess it has something to do with api key what is burned into chrome browser. Maybe there is a way to use this api key.

                                      1 Reply Last reply Reply Quote 0
                                      • T Offline
                                        tyho
                                        last edited by tyho

                                        i can’t get it to work with the sphinx package. simply cuz i am not smart enough -_-
                                        I get pocketsphinx regognize my words but not in the js envirement and i don’t get response out of it.

                                        I think i just use “blather” for the time being to control my monitor on and off. I hope someone make a voice module soon. ^^

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          tyho
                                          last edited by

                                          @michmich @KirAsh4 running a simple html with the following code gets me more results then 50. and also run more then a hour already.

                                          I run it with https in chrome and get:
                                          0_1469556674964_upload-8cd7fc28-ea4b-4861-9aa3-a711d2c8e440

                                          has this something to do with chrome that there is no limit?

                                          1 Reply Last reply Reply Quote 0
                                          • KirAsh4K Offline
                                            KirAsh4 Moderator
                                            last edited by

                                            What’s the HTML/CSS output look like? That’s usually the first thing to look at when stuff like this happens and it’s not the expected result.

                                            A Life? Cool! Where can I download one of those from?

                                            T 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 2 / 4
                                            • 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