MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    1. Home
    2. wirdman
    3. Posts
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.
    W
    Offline
    • Profile
    • Following 0
    • Followers 0
    • Topics 5
    • Posts 47
    • Groups 0

    Posts

    Recent Best Controversial
    • RE: MMM-GoogleAssistant note here

      @Bugsounet

      Tout fonctionne merci énormément 😁😁😁

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

      🤩

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant note here

      @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
      
      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant note here

      @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é
      
      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant note here

      @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
      
      
      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant note here

      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

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant note here

      @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

      posted in Utilities
      W
      wirdman
    • RE: MMM-GoogleAssistant not running

      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;}
      
      
      posted in Utilities
      W
      wirdman
    • MMM-GoogleAssistant note here

      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.
      
      
      
      posted in Utilities
      W
      wirdman
    • 1
    • 2
    • 3
    • 4
    • 5
    • 3 / 5