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

    Posts

    Recent Best Controversial
    • Sentences not loaded in hello-Lucy

      Hi guys,

      It seems my Hello-Lucy module doesnt load sentences, only words.
      At least this is my explaination why Lucy doesnt understand me correctly. It seems it only takes words like “who” and “the”, which i can see in the terminal:
      05876c8b-e9b7-47e4-88d3-015417366ae4-image.png ![0_1618322341814_f9478479-842d-4043-a952-b4a812810841-image.png](Uploading 100%)

      So my first issue which leads me to there was, that my Lucy-module wont start until i initialized

      var importedSentences="";
      

      in Hello-Lucy.js.

      So maybe improtedSentences is never filled with the data of sentences.json in Hello-Lucy-Folder.
      I got an error with concat on line 69:

      start() {
      		var combinedSentences = importedSentences.concat(this.lucy.sentences);
      ....
      

      Also i had some problems with module_name var, so i had to change to

      Module.register("Hello-Lucy",
      

      in line 28.
      SO maybe my “localPath” is wrong. Im not sure. Anyone any ideas?

      /home/pi/MagicMirror/modules/Hello-Lucy
      
      posted in Troubleshooting
      N
      Nicodil
    • RE: Hello-Lucy Not shown, NO ERROR

      Hi, i solved it.
      Th variable on top of Hello-Lucy.js was not initialized.
      var importedSentences=‘’; and it worked for me… strange…

      BUT MAYBE this means this var is never filled with the imported Sentences…
      This could explain why my Lucy nothing understands what im saying…

      Should i also install MMM-voice??? Or is this one not necessary for MMM-Lucy?

      posted in Troubleshooting
      N
      Nicodil
    • RE: Hello-Lucy Not shown, NO ERROR

      @sdetweil Oh, i see!
      position: “top_center”, is already set…

      {
      disabled: false,
      module: "Hello-Lucy",
      position: "top_center",
      config: {
          keyword: 'HELLO LUCY',              // keyword to activate listening for a command/sentence
          timeout: 15,                        // timeout listening for a command/sentence
          standByMethod: 'DPMS',              // 'DPMS' = anything else than RPi or 'PI'
          microphone: "2,0",                  // run "arecord -l" card # and device # mine is "0,0"
          sounds: ["1.mp3", "11.mp3"],        // welcome sound at startup. Add several for a random greetings
          confirmationSound: "ding.mp3",      // name and extension of sound file
          startHideAll: true,                 // All modules start as hidden EXCEPT PAGE ONE
          // *** Page One is your default startup page *** This overrides startHideAll: true,
          pageOneModules: ["Hello-Lucy"],                     // default modules to show on page one/startup
          pageTwoModules: ["Hello-Lucy"], // modules to show on page two
          pageThreeModules: ["Hello-Lucy"],                 // modules to show on page three
          pageFourModules: ["Hello-Lucy"],                  // modules to show on page four
          pageFiveModules: ["Hello-Lucy"],               // modules to show on page five
          pageSixModules: ["Hello-Lucy"],                      // modules to show on page six
          pageSevenModules: ["Hello-Lucy"],                   // modules to show on page seven
          pageEightModules: ["Hello-Lucy"],                   // modules to show on page eight
          pageNineModules: ["Hello-Lucy"],                   // modules to show on page nine
          pageTenModules: ["Hello-Lucy"]             // modules to show on page ten
         } },
      
      posted in Troubleshooting
      N
      Nicodil
    • RE: Hello-Lucy Not shown, NO ERROR

      Hi @sdetweil ,

      at the moment it is on the first position. But i also had it near the end when i started.

      posted in Troubleshooting
      N
      Nicodil
    • Hello-Lucy Not shown, NO ERROR

      Hi,

      I tried to get the Hello-Lucy Plugin to work.
      My sound drivers are working and i can also record with aplay and arecord.

      My Microphone is a MicrosoftLifecam and on card 2, device 0.
      Speaker is on 1,0 (aux).

      When i start magicMirrorm all modules are shown normal and i cannot see Lucy at all…

      7fd0dd58-ad63-4349-9be7-7b297d9c7d8e-image.png

      Any ideas what to do?

      posted in Troubleshooting
      N
      Nicodil
    • 1
    • 2
    • 2 / 2