• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.

Hello-Lucy

Scheduled Pinned Locked Moved Fun & Games
285 Posts 27 Posters 625.3k Views 27 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.
  • T Offline
    TheGeekfather @TheGeekfather
    last edited by Jan 8, 2020, 11:23 PM

    @TheGeekfather

    I guess the best thing is to re-install all my modules in the correct folder. Is that the only way to get Lucy to work.

    Thank you again for all your help

    C 1 Reply Last reply Jan 11, 2020, 3:07 AM Reply Quote 0
    • T Offline
      TheGeekfather @cowboysdude
      last edited by Jan 9, 2020, 12:29 AM

      @cowboysdude

      OK, here is what I did

      1. deleted Hello-Lucy folder from default directory
      2. cloned hello-lucy in modules directory
      3. cd installers and ran bash dependencies.sh
      4. npm start

      in modules/default directory In the defaultmodules.js file I added

      var defaultModules = [
      	"alert",
      	"calendar",
      	"clock",
      	"compliments",
      	"currentweather",
      	"helloworld",
      	"newsfeed",
      	"weatherforecast",
      	"updatenotification",
      	"MMM-Swipe",
      	"MMM-NHL",
      	"MMM-BMW-DS",
      	"modules/Hello-Lucy",
      	"MMM-iFrame",
      	"MMM-Astro",
      

      lucy started and microphone icon no longer had “undefined” error but icon not flashing and commands like “show clock” or hide “clock” don’t seem to be working

      C 1 Reply Last reply Jan 9, 2020, 12:45 AM Reply Quote 0
      • C Offline
        cowboysdude Module Developer @TheGeekfather
        last edited by Jan 9, 2020, 12:45 AM

        @TheGeekfather Well in all honesty what you’re doing is just making a huge mess. You need to delete ALL the modules that don’t belong in the default folder. ANY changes you made to any files undo…

        Install modules as they are intended and we can help you, other then that I have no answers for you.

        T 1 Reply Last reply Jan 9, 2020, 12:54 AM Reply Quote 1
        • T Offline
          TheGeekfather @cowboysdude
          last edited by Jan 9, 2020, 12:54 AM

          @cowboysdude

          I understand - and yes I will re-install

          One last question - should the mic icon flash when you speak?

          Again, THANK YOU for all your help :)

          C 1 Reply Last reply Jan 9, 2020, 3:22 AM Reply Quote 1
          • C Offline
            cowboysdude Module Developer @TheGeekfather
            last edited by Jan 9, 2020, 3:22 AM

            @TheGeekfather Yes, green :)

            1 Reply Last reply Reply Quote 0
            • T Offline
              TheGeekfather @Mykle1
              last edited by Jan 10, 2020, 1:55 AM

              @Mykle1

              Hi, you mentioned you were going to fix the install problem after noticing microphone not working with a fresh install.

              Any progress?

              Thank you for updates

              C 1 Reply Last reply Jan 10, 2020, 1:02 PM Reply Quote 0
              • C Offline
                cowboysdude Module Developer @TheGeekfather
                last edited by Jan 10, 2020, 1:02 PM

                @TheGeekfather The mic is an easy fix if you’re using a pi…

                Open terminal and type in ‘arecord -l’ it will give you all the info on your mic… more than likely if your using a USB mic it will be most likely 1,0.
                In your config in Hello-Lucy in the ‘config’ section of Hello-Lucy you would put:
                "microphone: “1,0”,

                That’s it…pretty simple. Yes I realize simple if you know it LOL.

                T 1 Reply Last reply Jan 10, 2020, 5:59 PM Reply Quote 0
                • T Offline
                  TheGeekfather @cowboysdude
                  last edited by Jan 10, 2020, 5:59 PM

                  @cowboysdude

                  :) Knowledge is Power - That is what I always told my students

                  This is the mic I have

                  **** List of CAPTURE Hardware Devices ****
                  card 1: Device [USB PnP Sound Device], device 0: USB Audio [USB Audio]
                    Subdevices: 1/1
                    Subdevice #0: subdevice #0
                  
                  
                  C 1 Reply Last reply Jan 10, 2020, 11:20 PM Reply Quote 0
                  • C Offline
                    cowboysdude Module Developer @TheGeekfather
                    last edited by Jan 10, 2020, 11:20 PM

                    @TheGeekfather I went to school to be a teacher but never taught… I’m not real good with touchy feeling kinda things I tend to be more direct and that’s not a good thing in Schools LOL

                    Yes you could add:

                     {
                      disabled: false,
                      module: "Hello-Lucy",
                     position: "top_right",
                     config: {
                       keyword: 'HELLO LUCY',             
                       microphone: "1,0",                   
                       timeout: 15,                        // timeout listening for a command/sentence
                       defaultOnStartup: 'Hello-Lucy',
                       standByMethod: 'DPMS',              // 'DPMS' = anything else than RPi or 'PI'
                       sounds: [ ],         
                       confirmationSound: "ding.mp3", 
                        startHideAll: true,                 // if true, all modules start as hidden
                      pageOneModules: ["Hello-Lucy", "MMM-Insults"],    / 
                      pageTwoModules: ["MMM-BMW-DS", "MMM-Events"],     // modules to show on page two
                      pageThreeModules: ["MMM-Lunartic"],               // modules to show on page three
                      pageFourModules: ["MMM-PC-Stats"],                // modules to show on page four
                      pageFiveModules: [],                              // modules to show on page five
                      pageSixModules: [],                               // modules to show on page six
                      pageSevenModules: [],                             // modules to show on page seven
                      pageEightModules: [],                             // modules to show on page eight
                      pageNineModules: [],                              // modules to show on page nine
                      pageTenModules: []                                // modules to show on page ten
                      }
                     },
                    

                    That is an example config… the ONLY thing you need to change is the modules listed on the ‘pages’… it should work on a pi with a usb mic… Please note there will be about a 4 to 5 second delay… the pi is small and this is heavy weight it’s lifting.

                    As soon as @Mykle1 tests this on a pi4 we’ll let everyone know :)

                    M 1 Reply Last reply Jan 11, 2020, 1:12 AM Reply Quote 0
                    • M Offline
                      Mykle1 Project Sponsor Module Developer @cowboysdude
                      last edited by Jan 11, 2020, 1:12 AM

                      @cowboysdude

                      As you know, the installer was not at fault. The automatic identification of the microphone was not happening, at least on the Pi. Thanks for stepping in while I was busy troubleshooting and thanks for testing

                      Create a working config
                      How to add modules

                      C 1 Reply Last reply Jan 11, 2020, 1:28 AM Reply Quote 1
                      • 1
                      • 2
                      • 19
                      • 20
                      • 21
                      • 22
                      • 23
                      • 28
                      • 29
                      • 21 / 29
                      21 / 29
                      • First post
                        207/285
                        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