MagicMirror² v2.12.0 is available! For more information about this release, check out this topic.

MMM-AssistantMk2



  • Hello,

    I have a problem with my google assistant. everything works fine except youtube.

    when i request a youtube request, the wizard opens a window with the google link, but does not open youtube.

    anyone have track? I can’t find anything on google.

    Modules installed:
    MMM-MyCalendar
    MMM-Jeedom
    MMM-HOTWORD
    MMM-Globe
    MMM-AssistantMk2

    thank you



  • Hello,

    You must install the MMM-Youtube module for this to work and add it to the config file in the MMM-AssistantMk2 module:

    recipes: [
           "MMM-with-Hotword.js", "with-MMM-Youtube.js"
         ],
    

    Regards,



  • thank you !

    it works.

    well I have a problem, how do we control it by voice?

    stop youtube it doesn’t work, it’s looking for an application that doesn’t exist.



  • Hello,

    Consult the module wiki.

    In the prepared recipes tab, it says:

    with-MMM-Youtube.js
    Youtube links detector. If a link with youtube is detected, the video is displayed.
    Youtube playlist detector
    You can also use youtube keyword to force search
    Vocal Control to stop video (modify pattern in your prefered language)
    Mute volune on assistant query
    known bugs : on Fullscreen ui, video is stopped when assistant activate
    

    Regards,



  • I’m sorry but there I am lost.

    I am French, I put in:

    module: “MMM-YouTube”,
    hl: “fr”,

    but i still don’t know what to say to the wizard to stop reading.

    I also put in:

    module: “MMM-AssistantMk2”

    recipes: [“with-MMM-Hotword.js”, “with-MMM-Youtube.js”],

    am I good until then?



  • Where can I find the command list for the FR language?



  • @ludacriss57 said in MMM-AssistantMk2:

    I’m sorry but there I am lost.

    I am French, I put in:

    module: “MMM-YouTube”,
    hl: “fr”,

    but i still don’t know what to say to the wizard to stop reading.

    Hello,
    Strangely, I did not need to put it in French for youtube to work.

    To stop it, I just say SmartMirror.

    I also try to say “stop the video” but it doesn’t work.

    Maybe if Sean or Bugsounet goes through there, they can explain the procedure to us.

    @ludacriss57 said in MMM-AssistantMk2:

    module: “MMM-AssistantMk2”

    recipes: [“with-MMM-Hotword.js”, “with-MMM-Youtube.js”],

    am I good until then?

    Yes, that’s what I put in my configuration and it works.

    Regards



  • In fact I feel like my problem is more complicated than that.

    if I deactivate MMM-Hotword and put MMM-AssistantMk2 back in normal voice mode (without recipe), it is impossible to trigger the assistant with “ok google”.

    as if he couldn’t hear me on MMM-AssistantMk2 but he heard me on MMM-HOTWORD.

    and actually at the install I had errors when I configure the microphone.

    but why does it work with hotword?

    I can not place orders from youtube by hotword?

    thank you



  • here is my config file on the interesting part

    {
      module: "MMM-AssistantMk2",
      position: "top_center",
      config: {
        ui: "Classic",
        assistantConfig: {
        latitude: *****,
        longitude: *****,
        },
    responseConfig: {
          useScreenOutput: true,
          useAudioOutput: true,
          useChime: true,
          timer: 5000,
          myMagicWord: false
        },
       micConfig: { // put there configuration generated by auto-installer
         recorder: "arecord",
         device: "plughw:1",
       },
    recipes: [ "with-MMM-Hotword.js", "with-MMM-Youtube.js", "Reboot-Restart-Shutdown.js" ],
    profiles: {
          "default": {
            profileFile: "default.json",
            lang: "fr-FR",
    


  • module: "MMM-Hotword",
    position: "bottom_left",
    config: {
      useDisplay: false,
      chimeOnFinish: null,
      recipes: ["with-AMk2v3-noisy_Jarvis.js"],
      mic: {
        recordProgram: "arecord",
        device: "plughw:1",

Log in to reply