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.

    Using voice to wake up mirror from sleep

    Scheduled Pinned Locked Moved General Discussion
    voice controlgoogle assistantonoffscreen
    10 Posts 5 Posters 1.5k Views 4 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.
    • M Offline
      mimic974
      last edited by

      Hi all,
      I need your help to know how can i do to wake my mirror from sleep mode using a custom voice command like “Mirror” then boom! screen wakes up, only that.

      I don’t want to launch an assitant, i found MMM-hotword wich would be great, but decrepeated, maybe MMM-assitant from @Bugsounet (salut copain), but if i Say the hotword, would it launch GA directly ? Or maybe there is a configuration to only wake the screen ? If so is it possible toi use another hotword to launch GA ?

      Thanks all oxox

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

        Hi (copain), it’s a PIR sensor job and not an hotword job

        PIR sensor is very low cost (5€) and add it to your RPI

        After, A2D (Assistant2Display) can manage PIR sensor with screen sub-module for real integration with other sub-modules

        1 Reply Last reply Reply Quote 0
        • M Offline
          mimic974
          last edited by

          I would add a PIR sensor later but where the Mirror is i’d prefer to call it to show me informations , so it is not possible at all ?

          1 Reply Last reply Reply Quote 0
          • mumblebajM Offline
            mumblebaj Module Developer @mimic974
            last edited by

            @mimic974 Not sure if this would be helpful in anyway, I have MMM-Networkscanner running on my Mirror and it wakes my mirror when it detects my phone on my network. So when I leave it turns the screen off and wakes up when I am back on the network.

            Check out my modules at: https://github.com/mumblebaj?tab=repositories

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

              Thanks for the link to the MMM-assistant, I was about to start working on something similar myself.

              From what I remember (truth be told I havent looked at the google assistant in a while) the google assistant does not support customized keywords ie. “Mirror” only things like “Ok Google”.
              Anything that does a custom keyword usually uses snowboy (as MMM-assistant does), Picovoice, DeepVoice, or some kind of a custom tensorflow derivative. I have not looked into any of these other solutions because I’m not too much of a fan of having to say “Ok Google” (not to mention the whole “big brother” things that come with it).

              Also one thing to note is that some of these solutions (especially a custom tensorflow and potentially snowboy) wont have the accuracy of a google assistant since they wont have the raw voice data that google has.
              Sounds like it will come down to: how much legwork do you want to do to create a solution that fits your needs, how accepting are you of a potential “always listening and sending data” solution, and how important accuracy is.

              Personally I’m probably going to try and figure out how to do a custom hotword that doesn’t leave my local network, and have that be a trigger for Google’s assistant. No big bro, and only have to worry about training a model for a single trigger word

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

                @artieikon: sure, I try PicoVoice but i Think it’s too complex for newbies user
                I have planed to test tensorflow… maybe it’s the solution

                in all case snowboy project will turn off soon… so, I search a solution

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

                  There is also MMM-voice that you can check out. Module hasn’t been updated for 3 years, but the forum post has still been getting some action with people sounding pleased with it.

                  Took a quick look at what it uses. Something called Sphinx SPHINX.
                  Never head of it before, but it seems to be developed by Carnegie Mellon so it should be pretty legit. Definitely much less used and known than tensor or any of the others, but being made by CMU means it should be pretty good stuff (although maybe not currently or ever “production ready”)

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

                    @artieikon sphinx is not near as good as snowboy for hotword detection.

                    I am sure some team will take over snowboy to keep it going

                    Sam

                    How to add modules

                    learning how to use browser developers window for css changes

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

                      that’s why i don’t use it

                      I prefer my own node-snowboy npm library actually and I don’t find better

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

                        Ahh well thank you for saving me the trouble of looking into it. Figured it wouldnt be as good just based on the adoption

                        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
                          OSZAR »