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.
    • M Offline
      maxbachmann
      last edited by maxbachmann

      @Mykle1 well your desktop has a gpu but a not a better cpu and ram is not used ;)
      And yes expected a slightly better performance given the 17% more cpu speed. However I will just stop playing video files in electron which kills my cpu (83%).
      So I tried I different way to show the video. I used magic mirror like I would normalways but the video I did not show in electron, but opened omxplayer to blend the video in.
      I tested using top. It shows cpu usage for all cores so don’t wonder about numbers over 100%

      With the video on electron using a magic mirror module my cpu usage was at stable 250-260%. Using the omxplayer to show the video and showing the rest like I did the first time the CPU usage was different each time. It was always either in the 20% area or in the 150%. So it is a enormous improvement to the first option and makes it definetly possible to play it on a raspberry pi 3b ;)

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

        @maxbachmann said in Hello-Lucy:

        well your desktop has a gpu but a not a better cpu and ram is not used

        Uhh, you lost me.

        So it is a enormous improvement to the first option and makes it definetly possible to play it on a raspberry pi 3b

        That is excellent news for those employing Hello-Lucy without the animated gif. Well done!

        Create a working config
        How to add modules

        1 Reply Last reply Reply Quote 0
        • M Offline
          maxbachmann
          last edited by

          @Mykle1 Yes will create a omxplayer module for my mirror (although I am not sure wether I have the time this month)

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

            Just making sure that Lucy works with MM v2.5.0. Also, tried using a screen capture app instead of my iphone. The screen capture app is not able to share the microphone with Lucy so this video is silent. However, the video seems nicer than a handheld iphone video.

            https://youtu.be/h7P_hexqe2g

            Or, an older iphone video with audio of voice commands when Lucy was in development months ago.

            https://www.youtube.com/watch?v=bKHEXPzVb2A

            Create a working config
            How to add modules

            D 1 Reply Last reply Reply Quote 0
            • D Offline
              dazza120 @Mykle1
              last edited by

              @mykle1 can you tell me where to makeup the Lucy voice clip, i just want to use a generic greeting for Lucy like your me2.mp3 without the name though lol, if you could help that would be appreciated. Great work on this, love it!

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

                @dazza120

                Wow, umm, I don’t recall the exact site I used to make the sound files. There are several online. Try googling “text to mp3”. I used Audacity to add the robotic type sound effect. I made a bunch and, through the help of a friend, randomized them so Lucy doesn’t always say the same thing. Good fun.

                Create a working config
                How to add modules

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

                  @cowboysdude said in Hello-Lucy:

                  https://www.youtube.com/watch?v=1n0pM-7v0pc&feature=youtu.be

                  Ha. I just watched this again. 11 months ago! Crazy!

                  Create a working config
                  How to add modules

                  1 Reply Last reply Reply Quote 0
                  • X Offline
                    Xclasher 0
                    last edited by

                    Hi all. Is there a way to integrate both MMM-pages & MMM-voice (with lucy modification)? I would like to have the MMM-voice to be available at a specific page and trigger the MMM-voice (pages) via commands

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

                      @xclasher-0

                      If you want to use MMM-Pages and MMM-voice then there doesn’t seem to be a need for the Hello-Lucy enhancement. I don’t think using MMM-Pages and MMM-voice will allow you to do individual modules. I think you can only go back a page or forward a page rather than from any page to any other page.

                      Note: You will have to use @cowboysdude’s fork of MMM-voice with MMM-Pages

                      Create a working config
                      How to add modules

                      M 1 Reply Last reply Reply Quote 1
                      • M Offline
                        mdhenriksen @Mykle1
                        last edited by

                        @mykle1 said in Hello-Lucy:

                        @xclasher-0

                        If you want to use MMM-Pages and MMM-voice then there doesn’t seem to be a need for the Hello-Lucy enhancement. I don’t think using MMM-Pages and MMM-voice will allow you to do individual modules. I think you can only go back a page or forward a page rather than from any page to any other page.

                        Note: You will have to use @cowboysdude’s fork of MMM-voice with MMM-Pages

                        You can make MMM-pages and MMM-voice switch between specific pages with very minors tweaks. 😀

                        Mykle1M 1 Reply Last reply Reply Quote 0
                        • D Offline
                          dazza120
                          last edited by

                          Do you have to install both forks?

                          M 2 Replies Last reply Reply Quote 0
                          • M Offline
                            mdhenriksen @dazza120
                            last edited by

                            @dazza120 said in Hello-Lucy:

                            Do you have to install both forks?

                            You need to install the original one and then copy cowboydudes fork (his folders) into the original and overwrite the files that come up.

                            1 Reply Last reply Reply Quote 1
                            • M Offline
                              mdhenriksen @dazza120
                              last edited by

                              @dazza120 Just let me know if it doesn’t work for you.

                              D 1 Reply Last reply Reply Quote 1
                              • D Offline
                                dazza120 @mdhenriksen
                                last edited by

                                @mdhenriksen works a treat but I don’t know how to make a third page. Not sure what I’ll put on it? But I’m sure I’ll find something to install if I figure out how to add more pages it’s stuck on two at the mo 😢

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

                                  @mdhenriksen said in Hello-Lucy:

                                  You can make MMM-pages and MMM-voice switch between specific pages with very minors tweaks.

                                  Well, sure you can, but he didn’t mention wanting, or being able to do any modifications

                                  Create a working config
                                  How to add modules

                                  M X 2 Replies Last reply Reply Quote 1
                                  • M Offline
                                    mdhenriksen @Mykle1
                                    last edited by

                                    @mykle1 You’re right, guess I was too fast ;-)

                                    D 1 Reply Last reply Reply Quote 0
                                    • D Offline
                                      dazza120 @mdhenriksen
                                      last edited by

                                      @mdhenriksen this is my config file so far for pages not sure how I add a third page any ideas

                                      {
                                      module: ‘MMM-pages’,
                                      config: {
                                      modules:
                                      [[ “MMM-NOAA3”, “clock”, “MMM-NetworkConnection”, “mmm-hue-lights”, “mmm-nest-status”, “calendar”, “mmm-systemtemperature”, “compliments”, “newsfeed”],
                                      [ “MMM-GoogleMapsTraffic” ]],
                                      excludes: [“MMM-page-indicator”],
                                      }
                                      },

                                      bheplerB 1 Reply Last reply Reply Quote 0
                                      • M Offline
                                        mdhenriksen @dazza120
                                        last edited by

                                        @dazza120 said in Hello-Lucy:

                                        @mdhenriksen works a treat but I don’t know how to make a third page. Not sure what I’ll put on it? But I’m sure I’ll find something to install if I figure out how to add more pages it’s stuck on two at the mo 😢

                                        Hey Dazza!

                                        It’s pretty easy actually. Now first you should install MMM-page-indicator as well. That makes it easier to see what page you are on.

                                        Making several pages:

                                        {
                                               module: 'MMM-pages',
                                               config: {
                                               modules:
                                                           	[[ "weatherforecast", "newsfeed", "compliments"],
                                                             	[ "calendar", "compliments", "calendar2"], ["MMM-CalendarWeek"]],
                                                        	excludes: ["clock", "currentweather", "MMM-page-indicator", "MMM-voice"],
                                                	}
                                            		},
                                        

                                        The pages are made in an 2D-array, which is basically a line of elements separated by the brackets “[” and “]”.

                                        Your array starts at the double bracket, “[[” right before “weatherforecast” and ends at the “]]” right after “MMM-CalendarWeek”. Inside the array the pages are separated by one bracket.

                                        So this is a page: (remember the comma at the end)

                                        [ "weatherforecast", "newsfeed", "compliments"],         
                                        

                                        And this is a page:

                                        [ "calendar", "compliments", "calendar2"],
                                        

                                        And lastly this is a page as well:

                                        ["MMM-CalendarWeek"]
                                        

                                        Remember that the array is zero-based which means that the first page will be number 0. The second will be number 1 and the third will be number 2.

                                        Hope it helps! :grinning_face_with_smiling_eyes:

                                        D 1 Reply Last reply Reply Quote 1
                                        • D Offline
                                          dazza120 @mdhenriksen
                                          last edited by

                                          @mdhenriksen had the page indicator already but I was being a muppet, I didn’t recognise ]] as a closing part for that module, Thank you very much three pages now lol

                                          M 1 Reply Last reply Reply Quote 0
                                          • M Offline
                                            mdhenriksen @dazza120
                                            last edited by

                                            @dazza120 It’s the small things that make the difference :grinning_face_with_smiling_eyes:

                                            1 Reply Last reply Reply Quote 1

                                            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
                                            • 11
                                            • 12
                                            • 13
                                            • 14
                                            • 15
                                            • 14 / 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