• 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 455.5k 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 @Lowis
    last edited by A Former User Jan 25, 2019, 4:02 PM Jan 25, 2019, 4:02 PM

    @lowis
    Those features are allowed to REAL GOOGLE HOME devices at this moment. I hope somedays it could be allowed to Assistant SDK.

    1 Reply Last reply Reply Quote 0
    • L Offline
      Lowis
      last edited by Jan 28, 2019, 9:34 PM

      But a something like your youtube search and playing Should be possible for a webradio

      ? 1 Reply Last reply Jan 29, 2019, 7:44 AM Reply Quote 0
      • ? Offline
        A Former User @Lowis
        last edited by Jan 29, 2019, 7:44 AM

        @lowis Youtube features are added by myself with Youtube API.

        L 1 Reply Last reply Feb 4, 2019, 9:59 PM Reply Quote 0
        • L Offline
          Lowis
          last edited by Lowis Jan 29, 2019, 5:51 PM Jan 29, 2019, 5:51 PM

          @Sean Yes i know. Great work ! Maybe it could expand with a webradio directory like shoutcast.com

          1 Reply Last reply Reply Quote 0
          • J Offline
            Jmh474
            last edited by Jmh474 Jan 30, 2019, 3:50 PM Jan 30, 2019, 3:49 PM

            I’m guessing that this question has been asked quite a few times so I’m sorry for the repeat.

            I’ve got my mirror up and running using latest resabian, MagicMirror2, modules MMM-AssistantMk2 and MMM-HOTWORD.
            Adding more modules soon just taking a step at a time as I’m a total beginner.

            Seems to be running OK apart from the Google Assistant, its running so slow when asking questions and waiting for replies, and I don’t get voice response back just like a humming sound (I’m guessing this is when Google is answering), I know sound and mic are working as I can her myself talk when testing the mic.

            Also what is the best setup for mic and speakers in using a USB sound card
            Mic is just standard 3.5mm jack type
            Speakers are running through a separate amp after the sound card.

            One more this is there a way to add an Led for when the Google Assistant is listening??

            Sorry for the long post I’m just so close

            ? 1 Reply Last reply Jan 30, 2019, 3:57 PM Reply Quote 0
            • ? Offline
              A Former User @Jmh474
              last edited by Jan 30, 2019, 3:57 PM

              @jmh474
              For slow speed, I have no idea about it. Maybe it is related with your network status. Usually others have no problem about speed.
              I think, it is not about speed. You just couldn’t get the response with some reason.
              Test like this;

              • Stop the pm2 (If you are using)
              • Execute MM with npm start dev on MagicMirror directory.
              • See what happens on terminal shell.
                There could be errors or some useful messages to examine.
              1 Reply Last reply Reply Quote 0
              • L Offline
                Licorini
                last edited by Feb 4, 2019, 12:02 AM

                Hello … I am a beginner, I am trying to install Mk2 following the instructions, however it presents errors as below:

                pi@raspberrypi:~/MagicMirror $ npm start

                magicmirror@2.6.0 start /home/pi/MagicMirror
                sh run-start.sh

                Starting MagicMirror: v2.6.0
                Loading config …
                Loading module helpers …
                No helper found for module: alert.
                Initializing new module helper …
                Module helper loaded: updatenotification
                WARNING! Could not load config file. Starting with default configuration. Error found: Error: Failed to load gRPC binary module because it was not installed for the current system
                Expected directory: electron-v2.0-linux-arm-glibc
                Found: [node-v64-linux-arm-glibc]
                This problem can often be fixed by running “npm rebuild” on the current system
                Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’

                Loading module helpers …
                No helper found for module: alert.
                Initializing new module helper …
                Module helper loaded: updatenotification
                App threw an error during load
                Error: Failed to load gRPC binary module because it was not installed for the current system
                Expected directory: electron-v2.0-linux-arm-glibc
                Found: [node-v64-linux-arm-glibc]
                This problem can often be fixed by running “npm rebuild” on the current system
                Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
                at Module._compile (module.js:642:30)
                at Object.Module._extensions…js (module.js:653:10)
                at Module.load (module.js:561:32)
                at tryModuleLoad (module.js:504:12)
                at Function.Module._load (module.js:496:3)
                at Module.require (module.js:586:17)
                at require (internal/module.js:11:18)
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12)
                Whoops! There was an uncaught exception…
                { Error: Failed to load gRPC binary module because it was not installed for the current system
                Expected directory: electron-v2.0-linux-arm-glibc
                Found: [node-v64-linux-arm-glibc]
                This problem can often be fixed by running “npm rebuild” on the current system
                Original error: Cannot find module ‘/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_binary/electron-v2.0-linux-arm-glibc/grpc_node.node’
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:53:17)
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/grpc_extension.js:63:3)
                at Module._compile (module.js:642:30)
                at Object.Module._extensions…js (module.js:653:10)
                at Module.load (module.js:561:32)
                at tryModuleLoad (module.js:504:12)
                at Function.Module._load (module.js:496:3)
                at Module.require (module.js:586:17)
                at require (internal/module.js:11:18)
                at Object. (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/client_interceptors.js:144:12) code: ‘MODULE_NOT_FOUND’ }
                MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                Launching application.

                Can someone help me ??

                ? 1 Reply Last reply Feb 5, 2019, 7:23 AM Reply Quote 0
                • L Offline
                  Lowis @Guest
                  last edited by Feb 4, 2019, 9:59 PM

                  @sean but how can i setup the notification to start play MMM_Webradio ?

                  MMM_Webradio has this notifications :

                  WEBRADIO_ONOFF Starts / Pauses playback
                  WEBRADIO_VOLUP Volume up by 5%
                  WEBRADIO_VOLDOWN Volume down by 5%
                  WEBRADIO_NEXT Next station
                  WEBRADIO_PREV Previous station

                  ? 1 Reply Last reply Feb 5, 2019, 7:33 AM Reply Quote 0
                  • ? Offline
                    A Former User @Licorini
                    last edited by Feb 5, 2019, 7:23 AM

                    @licorini
                    You’ve missed or failed electron-rebuild step. Do it with instruction on README

                    1 Reply Last reply Reply Quote 0
                    • ? Offline
                      A Former User @Lowis
                      last edited by Feb 5, 2019, 7:33 AM

                      @lowis
                      There are two options to make custom commands - transcriptionHook and gAction.

                      I’ll explain with transcriptionHook because it is easier (but limited)
                      first. define hook phrase.

                      transcriptionHook: {
                        "RADIO": {
                          pattern: "my radio",  // When you say "my radio",
                          command: "RADIO_ONOFF" // command "RADIO_ONOFF" will be executed
                        },
                        ... // if you need more hooks, add here.
                      }
                      

                      Then, Let’s make command RADIO_ONOFF to emit notification when your voice is hooked.

                      command: {
                        "RADIO_ONOFF": {
                          notificationExec: {
                            notification: "WEBRADIO_ONOFF",
                          },
                        },
                        ... // if you need more commands, add here.
                      },
                      

                      Now, when you say “my radio” in your voice order, “RADIO_ONOFF” command will be executed to send notification “WEBRADIO_ONOFF”.

                      But, I think there could be a problem to use webradio. Because your radio sound will interrupt HOTWORD or AMK2 occasionally, it could make unintended misbehaviours. Anyway, I wish you good luck.

                      L 1 Reply Last reply Feb 5, 2019, 8:03 PM Reply Quote 0
                      • 1
                      • 2
                      • 21
                      • 22
                      • 23
                      • 24
                      • 25
                      • 42
                      • 43
                      • 23 / 43
                      23 / 43
                      • First post
                        228/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