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

Almost done need to active my mirror by Phrase

Scheduled Pinned Locked Moved Unsolved Troubleshooting
phrase
24 Posts 4 Posters 8.6k 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.
  • O Offline
    otto @sdetweil
    last edited by Sep 9, 2019, 8:54 PM

    @sdetweil said in Almost done need to active my mirror by Phrase:

    @otto I think MMM-Hotword has enough capability to wake up from sleeping hotword detection

    The question is how… I have found one that are using Alexa, but not google.
    And to be honest I don’t rely know where to start.

    S 1 Reply Last reply Sep 9, 2019, 9:15 PM Reply Quote 0
    • S Offline
      sdetweil @otto
      last edited by Sep 9, 2019, 9:15 PM

      @otto MMM-Hotword listens for the starter word (alexa, mirror, smart-mirrot…) and then signals assistant started, so the assistant can take over. MMM-AssistantMk2 is for google assistant…

      but the latest hotword can do wakeup i think… @Sean has done a good job…

      i use this combo on one of my mirror setups… (mostly to tell it to go to sleep!, vs wait til the no motion timeout)…

      but i can ask anything i can ask GA. my home automation goes thru insteon smarthome devices which I have connected thru Alexa. i haven’t tried GA for that

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • O Offline
        otto
        last edited by Sep 9, 2019, 9:56 PM

        @sdetweil i have been doing som googleing… and found some intresseting post in the forum:
        https://forum.magicmirror.builders/topic/5003/mmm-glance-glance-focus-specific-module-s
        https://forum.magicmirror.builders/topic/8444/wake-mirror-with-voice/14?
        page=2

        https://forum.magicmirror.builders/topic/653/voice-controlled-wake-sleep-function

        1 Reply Last reply Reply Quote 0
        • O Offline
          otto
          last edited by Sep 9, 2019, 10:28 PM

          i think i will needing this:
          MMM-Glance will be use as hiding the modules
          MMM-Hotword for for the comand mirror mirror on the wall to active it
          MMM-NotificationTrigger that will do the hard work and start/stop it all

          if i can combien them some way it can work, dont know if there is a more faster way
          and not sure how

          S 1 Reply Last reply Sep 10, 2019, 12:34 AM Reply Quote 0
          • S Offline
            sdetweil @otto
            last edited by Sep 10, 2019, 12:34 AM

            @otto hotword hears the phrase, and sends the notification you configure.
            Some other module listens for that notification and does what you configure. No reason to send ANOTHER notification (notification trigger)… send what glance needs

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            O 1 Reply Last reply Sep 10, 2019, 8:44 AM Reply Quote 0
            • O Offline
              otto @sdetweil
              last edited by otto Sep 10, 2019, 9:19 AM Sep 10, 2019, 8:44 AM

              @sdetweil okej so u think i just need hotword and glance?

              i did install MMM-glance i have no ide what i am doing right now. SO i guess this is as wrong at it can be:/

              {
                module: 'MMM-Glance',
                config: {
                  defaultGlancingTime: 10000,
                  alias: {
                    "news" : "newsfeed",
              			module: "alert", "MMM-NowPlayingOnSpotify", "updatenotification", "calendar","compliments","currentweather","weatherforecast","newsfeed","MMM-Hotword","MMM-AssistantMk2",
                    "party mode"  : ["clock", "helloworld", "MMM-Something"],
                    ...
                  }  
                }
              }````
              1 Reply Last reply Reply Quote 0
              • S Offline
                sdetweil
                last edited by sdetweil Sep 10, 2019, 12:01 PM Sep 10, 2019, 12:00 PM

                hotword config doc

                https://github.com/eouia/MMM-Hotword/blob/master/documents/usage.md

                glance only displays the info for some period of time… (default 10 seconds)… how long do you want the info to stay on screen?

                the README.md file for each module tells how to use it

                Sam

                How to add modules

                learning how to use browser developers window for css changes

                O 1 Reply Last reply Sep 10, 2019, 10:20 PM Reply Quote 0
                • O Offline
                  otto @sdetweil
                  last edited by Sep 10, 2019, 10:20 PM

                  @sdetweil said in Almost done need to active my mirror by Phrase:

                  hotword config doc

                  https://github.com/eouia/MMM-Hotword/blob/master/documents/usage.md

                  glance only displays the info for some period of time… (default 10 seconds)… how long do you want the info to stay on screen?

                  the README.md file for each module tells how to use it

                  thanks for link i have been redning and reding it a coupel of time, and i notis the "This is a real example of recipe file"
                  is what i am looking for, that is a code for show all/hide all, the “only” thing i need figuer out, is how to get it to work, i need to record some new audio files, and change the “show all” to my phrase that i whant.
                  and creat trainer for it:D

                  looks like i maybe can solve this.
                  The qustine is if i need to anything more?
                  will that code hide all of my modules?
                  or do i need to typ all the namn of them,

                  dont rely know how to explain, i hoop u understand, if not let me know

                  
                  var recipe = {
                    models: [
                      {
                        hotwords    : "hideall",
                        file        : "hideall.pmdl",
                        sensitivity : "0.5",
                      },
                      {
                        hotwords    : "showall",
                        file        : "showall.pmdl",
                        sensitivity : "0.5",
                      },
                    ],
                    commands: {
                      "hideall": {
                        moduleExec: {
                          module: [],
                          exec: (module) => { module.hide()}
                        }
                      },
                      "showall": {
                        moduleExec: {
                          module: [],
                          exec: (module) => { module.show()}
                        }
                      },
                    },
                  }
                  exports.recipe = recipe // Don't remove this line.````
                  ? 1 Reply Last reply Sep 10, 2019, 10:43 PM Reply Quote 0
                  • ? Offline
                    A Former User @otto
                    last edited by Sep 10, 2019, 10:43 PM

                    @otto I think your code is enough.(at least logically). evenif there be a problem, it would not be serious to solve.

                    O 1 Reply Last reply Sep 11, 2019, 9:37 AM Reply Quote 0
                    • O Offline
                      otto @Guest
                      last edited by Sep 11, 2019, 9:37 AM

                      @Sean thanks for reply

                        commands: {
                          "hideall": {
                            moduleExec: {
                              **module: [],**
                              exec: (module) => { module.hide()}````
                      Do i need write all of the module namn? or is that module [], inculude all of my module? 
                      
                      
                      if so i "just need to"
                      1. record audio file using tranier
                      2  add the file to models directory
                      2. add the recipe file to  recipes directory
                      3. add config js : recipes: ["hide_show_all"]
                      
                      any it that right?
                      ? 1 Reply Last reply Sep 11, 2019, 9:40 AM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        8/24
                        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