• 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

Scheduled Pinned Locked Moved System
421 Posts 61 Posters 453.3k Views 57 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.
  • ? Offline
    A Former User
    last edited by A Former User Nov 14, 2018, 2:56 PM Jul 17, 2018, 1:33 PM

    MMM-AssistantMk2

    MMM-AssistantMk2 is an embedded google assistant on MagicMirror. This is more improved than my last MMM-Assistant.

    What is different from my prior?

    I made MMM-Assistant last year, But it was notorious for its difficulty of installation and configuration. And it was based on the old APIs and dependencies. I was so disappointed with its limitation, so I have half forgotten this module and it was almost abandoned. Sorry about that to everyone. (And special Thanks to @E3V3A and many participants for maintenance project during my absence)
    Now, the environments are improved. Google has also released new sdks, new tools and ‘Assistant for device’. It means, there is no need of ‘Commander’ anymore. Custom commands(actions) could be integrated into Assistant itself.

    So, I’d made this module newly.

    Improvements

    • pure javascript, no other python program or daemon needed.
    • Hotword(MMM-Hotword) and Assistant(MMM-AssistantMk2) are separated. Now you can wake up your Assistant with other modules. (e.g; H/W buttons or other module notifications or anything)
    • Command mode is deprecated. Now Google Assistant itself has the ability to react with a custom action. And possible to use IFTTT or transcriptionHooking.)
      • See MMM-NotificationTrigger for transcriptionHooking or using IFTTT.
      • See MMM-GAction for custom google action.
    • Visual response!!! (like Google Home with screen or Google Assistant on your phone, but some functions are limited or missed.)
    • Multi-user supported.
    • Auto find Youtube clip and playing.

    Download

    [card:eouia/MMM-AssistantMk2]
    [card:eouia/MMM-GAction] - For customized Google Action for MagicMirror sample.

    Demonstartion

    Voice commands demo
    Voice commands demo

    Multi profile demo
    Multi profile and language demo

    other stuffs
    Touchscreen version without Hotword

    Tested

    • MagicMirror : 2.4.1
    • nodeJS : 8.11.3 & 10.0.x
    • SBC : Asus TinkerBoard & Raspberry Pi 3 / Kiosk mode and Serveronly mode both work.

    Related modules

    [card:eouia/MMM-Hotword] [card:eouia/MMM-NotificationTrigger]

    K 1 Reply Last reply Jul 19, 2018, 5:59 AM Reply Quote 3
    • M Offline
      maxbachmann
      last edited by Jul 17, 2018, 2:00 PM

      @Sean I especially love how you splitted the single parts into different Modules, so you can easily use parts of your stuff without having to edit the code first :)

      ? 1 Reply Last reply Jul 17, 2018, 2:04 PM Reply Quote 0
      • ? Offline
        A Former User @maxbachmann
        last edited by Jul 17, 2018, 2:04 PM

        @maxbachmann My prior always give me some kind of maintenance-phobia, So, I break into 4 modules for maintenance and better usages. Thanx for your appreciation.

        1 Reply Last reply Reply Quote 1
        • M Offline
          maxbachmann
          last edited by Jul 18, 2018, 11:31 AM

          @Sean I know the trouble gets a nightmare to maintain code thats not splitted properly

          1 Reply Last reply Reply Quote 0
          • K Offline
            komodoteler @Guest
            last edited by Jul 19, 2018, 5:59 AM

            @sean

            Hi,

            I followed installation step by step until configuration part. credentials works fine when test.js ran.

            Once reboot, i initially had blank screen but once electron build completed, i have mic icon on MM but unable to activate google assistant. I am using default config.js with single default profile.

            I am using HDMI as output from TV which confirmed working after forcing HDMI output via raspi-config.

            As input, I use USB Mini Microphone which confirmed after command “arecord -l” ran.

            Do i need to install MMM-Hotword & MMM-NotificationTrigger too?

            ? 1 Reply Last reply Jul 19, 2018, 6:04 AM Reply Quote 0
            • ? Offline
              A Former User @komodoteler
              last edited by Jul 19, 2018, 6:04 AM

              @komodoteler
              Unless using other awakener or touchscreen, you need MMM-Hotword &MMM-NotificationTrigger.

              1 Reply Last reply Reply Quote 0
              • K Offline
                komodoteler
                last edited by Jul 19, 2018, 7:36 PM

                Apparently my microphone was not setup correctly. without MMM-Hotword and MMM-NotificationTrigger, it works but i have manually click the mic icon on every interaction with GA.

                All i need is to use the hotword module to trigger the GA. The sample config file is too complicated for me and i don’t use IFTTT, GAction, etc.

                Please help.

                ? 1 Reply Last reply Jul 19, 2018, 8:13 PM Reply Quote 0
                • ? Offline
                  A Former User @komodoteler
                  last edited by Jul 19, 2018, 8:13 PM

                  @komodoteler
                  How can I help you? Give me a detail.
                  If you need personal contact;
                  Mail: eouia0819@gmail.com
                  Telegram: @eouia

                  1 Reply Last reply Reply Quote 0
                  • K Offline
                    komodoteler
                    last edited by Jul 21, 2018, 5:48 PM

                    Sean, thanks for the help and patience, finally managed to work out the issue.

                    it was mainly with improper setting on .asoundrc and config.js

                    This is hands down the best voice recognition with visual there is.

                    One small thing I noticed is the youtube video opened sometimes throw “invalid parameter”. Could it be default youtube parameter on config.js?

                    ? 1 Reply Last reply Jul 21, 2018, 6:00 PM Reply Quote 3
                    • ? Offline
                      A Former User @komodoteler
                      last edited by A Former User Jul 21, 2018, 6:01 PM Jul 21, 2018, 6:00 PM

                      @komodoteler Most of those cases are, “Not allowed playing on ‘embeded player(out of youtube)’ by Authorities”.

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 4
                      • 5
                      • 42
                      • 43
                      • 1 / 43
                      1 / 43
                      • First post
                        1/421
                        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