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 not running

    Scheduled Pinned Locked Moved Utilities
    55 Posts 5 Posters 15.5k Views 5 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

      just for information : original is there
      so if you don’t edit it
      Your SD card have a problem

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

        okay thanks a lot for you help i going buy a new card a i tell you if it’s working 😃

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

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • W Offline
            wirdman
            last edited by wirdman

            hey @Bugsounet and @sdetweil

            i delete it re install it and now is since to work but is not on my mirror

            here my npm start :

            pi@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:23:28.851] [LOG]    Starting MagicMirror: v2.12.0
            [2020-07-15 01:23:28.867] [LOG]    Loading config ...
            [2020-07-15 01:23:28.876] [LOG]    Loading module helpers ...
            [2020-07-15 01:23:28.882] [LOG]    No helper found for module: alert.
            [2020-07-15 01:23:28.989] [LOG]    Initializing new module helper ...
            [2020-07-15 01:23:28.991] [LOG]    Module helper loaded: updatenotification
            [2020-07-15 01:23:28.993] [LOG]    No helper found for module: clock.
            [2020-07-15 01:23:29.821] [LOG]    Initializing new module helper ...
            [2020-07-15 01:23:29.823] [LOG]    Module helper loaded: calendar
            [2020-07-15 01:23:29.824] [LOG]    No helper found for module: compliments.
            [2020-07-15 01:23:29.826] [LOG]    No helper found for module: currentweather.
            [2020-07-15 01:23:29.827] [LOG]    No helper found for module: weatherforecast.
            [2020-07-15 01:23:33.352] [LOG]    Initializing new module helper ...
            [2020-07-15 01:23:33.355] [LOG]    Module helper loaded: MMM-GoogleAssistant
            [2020-07-15 01:23:33.358] [LOG]    No helper found for module: MMM-SwissCommute.
            [2020-07-15 01:23:34.709] [LOG]    Initializing new module helper ...
            [2020-07-15 01:23:34.711] [LOG]    Module helper loaded: MMM-NowPlayingOnSpotify
            [2020-07-15 01:23:34.795] [LOG]    Initializing new module helper ...
            [2020-07-15 01:23:34.798] [LOG]    Module helper loaded: newsfeed
            [2020-07-15 01:23:34.799] [LOG]    All module helpers loaded.
            [2020-07-15 01:23:35.213] [LOG]    Starting server on port 8080 ... 
            [2020-07-15 01:23:35.243] [INFO]   You're using a full whitelist configuration to allow for all IPs
            [2020-07-15 01:23:35.267] [LOG]    Server started ...
            [2020-07-15 01:23:35.269] [LOG]    Connecting socket for: updatenotification
            [2020-07-15 01:23:35.273] [LOG]    Connecting socket for: calendar
            [2020-07-15 01:23:35.276] [LOG]    Starting node helper for: calendar
            [2020-07-15 01:23:35.278] [LOG]    Connecting socket for: MMM-GoogleAssistant
            [2020-07-15 01:23:35.281] [LOG]    Connecting socket for: MMM-NowPlayingOnSpotify
            [2020-07-15 01:23:35.284] [LOG]    Connecting socket for: newsfeed
            [2020-07-15 01:23:35.288] [LOG]    Starting node helper for: newsfeed
            [2020-07-15 01:23:35.290] [LOG]    Sockets connected & modules started ...
            [2020-07-15 01:23:35.621] [LOG]    Launching application.
            [2020-07-15 01:23:41.914] [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:23:42.376] [LOG]    Create new news fetcher for url: https://www.lemonde.fr/international/rss_full.xml - Interval: 300000
            [2020-07-15 01:23:42.532] [INFO]   Checking git for module: MMM-GoogleAssistant
            [2020-07-15 01:23:42.621] [INFO]   Checking git for module: MMM-SwissCommute
            [2020-07-15 01:23:42.706] [INFO]   Checking git for module: MMM-NowPlayingOnSpotify
            [2020-07-15 01:23:42.800] [LOG]    [ASSISTANT] MMM-GoogleAssistant Version: 2.2.1
            [2020-07-15 01:23:42.831] [ERROR]  (node:25329) [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:23:42.835] [ERROR]  (node:25329) [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:23:44.440] [LOG]    Refreshed access token because it has expired. Expired at: 01:23:42 now is: 01:23:44
            [2020-07-15 01:23:44.509] [LOG]    Refreshed access token because it has expired. Expired at: 02:23:44 now is: 01:23:44
            [2020-07-15 01:23:45.202] [INFO]   Newsfeed-Fetcher: Broadcasting 20 items.
            [2020-07-15 01:23:45.224] [LOG]    Refreshed access token because it has expired. Expired at: 02:23:44 now is: 01:23:45
            [2020-07-15 01:23:47.028] [LOG]    [SNOWBOY] Model selected: jarvis
            [2020-07-15 01:23:47.042] [LOG]    [SNOWBOY] snowboy v1.5.0 Initialized...
            [2020-07-15 01:23:47.067] [LOG]    [ASSISTANT] RECIPE_LOADED: with-MMM-TelegramBot.js
            [2020-07-15 01:23:47.073] [LOG]    [ASSISTANT] Use native program (mpg321) for audio response
            [2020-07-15 01:23:47.078] [LOG]    [SOUND] mpg321 Initialized
            [2020-07-15 01:23:47.083] [LOG]    [ASSISTANT] Google Assistant is initialized.
            [2020-07-15 01:23:48.183] [INFO]   Calendar-Fetcher: Broadcasting 4 events.
            
            

            here my confi.js

            /* Magic Mirror Config Sample
             *
             * By Michael Teeuw http://michaelteeuw.nl
              * MIT Licensed.
             */
            
            var config = {
                    port: 8080,
                    ipWhitelist: [], // Set [] to allow all IP addresses.
            
                    language: "fr",
                    timeFormat: 24,
                    units: "metric",
            
                    modules: [
                            {
                                    module: "alert",
                            },
                            {
                                    module: "updatenotification",
                                    position: "top_bar"
                            },
                            {
                                    module: "clock",
                                    position: "top_left"
                            },
                            {
                                    module: "calendar",
                                    header: "Calendrier",
                                    position: "top_left",
                                    config: {
                                            calendars: [
                                                    {
                                                            symbol: "calendar-check-o ",
                                                            url: "https://calendar.google.com/calendar/ical/maxart3.3%40gmail.com/private-b5e26bc2232a38edcb73772a3242221e/basic.ics"
                                                    }
                                            ]
                                    }
                            },
                            {
                                    module: "compliments",
                                    position: "lower_third"
                            },
                            {
                                    module: "currentweather",
                                    position: "top_left",
                                    config: {
                                            location: "Genève",
                                            locationID: "2660646",  //ID from http://www.openweathermap.org/help/city_list.txt
                                            appid: "a159eb40caad1348cda97718adc69d6d"
                                    }
                            },
                            {
                                    module: "weatherforecast",
                                    position: "top_left",
                                    header: "Météo",
                                    config: {
                                            location: "Genève",
                                            locationID: "2660646",  //ID from http://www.openweathermap.org/help/city_list.txt
                                            appid: "a159eb40caad1348cda97718adc69d6d"
                                    }
                           },
                            {
                                    module: "weatherforecast",
                                    position: "top_right",
                                    header: "Météo",
                                    config: {
                                            location: "",
                                            locationID: "",  //ID from http://www.openweathermap.org/help/city_list.txt
                                            appid: ""
                                    }
                            },
            {
              module: "MMM-GoogleAssistant",
              position: "top_right",
              config: {
                debug: false,
                assistantConfig: {
                  lang: "en-US",
                  projectId: "", // Required to use gaction.
                  modelId: "", // (OPTIONAL for gaction)
                  instanceId: "", // (OPTIONAL for gaction)
                  latitude: 51.508530,
                  longitude: -0.076132,
                },
                responseConfig: {
                  useScreenOutput: true,
                  screenOutputCSS: "screen_output.css",
                  screenOutputTimer: 5000,
                  activateDelay: 250,
                  useAudioOutput: true,
                  useChime: true,
                  newChime: false,
                  useNative: true,
                  playProgram: "mpg321"
                },
                micConfig: { // put there configuration generated by auto-installer
                  recorder: "arecord",
                  device: "plughw:2",
                },
                customActionConfig: {
                  autoMakeAction: false,
                  autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not.
                  actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work.
                },
                snowboy: {
                  audioGain: 2.0,
                  Frontend: true,
                  Model: "jarvis",
                  Sensitivity: null
                },
                A2DServer: {
                  useA2D: false,
                  stopCommand: "stop"
                },
                recipes: [ "with-MMM-TelegramBot.js" ]
              }
            },
            				 {
            		module: 'MMM-SwissCommute',
            		position: 'top_left',
            		header: 'En Louche',
            		config: {
            			from: 'Perly, En Louche', // Start train station
            			to: 'Lancy-Bachet', // Destination station
            			maximumEntries: 4, // Max departures displayed
            			minWalkingTime: 10 // Minimum time to get to the station
            						}
            				    },
                            {
            				  module: "MMM-NowPlayingOnSpotify",
            				  position: "top_right",
            
            				  config: {
            					clientID: "622ad97f8ed24ad9aa3b81531aae033f",
            					clientSecret: "418079ac53a848679c37ac9613485136",
            					accessToken: "BQCWLLN5elD8_f9zR7q9947jqCacUYNQ-6RzF8W_R1vx89DVTwkZBjpa1AR89PNw-yLdFziPjg_-hth6WVTPgQvekE5YPnz5ywbBzY0V_TBEa2N1hyucipaXSrmtBx5e2VaFf_SGrjzIkIeeKQ",
            					refreshToken: "AQA-F5RgN04XC8NP5oOymHEWY_HqW4EwzUCx28GBHfjtLiCf3ordxs55HDxSjy1NwDWJlxthmAVKCRwNUrN3sqDX51JDRVjHP6y6wDnwZ1gs2RJ2tLPwIxJM3SuAgXOAlOk"
            				  }
            				},
                            {
                                    module: "newsfeed",
                                    position: "lower_third",
                                    config: {
                                            feeds: [
                                                    {
                                                            title: "Le Monde, Paris",
                                                            url: "https://www.lemonde.fr/international/rss_full.xml"
                                                    }
                                            ],
                                            showSourceTitle: true,
                                            showPublishDate: true
                                    }
                            },
                    ]
            
            };
            
            /*************** DO NOT EDIT THE LINE BELOW ***************/
            if (typeof module !== "undefined") {module.exports = config;}
            
            
            1 Reply Last reply Reply Quote 0
            • ? Offline
              A Former User
              last edited by A Former User

              @wirdman said in MMM-GoogleAssistant not running:

              {
              module: “MMM-GoogleAssistant”,
              position: “top_right”,

              • why top_right and not fullscreen_above position ?
              • why recipes: [ "with-MMM-TelegramBot.js" ] if you don’t use TelegramBot module ?
              W 1 Reply Last reply Reply Quote 0
              • W Offline
                wirdman @Guest
                last edited by

                @Bugsounet

                hello mon google assistant ne veux plus aller sur youtube depuis la mise à jour

                et aussi je ne sais pas pourquoi pour MMM-Spotify j’ai une erreur a la commande
                il ne veux pas me donner le token

                cd ~/MagicMirror/modules/MMM-Spotify
                node first_auth.js
                

                erreur

                pi@raspberrypi:~/MagicMirror/modules/MMM-Spotify $ node first_auth.js
                
                internal/modules/cjs/loader.js:638
                    throw err;
                    ^
                
                Error: Cannot find module './Spotify.js'
                    at Function.Module._resolveFilename (internal/modules/cjs/loader.js:636:15)
                    at Function.Module._load (internal/modules/cjs/loader.js:562:25)
                    at Module.require (internal/modules/cjs/loader.js:692:17)
                    at require (internal/modules/cjs/helpers.js:25:18)
                    at Object.<anonymous> (/home/pi/MagicMirror/modules/MMM-Spotify/first_auth.js:3:17)
                    at Module._compile (internal/modules/cjs/loader.js:778:30)
                    at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
                    at Module.load (internal/modules/cjs/loader.js:653:32)
                    at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
                    at Function.Module._load (internal/modules/cjs/loader.js:585:3)
                
                

                merci d avance

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

                  ah oui lol … désolé j’ai oublier de modifier le script avec la nouvelle librairie (bravo !)
                  Je vais corriger ça de suite !

                  pour A2D et GA, la commande de mise a jour est npm run update
                  a executer dans chaque repertoire (GA et A2D)

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

                    @Bugsounet

                    aah je croyais avoir tout cassé 😁😁😁😁

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

                      non personne est parfait !
                      Laisse moi 10 min et c’est good ;)

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

                        voila !

                        git pull et go !

                        (et peut etre: npm install… a voir)

                        1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 6
                        • 2 / 6
                        • 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