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

      hello my MMM-Google assistant in loaded correctly but no google assistant :crying_face:

      Capture d’écran 2020-07-15 à 01.17.25.png

      i@raspberrypi:~/MagicMirror $ npm start
      
      > magicmirror@2.12.0 start /home/pi/MagicMirror
      > DISPLAY="${DISPLAY:=:0}" ./node_modules/.bin/electron js/electron.js
      
      [2020-07-15 01:13:03.427] [LOG]    Starting MagicMirror: v2.12.0
      [2020-07-15 01:13:03.441] [LOG]    Loading config ...
      [2020-07-15 01:13:03.450] [LOG]    Loading module helpers ...
      [2020-07-15 01:13:03.455] [LOG]    No helper found for module: alert.
      [2020-07-15 01:13:03.545] [LOG]    Initializing new module helper ...
      [2020-07-15 01:13:03.547] [LOG]    Module helper loaded: updatenotification
      [2020-07-15 01:13:03.548] [LOG]    No helper found for module: clock.
      [2020-07-15 01:13:04.978] [LOG]    Initializing new module helper ...
      [2020-07-15 01:13:04.980] [LOG]    Module helper loaded: calendar
      [2020-07-15 01:13:04.983] [LOG]    No helper found for module: compliments.
      [2020-07-15 01:13:04.985] [LOG]    No helper found for module: currentweather.
      [2020-07-15 01:13:04.987] [LOG]    No helper found for module: weatherforecast.
      [2020-07-15 01:13:08.874] [LOG]    Initializing new module helper ...
      [2020-07-15 01:13:08.876] [LOG]    Module helper loaded: MMM-GoogleAssistant
      [2020-07-15 01:13:08.879] [LOG]    No helper found for module: MMM-SwissCommute.
      [2020-07-15 01:13:10.039] [LOG]    Initializing new module helper ...
      [2020-07-15 01:13:10.040] [LOG]    Module helper loaded: MMM-NowPlayingOnSpotify
      [2020-07-15 01:13:10.090] [LOG]    Initializing new module helper ...
      [2020-07-15 01:13:10.091] [LOG]    Module helper loaded: newsfeed
      [2020-07-15 01:13:10.092] [LOG]    All module helpers loaded.
      [2020-07-15 01:13:10.394] [LOG]    Starting server on port 8080 ... 
      [2020-07-15 01:13:10.443] [INFO]   You're using a full whitelist configuration to allow for all IPs
      [2020-07-15 01:13:10.474] [LOG]    Server started ...
      [2020-07-15 01:13:10.477] [LOG]    Connecting socket for: updatenotification
      [2020-07-15 01:13:10.482] [LOG]    Connecting socket for: calendar
      [2020-07-15 01:13:10.485] [LOG]    Starting node helper for: calendar
      [2020-07-15 01:13:10.489] [LOG]    Connecting socket for: MMM-GoogleAssistant
      [2020-07-15 01:13:10.492] [LOG]    Connecting socket for: MMM-NowPlayingOnSpotify
      [2020-07-15 01:13:10.495] [LOG]    Connecting socket for: newsfeed
      [2020-07-15 01:13:10.497] [LOG]    Starting node helper for: newsfeed
      [2020-07-15 01:13:10.499] [LOG]    Sockets connected & modules started ...
      [2020-07-15 01:13:10.826] [LOG]    Launching application.
      [2020-07-15 01:13:16.935] [LOG]    Create new calendar fetcher for url: https://calendar.google.com/calendar/ical/maxart3.3%40gmail.com/private-b5e26bc2232a38edcb73772a3242221e/basic.ics - Interval: 300000
      [2020-07-15 01:13:17.444] [LOG]    Create new news fetcher for url: https://www.lemonde.fr/international/rss_full.xml - Interval: 300000
      [2020-07-15 01:13:17.566] [INFO]   Checking git for module: MMM-GoogleAssistant
      [2020-07-15 01:13:17.609] [INFO]   Checking git for module: MMM-SwissCommute
      [2020-07-15 01:13:17.644] [INFO]   Checking git for module: MMM-NowPlayingOnSpotify
      [2020-07-15 01:13:17.706] [LOG]    [ASSISTANT] MMM-GoogleAssistant Version: 2.2.1
      [2020-07-15 01:13:17.723] [ERROR]  (node:24880) [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-15 01:13:17.726] [ERROR]  (node:24880) [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-15 01:13:19.013] [LOG]    Refreshed access token because it has expired. Expired at: 01:13:17 now is: 01:13:19
      [2020-07-15 01:13:19.096] [LOG]    Refreshed access token because it has expired. Expired at: 02:13:19 now is: 01:13:19
      [2020-07-15 01:13:19.233] [LOG]    Refreshed access token because it has expired. Expired at: 02:13:19 now is: 01:13:19
      [2020-07-15 01:13:20.148] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
      [2020-07-15 01:13:21.741] [LOG]    [SNOWBOY] Model selected: jarvis
      [2020-07-15 01:13:21.756] [LOG]    [SNOWBOY] snowboy v1.5.0 Initialized...
      [2020-07-15 01:13:21.768] [LOG]    [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js
      [2020-07-15 01:13:21.772] [LOG]    [ASSISTANT] Use native program (mpg321) for audio response
      [2020-07-15 01:13:21.780] [LOG]    [SOUND] mpg321 Initialized
      [2020-07-15 01:13:21.785] [LOG]    [ASSISTANT] Google Assistant is initialized.
      [2020-07-15 01:13:22.926] [INFO]   Calendar-Fetcher: Broadcasting 4 events.
      
      
      
      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @wirdman
        last edited by

        @wirdman did u speak the hotword, and ask a question?

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        W 1 Reply Last reply Reply Quote 0
        • K Offline
          killerjoe34
          last edited by

          Ton micro fonctionne ? Tu appelles bien “jarvis” et non “ok Google” ?

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

            Hi, there is no ui on screen, only when you activate it (it’s write on the wiki …)
            so i don’t know what do you search on the screen ?

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

              @killerjoe34 : maybe @wirdman don’t try… just because it don’t found the GA ui on stand-by mode

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

                @sdetweil oui j essai d appeler jarvis ou google mais pas de réponse

                peut etre il ne prend pas en compte mon micro usb

                1 Reply Last reply Reply Quote 0
                • K Offline
                  killerjoe34
                  last edited by

                  Does it appear with

                  arecord -l
                  

                  And if it is, the card number should be reported in your config.js

                   micConfig: { // put there configuration generated by $
                                              recorder: "arecord",
                                              device: "plughw:2",
                                            },
                  1 Reply Last reply Reply Quote 0
                  • ? Offline
                    A Former User
                    last edited by

                    pense également a vérifier le volume du micro ;)

                    va dans le bureau du RPI > icone volume > (clique droit) > output device > device setting
                    vérifie egalement qu’il est pas sur mute !

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

                      voici ma config.js et le

                      arecord -l
                      

                      Capture d’écran 2020-07-16 à 18.49.16.png

                      Capture d’écran 2020-07-16 à 18.50.05.png

                      Merci encore pour votre aide

                      1 Reply Last reply Reply Quote 0
                      • K Offline
                        killerjoe34
                        last edited by killerjoe34

                        avec MM arrêté, essaie

                        arecord --format=S16_LE --duration=5 --rate=48000 --file-type=raw out.raw
                        et
                        aplay --format=S16_LE --rate=48000 out.raw
                        

                        pour voir s’il est configuré correctement

                        1 Reply Last reply Reply Quote 0
                        • 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

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