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-GoogleAssistant note here

    Scheduled Pinned Locked Moved Utilities
    22 Posts 4 Posters 5.7k Views 4 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.
    • W Offline
      wirdman
      last edited by wirdman

      @killerjoe34 said in MMM-GoogleAssistant note here:

      aplay --format=S16_LE --rate=48000 out.raw

      i think no ^^

      pipi@raspberrypi:~ $ arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
      ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM input
      arecord: main:828: erreur à l'ouverture audio: Aucun fichier ou dossier de ce type
      pi@raspberrypi:~ $ arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
      ALSA lib pcm.c:2565:(snd_pcm_open_noupdate) Unknown PCM input
      arecord: main:828: erreur à l'ouverture audio: Aucun fichier ou dossier de ce type
      
      
      1 Reply Last reply Reply Quote 0
      • ? Offline
        A Former User
        last edited by

        arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
        aplay test.wav
        
        W 1 Reply Last reply Reply Quote 0
        • W Offline
          wirdman @Guest
          last edited by wirdman

          @Bugsounet

          pi@raspberrypi:~ $ arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
          arecord: main:828: erreur à l'ouverture audio: Périphérique ou ressource occupé
          
          1 Reply Last reply Reply Quote 0
          • ? Offline
            A Former User
            last edited by

            cela veux simplement dire que tu enregistre deja quelque chose
            suremement Magicmirror est lancer ;)

            W 1 Reply Last reply Reply Quote 0
            • W Offline
              wirdman @Guest
              last edited by

              @Bugsounet

              haa d’accord merci beaucoup

              pi@raspberrypi:~ $ arecord -D plughw:2 -q -r 16000 -c 1 -t wav -f S16_LE -d 3 test.wav
              pi@raspberrypi:~ $ aplay test.wav
              Lecture WAVE 'test.wav' : Signed 16 bit Little Endian, Fréquence 16000 Hz, Mono
              
              1 Reply Last reply Reply Quote 0
              • ? Offline
                A Former User
                last edited by

                So: It’s meens, if you hear your voice plughw:2 is the good configuration for micConfig: {} part
                [donc , si vous entendez votre voix, cela signifie que plughw:2 est la bonne configuration a mettre dans micConfig: {}]

                W 1 Reply Last reply Reply Quote 0
                • W Offline
                  wirdman @Guest
                  last edited by

                  @Bugsounet

                  Tout fonctionne merci énormément 😁😁😁

                  merci pour votre aide et votre patience pour le noob que je suis

                  🤩

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

                    no problem, it’s logical i help you … just because i code it ;)
                    [pas de souci, vu que je créé ce module, il me parait logique d’aider (surtout les français … comme moi)]

                    now let’s try Assistant2Display extension, for displaying all jobs
                    [essayez maintenant Assistant2Display, l’extension de GA pour afficher plein de chose…]

                    W 2 Replies Last reply Reply Quote 0
                    • W Offline
                      wirdman @Guest
                      last edited by

                      @Bugsounet

                      i going right night to see that 😃

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        wirdman @Guest
                        last edited by

                        @Bugsounet said in MMM-GoogleAssistant note here:

                        Assistant2Display

                        je suis un peut perdu je pense a cause du

                        var config = {
                          address: "localhost",
                          electronOptions: {
                            webPreferences: {
                              webviewTag: true
                            }
                          },
                          port: 8080,
                        ...
                        

                        voici l’erreur sinon tout ce lance correctement

                        [2020-07-16 20:03:31.883] [LOG]    [A2D] MMM-Assistant2Display Version: 2.2.1
                        [2020-07-16 20:03:31.910] [ERROR]  (node:9433) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                        [2020-07-16 20:03:31.916] [ERROR]  (node:9433) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
                        [2020-07-16 20:03:34.067] [LOG]    Refreshed access token because it has expired. Expired at: 20:03:31 now is: 20:03:34
                        [2020-07-16 20:03:34.126] [LOG]    Refreshed access token because it has expired. Expired at: 21:03:34 now is: 20:03:34
                        [2020-07-16 20:03:35.013] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
                        [2020-07-16 20:03:36.759] [LOG]    [A2D] Assistant2Display is disabled.
                        
                        W 1 Reply Last reply Reply Quote 0
                        • W Offline
                          wirdman @wirdman
                          last edited by

                          @Bugsounet

                          Now my mirror crashing whith this error

                          [2020-07-16 20:30:49.965] [LOG]    [ASSISTANT] Google Assistant is initialized.
                          ERROR (Init():pipeline-detect.cc:143) PipelineDetect: no model detected! You have to provide at least one personal or one universal model by calling SetModel().
                          terminate called after throwing an instance of 'std::runtime_error'
                            what():  ERROR (Init():pipeline-detect.cc:143) PipelineDetect: no model detected! You have to provide at least one personal or one universal model by calling SetModel().
                          
                          [stack trace: ]
                          
                          Backtrace has not been implemented yet.
                          
                          
                          W 1 Reply Last reply Reply Quote 0
                          • W Offline
                            wirdman @wirdman
                            last edited by

                            @wirdman

                            ok i find I just changed the name of the model jarvis

                            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
                            • 2 / 2
                            • 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