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 (v3)

    Scheduled Pinned Locked Moved System
    135 Posts 27 Posters 84.9k Views 25 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.
    • J Offline
      jimmydew @Guest
      last edited by

      @Bugsounet

      pi@raspberrypi:~/MagicMirror $ gcc --version
      gcc (Raspbian 7.3.0-19) 7.3.0
      Copyright (C) 2017 Free Software Foundation, Inc.
      This is free software; see the source for copying conditions.  There is NO
      warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
      
      1 Reply Last reply Reply Quote 0
      • E Offline
        electros Project Sponsor @Guest
        last edited by

        @Bugsounet Hi, again. I managed to make my radio station list and everything works fine, just I don’t know how to stop the radio. Can you please explain me how to add a stop radio command?
        Thank you

        1 Reply Last reply Reply Quote 0
        • ? Offline
          A Former User
          last edited by

          @jimmydew can you do this command for more informations, please ?

          cat /etc/*release

          @electros :
          Good job !

          For stop radio (and other A2D module), i create a feature in AMk2 (A2D Server part)
          You can define your prefered stop command
          by default it’s stop but … it’s depend of your language !
          for exemple in french language, when i say stop, google transcript stoppe

          you have an exemple in AMk2 structure sample

          E J 2 Replies Last reply Reply Quote 0
          • E Offline
            electros Project Sponsor @Guest
            last edited by

            @Bugsounet OK I understand that but if I configure that “stop” in english for example just I must say " jarvis stop" or “jarvis stop radio” ?

            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User

              It’s depend what’s google return in transcription
              for verify what it return
              You have 2 solutions:

              1. turn Fullscreen ui , activate jarvis and say stop.
                AMk2 will display in real time what it understand, so if it display stop, it’s ok
                en french it display stoppe then i have to modify A2DStopCommand: "stoppe",
              2. in console and debug mode actived
                activate jarvis and say stop.
                you will see the transcription of google
                transcription: { transcription: 'stoppe', done: true },

              notes:

              • if you say stop and method 1 or 2 result is stop too
                no A2DStopCommand configuration require
              • stop command defined in A2DStopCommand stops all process of A2D : weblinks, cast, youtube, radio, photos (and MMM-FreeboxTV for french user)

              Use:

              just say jarvis (for activating) … stop (or your prefered A2DStopCommand)

              E 1 Reply Last reply Reply Quote 0
              • E Offline
                electros Project Sponsor @Guest
                last edited by

                @Bugsounet OK, thank you

                1 Reply Last reply Reply Quote 0
                • J Offline
                  jimmydew @Guest
                  last edited by

                  @Bugsounet

                  sure:

                  pi@raspberrypi:~/MagicMirror $ cat /etc/*release
                  PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"
                  NAME="Raspbian GNU/Linux"
                  VERSION_ID="10"
                  VERSION="10 (buster)"
                  VERSION_CODENAME=buster
                  ID=raspbian
                  ID_LIKE=debian
                  HOME_URL="http://www.raspbian.org/"
                  SUPPORT_URL="http://www.raspbian.org/RaspbianForums"
                  BUG_REPORT_URL="http://www.raspbian.org/RaspbianBugs"
                  
                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    gyp ERR! System Linux 5.4.35-v7l+

                    in the raspbian web site i see this:

                    Raspbian Buster with desktop
                    Image with desktop based on Debian Buster
                    Version:February 2020
                    Release date:2020-02-13
                    Kernel version:4.19
                    

                    i don’t know why you are the 5.4.x kernel version and it seams the problem
                    I don’t try to compile it with it so … sorry, i can’t help
                    retry with 4.19.x kernel version

                    J 1 Reply Last reply Reply Quote 0
                    • J Offline
                      jimmydew @Guest
                      last edited by

                      @Bugsounet

                      hmm okay, is there a way to change my kernel version??

                      S 1 Reply Last reply Reply Quote 0
                      • S Offline
                        sdetweil @jimmydew
                        last edited by

                        @jimmydew load a different version of the OS

                        Sam

                        How to add modules

                        learning how to use browser developers window for css changes

                        J 1 Reply Last reply Reply Quote 0
                        • J Offline
                          jimmydew @sdetweil
                          last edited by

                          @sdetweil
                          oke thank you but I dont now how I load a diffrent Os

                          S 1 Reply Last reply Reply Quote 0
                          • S Offline
                            sdetweil @jimmydew
                            last edited by

                            @jimmydew flash the SD card with a different is version

                            Sam

                            How to add modules

                            learning how to use browser developers window for css changes

                            J 1 Reply Last reply Reply Quote 0
                            • J Offline
                              jimmydew @sdetweil
                              last edited by

                              @sdetweil i have done now ive installed MM again and it gives me this on startup,

                              [2020-05-19 00:24:34.545] [LOG]    Whoops! There was an uncaught exception...
                              [2020-05-19 00:24:34.545] [ERROR]  Error: Cannot find module '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/lib/node/binding/Release/electron-v6.1-linux-arm/snowboy.node'
                              Require stack:
                              - /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/lib/node/index.js
                              - /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/index.js
                              - /home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js
                              - /home/pi/MagicMirror/js/app.js
                              - /home/pi/MagicMirror/js/electron.js
                              - /home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js
                              - 
                                  at Module._resolveFilename (internal/modules/cjs/loader.js:627:15)
                                  at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/electron/dist/resources/electron.asar/common/reset-search-paths.js:41:16)
                                  at Function.Module._resolveFilename (/home/pi/MagicMirror/node_modules/module-alias/index.js:49:29)
                                  at Function.Module._load (internal/modules/cjs/loader.js:531:27)
                                  at Module.require (internal/modules/cjs/loader.js:685:19)
                                  at require (internal/modules/cjs/helpers.js:16:16)
                                  at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/lib/node/index.js:8:29)
                                  at Module._compile (internal/modules/cjs/loader.js:786:30)
                                  at Object.Module._extensions..js (internal/modules/cjs/loader.js:798:10)
                                  at Module.load (internal/modules/cjs/loader.js:645:32) {
                                code: 'MODULE_NOT_FOUND',
                                requireStack: [
                                  '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/lib/node/index.js',
                                  '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_modules/@bugsounet/snowboy/index.js',
                                  '/home/pi/MagicMirror/modules/MMM-AssistantMk2/node_helper.js',
                                  '/home/pi/MagicMirror/js/app.js',
                                  '/home/pi/MagicMirror/js/electron.js',
                                  '/home/pi/MagicMirror/node_modules/electron/dist/resources/default_app.asar/main.js',
                                  undefined
                                ]
                              }
                              [2020-05-19 00:24:34.562] [LOG]    MagicMirror will not quit, but it might be a good idea to check why this happened. Maybe no internet connection?
                              [2020-05-19 00:24:34.563] [LOG]    If you think this really is an issue, please open an issue on GitHub: https://github.com/MichMich/MagicMirror/issues
                              [2020-05-19 00:24:34.565] [LOG]    [A2D] MMM-Assistant2Display Version: 1.5.2
                              [2020-05-19 00:24:34.566] [LOG]    [A2D] Assistant2Display is initialized.
                              [2020-05-19 00:26:55.124] [LOG]    Shutting down server...
                              [2020-05-19 00:26:55.126] [LOG]    Stopping module helper: calendar
                              [2020-05-19 00:26:55.128] [LOG]    Stopping module helper: newsfeed
                              [2020-05-19 00:26:55.129] [LOG]    Stopping module helper: MMM-AssistantMk2
                              [2020-05-19 00:26:55.130] [LOG]    Stopping module helper: MMM-Assistant2Display
                              pi@raspberrypi:~/MagicMirror $
                              

                              it still not detects my voice, only when i click on the assistant

                              S 1 Reply Last reply Reply Quote 0
                              • S Offline
                                sdetweil @jimmydew
                                last edited by

                                @jimmydew @Bugsounet will be by to help…

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 0
                                • ? Offline
                                  A Former User
                                  last edited by

                                  I ordered an RPI4, I await the end of delivery for tomorrow.
                                  So I’m going to do a new installation on it.
                                  I come back to you once done

                                  S 1 Reply Last reply Reply Quote 0
                                  • S Offline
                                    sdetweil @Guest
                                    last edited by

                                    @Bugsounet use my script…

                                    Sam

                                    How to add modules

                                    learning how to use browser developers window for css changes

                                    1 Reply Last reply Reply Quote 0
                                    • ? Offline
                                      A Former User
                                      last edited by

                                      @sdetweil : of course ! it’s planned ! ;)

                                      1 Reply Last reply Reply Quote 0
                                      • ? Offline
                                        A Former User
                                        last edited by

                                        yeah, I receive my RPI, SD card but missing : RPI case, fan and power supply

                                        It’s the second order and it’s will be deliver tomorrow ;)
                                        Note: ahahah, I have no RPI for developping !!!

                                        1 Reply Last reply Reply Quote 0
                                        • L Offline
                                          Lasmazze
                                          last edited by

                                          Hi everyone!

                                          The module works very well. Good work!

                                          I just have a request:

                                          When I say “JARVIS” I would like the sound to be cut or lowered to the minimum if not the assistant records what it is broadcasting like the radio or a youtube video. When I finish talking to the assistant, I would like the sound to come back as it was before.

                                          Thank you in advance for your help!

                                          1 Reply Last reply Reply Quote 0
                                          • ? Offline
                                            A Former User
                                            last edited by

                                            @jimmydew : i confirm there is a bug in my installer. (missing 2 library, I say “bravo !” in French)

                                            I correct it ;)

                                            in AMk2 directory retry with:

                                            npm run update
                                            

                                            and do all process
                                            It should work now

                                            Cr4z33C 1 Reply Last reply Reply Quote 0

                                            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                                            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                                            With your input, this post could be even better 💗

                                            Register Login
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 5 / 7
                                            • First post
                                              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