• 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-Assistantmk2 and MMM-Hotword not picking up

Scheduled Pinned Locked Moved Unsolved Troubleshooting
54 Posts 9 Posters 30.4k Views 9 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.
  • S Away
    sdetweil @jmartin1009
    last edited by Mar 6, 2019, 2:01 AM

    @jmartin1009 i would get a new mic… clearly this one is having issues… is that the array?

    Sam

    How to add modules

    learning how to use browser developers window for css changes

    J 1 Reply Last reply Mar 6, 2019, 3:11 AM Reply Quote 0
    • J Offline
      jmartin1009 @sdetweil
      last edited by Mar 6, 2019, 3:11 AM

      @sdetweil yeah it’s the PS3 eye camera microphone, it has a 4 microphone array that alsamixer hates lol

      1 Reply Last reply Reply Quote 0
      • C Offline
        costascontis
        last edited by Mar 6, 2019, 5:50 AM

        I use the ps3 eye cam mic and its working fine with hotword…

        S 1 Reply Last reply Mar 6, 2019, 12:22 PM Reply Quote 0
        • E Offline
          ejay-ibm Project Sponsor Module Developer
          last edited by Mar 6, 2019, 10:57 AM

          install audacity and give a quick test to your mic.
          you will know if you mic is dead

          sudo apt-get install audacity

          B 1 Reply Last reply Mar 8, 2019, 2:05 PM Reply Quote 0
          • S Away
            sdetweil @costascontis
            last edited by Mar 6, 2019, 12:22 PM

            @costascontis said in MMM-Assistantmk2 and MMM-Hotword not picking up:

            I use the ps3 eye cam mic and its working fine with hotword…

            yes, but there are lots of reports of individual mics not working… replace and all is ok…

            Sam

            How to add modules

            learning how to use browser developers window for css changes

            1 Reply Last reply Reply Quote 0
            • B Offline
              bachoo786 @ejay-ibm
              last edited by bachoo786 Mar 8, 2019, 2:07 PM Mar 8, 2019, 2:05 PM

              Hi @ejay-ibm

              I managed to get assistantmk2 and hotword working and everything is fine. However I will be grateful if you could please help me with the following queries:

              1). When i say jarvis or smart mirror, the assistantmk2 module takes 1 to 2 seconds to respond i.e. the ding bell I mean after which I can ask any question. How can I remove this lag and make it instant? I have seen other people dont have this issue.

              2). How do I get the assistantmk2 to play youtube videos on my mirror by asking it to play something from youtube?

              3). Finally can I change the hotword from “jarvis” to say “ok google”?

              Thanks.

              This is my config:

              {
                  module: "MMM-AssistantMk2",
                  position: "top_right",
                  config: {
                    deviceLocation: {
                                      coordinates: { // set the latitude and longitude of the device to get localized information like weather or time. (ref. mygeoposition.com)
                                      latitude: 51.597442, // -90.0 - +90.0
                                      longitude: -0.338839, // -180.0 - +180.0
                        }
                      },
                    record: {
                      recordProgram : "arecord",
                      device        : "default",
                    },
                    play: { // Full values are in `FOR EXPERTS` section.
                            playProgram: "mpg321", // recommended.
                    },
                    notifications: {
                      ASSISTANT_ACTIVATED: "HOTWORD_PAUSE",
                      ASSISTANT_DEACTIVATED: "HOTWORD_RESUME",
                    },
                  }
                },
                {
                  module: "MMM-Hotword",
                  config: {
                    record: {
                      recordProgram : "arecord",
                      device        : "default",
                    },
                    autostart:true,
                    onDetected: {
                      notification: function (payload) {
                        return "ASSISTANT_ACTIVATE"
                      },
                      payload: function (payload){
                        return {
                          profile: payload.hotword
                        }
                      }
                    },
                  },
                },
              

              Also you have notifications in your config, what is it for? can you please explain? thanks.

              1 Reply Last reply Reply Quote 0
              • E Offline
                ejay-ibm Project Sponsor Module Developer
                last edited by Mar 8, 2019, 2:09 PM

                Hi,

                1- I would say first to check you CPU charge first , the delay might be due to the load.
                2- just say " Jarvis" … " Micheal jackson smooth criminal" it will play the youtube video clip
                3- if you want to say " ok google" you have to add your own umdl or umdp file.

                Info and new umd* file can be found and created here :
                https://snowboy.kitt.ai/

                hope this help .

                Ejay

                B 1 Reply Last reply Mar 8, 2019, 2:10 PM Reply Quote 0
                • B Offline
                  bachoo786 @ejay-ibm
                  last edited by Mar 8, 2019, 2:10 PM

                  @ejay-ibm thanks for the quick reply.

                  you have notifications in your config, what is it for? can you please explain? thanks.

                  E 1 Reply Last reply Mar 9, 2019, 8:28 AM Reply Quote 0
                  • E Offline
                    ejay-ibm Project Sponsor Module Developer @bachoo786
                    last edited by Mar 9, 2019, 8:28 AM

                    @bachoo786
                    The notification allows to the hotword module to receive instruction from the assistant module by notification to pause or resume itself in the right time.
                    When assistant 'talk it pause the hotword detection
                    ASSISTANT_ACTIVATED: “HOTWORD_PAUSE”,
                    When the assistant is done it restart the hotword detection .
                    ASSISTANT_DEACTIVATED: “HOTWORD_RESUME”,

                    Ejay

                    1 Reply Last reply Reply Quote 0
                    • A Offline
                      AdnanAhmed97
                      last edited by Mar 10, 2019, 4:56 PM

                      The hotword module should be called outside the assistant module
                      Add the brackets correctly and change and change device to plughw : 1;

                      B 1 Reply Last reply Mar 11, 2019, 9:13 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 6
                      • 3 / 6
                      3 / 6
                      • First post
                        28/54
                        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