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 682.7k 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.
    • Mykle1M Offline
      Mykle1 Project Sponsor Module Developer @AxLed
      last edited by

      @AxLed said in Hello-Lucy:

      USB Soundcard (USB-Audio C-Media) with 2x 3.5mm jack for microphone and speaker

      Do you have a specific model number for this? I was thinking I would get one and test it with Lucy which I recently updated/upgraded If it works as well as as you say then I would recommend it and mention it in the repo. :thumbsup:.

      Create a working config
      How to add modules

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer
        last edited by

        Download:

        [card:mykle1/Hello-Lucy]

        Version 1.0.2 Update

        • No swapping of module files (as in previous version)
        • Improved visual cues.
        • Customizable random startup greetings
        • Customizable confirmation sound when Lucy accepts commands
        • Simple pages setup.
        • Will work with any module.

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 1
        • Mykle1M Offline
          Mykle1 Project Sponsor Module Developer
          last edited by

          Added modules that will now work by default with Lucy

          1. MMM-MLB
          2. MMM-MLBStandings
          3. MMM-Recipe
          4. MMM-rfacts
          5. MMM-Holiday
          6. MMM-NiceThings
          7. MMM-MusicCharts
          8. MMM-Advice
          9. MMM-NHL

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • Mykle1M Offline
            Mykle1 Project Sponsor Module Developer
            last edited by

            @TheGeekfather

            When I try “0” no flashing mic but still “undefined”

            I can hear “hello Michael what would you like to see” and then say “Hello Lucy”

            When you say Hello Lucy the microphone does not turn green and start blinking? Just for verification

            Create a working config
            How to add modules

            T 1 Reply Last reply Reply Quote 0
            • Mykle1M Offline
              Mykle1 Project Sponsor Module Developer
              last edited by

              Lets verify some other things too.

              the path to your Hello-Lucy folder is home/MagicMirror/modules/Hello-Lucy?
              Inside the Hello-Lucy folder is a node_modules folder?

              Create a working config
              How to add modules

              1 Reply Last reply Reply Quote 0
              • Mykle1M Offline
                Mykle1 Project Sponsor Module Developer
                last edited by

                Also, please open a new terminal and type

                cat /proc/asound/cards and post the result here please.

                Mine looks like this:

                pop@e8300:~/MagicMirror$ cat /proc/asound/cards
                 0 [PCH            ]: HDA-Intel - HDA Intel PCH
                                      HDA Intel PCH at 0xf7130000 irq 29
                 1 [NVidia         ]: HDA-Intel - HDA NVidia
                                      HDA NVidia at 0xf7080000 irq 17
                
                

                Create a working config
                How to add modules

                T 1 Reply Last reply Reply Quote 0
                • T Offline
                  TheGeekfather @Mykle1
                  last edited by

                  @Mykle1

                  Maybe a problem

                  It seems all my modules are in

                  modules/default/

                  Mykle1M T 3 Replies Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @TheGeekfather
                    last edited by

                    @TheGeekfather

                    Definitely a problem

                    Create a working config
                    How to add modules

                    T 1 Reply Last reply Reply Quote 0
                    • T Offline
                      TheGeekfather @TheGeekfather
                      last edited by

                      @TheGeekfather

                       0 [ALSA           ]: bcm2835_alsa - bcm2835 ALSA
                                            bcm2835 ALSA
                       1 [Device         ]: USB-Audio - USB Audio Device
                                            C-Media Electronics Inc. USB Audio Device at usb-0000:01:00.0-1.1, full speed
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @TheGeekfather
                        last edited by

                        @TheGeekfather said in Hello-Lucy:

                        It seems all my modules are in
                        modules/default/

                        We went over this earlier, I think. Only the default MM modules go there. All other modules go on the root of the modules folder

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • T Offline
                          TheGeekfather @Mykle1
                          last edited by

                          @Mykle1

                          Other modules installed there are working but had to change paths for icons to work

                          Mykle1M cowboysdudeC T 3 Replies Last reply Reply Quote 0
                          • Mykle1M Offline
                            Mykle1 Project Sponsor Module Developer @TheGeekfather
                            last edited by

                            @TheGeekfather said in Hello-Lucy:

                            Other modules installed there are working but had to change paths for icons to work

                            I don’t even know how to reply to that. Modules belong in the modules folder

                            Create a working config
                            How to add modules

                            1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @TheGeekfather
                              last edited by cowboysdude

                              @TheGeekfather The problem is when you try to change things you also are changing the way the mirror works and this will lead to issues…the kind you are having LOL.

                              Default modules are wired to work out of that directory - /modules/default
                              3rd party modules are wired to work out of the modules directory. /modules

                              Seems like a lot of extra work and if you miss something then you will have issues. So my suggestion is that if you get a module from github you do this:

                              in the MagicMirror/modules directory
                              git clone https://github.com/mykle1/Hello-Lucy.git

                              Then go to the dir you just cloned the repository in ie MagicMirror/modules/Hello-Lucy
                              [typically from there if a module has dependencies you’d run ‘npm install’… for Lucy you have to be in the MagicMirror/modules/Hello-Lucy/installers directory and you would run a bash command]

                              Put the module in your config and you’re off an running…

                              This will put your modules in the correct place to run without having to change the module itself… Where you are going to run into issues is when a developer hard codes something you can’t find…
                              It’s already happened and that creates issues that are VERY difficult to solve…

                              But I am glad you are trying to learn something and seem very enthusiastic about it :)

                              T 1 Reply Last reply Reply Quote 1
                              • T Offline
                                TheGeekfather @TheGeekfather
                                last edited by

                                @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

                                cowboysdudeC 1 Reply Last reply Reply Quote 0
                                • T Offline
                                  TheGeekfather @cowboysdude
                                  last edited by

                                  @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

                                  cowboysdudeC 1 Reply Last reply Reply Quote 0
                                  • cowboysdudeC Offline
                                    cowboysdude Module Developer @TheGeekfather
                                    last edited by

                                    @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 Reply Quote 1
                                    • T Offline
                                      TheGeekfather @cowboysdude
                                      last edited by

                                      @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 :)

                                      cowboysdudeC 1 Reply Last reply Reply Quote 1
                                      • cowboysdudeC Offline
                                        cowboysdude Module Developer @TheGeekfather
                                        last edited by

                                        @TheGeekfather Yes, green :)

                                        1 Reply Last reply Reply Quote 0
                                        • T Offline
                                          TheGeekfather @Mykle1
                                          last edited by

                                          @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

                                          cowboysdudeC 1 Reply Last reply Reply Quote 0
                                          • cowboysdudeC Offline
                                            cowboysdude Module Developer @TheGeekfather
                                            last edited by

                                            @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 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
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 9
                                            • 14
                                            • 15
                                            • 7 / 15
                                            • 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