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 609.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 @cruunnerr
      last edited by

      @cruunnerr

      That’s on my to-do list. MMM-voice has “GO TO SLEEP” and “WAKE UP” commands that work on a Pi (I think) but not on this laptop running ubuntu. So, I have some homework to do. Any suggestions?

      Create a working config
      How to add modules

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

        @cruunnerr said in Hello-Lucy:

        Another suggestion could be to say “Go to standby” and it will turn off the Monitor or something like that.

        Ok, this is done. I’ve modified the original command “GO TO SLEEP” so that it will turn off the display of my laptop and “WAKE UP” to turn the display on. I don’t know if this will work with a monitor that is connected thru HDMI as the original commands do so I’m not updating Hello-Lucy until I can have that tested. This weekend, likely.

        Huge shout out to @Cowboysdude for directing me to the site where the code came from. Freakin Guru! :-)

        For those that might be trying this with an external monitor connected thru HDMI, it should already work by default, without today’s changes.

        Create a working config
        How to add modules

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

          Just tested with a desktop machine with a monitor connected through DVI and a laptop. In both cases, displays immediately were turned off (standby) and on.

          https://youtu.be/3ldlUPkw2nM

          Create a working config
          How to add modules

          1 Reply Last reply Reply Quote 1
          • P Offline
            pepebc
            last edited by

            Great job, beautiful and very practical.
            Would it be possible to adapt it to alexyak / voicecontrol module? is the voice module that I use.
            Thanks

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

              @pepebc said in Hello-Lucy:

              Would it be possible to adapt it to alexyak / voicecontrol module?

              Probably. You’re only talking about adding send and receive notifications that trigger hide and show events. However, if i remember correctly, alexyak’s voice requires training (snowboy?) for each command. That would turn into a lot of extra work and time for you. MMM-voice requires no voice training at all and is largely the reason I chose it for the Hello-Lucy enhancement.

              Create a working config
              How to add modules

              P 1 Reply Last reply Reply Quote 0
              • P Offline
                pepebc @Mykle1
                last edited by

                @Mykle1
                OK, just same with MMM-voice but with snowboy - voicecontrol.
                Pocketsphinx does not have a good Spanish language model, and I would have to create my own with Julia and HTK.
                I have already created the phrases with snowboy, with a 100% success.
                I have a script to automate and train the words and receive the .pmdl files from snowboy server.
                A good microphone and the right profile do miracles;)

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

                  @pepebc

                  In that case, take a look at the README of Hello-Lucy. There are instructions on how to add any module. You can adapt that to the voice module you are using and enhance any other module to work with it. Let me know how you make out. Good luck.

                  Peace!

                  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

                    UPDATE:

                    The biggest hurdle for Pi users with Hello-Lucy is the lag placed upon the Pi by the use of the animated face.gif. This is not an issue for people using PC boards. A simple work-around for this is not using the animated face.gif. The face is cool but voice was the reason for Hello-Lucy.

                    I’ve updated the repo with 2 static images of Lucy for Pi users. You can also use any image file you like, or none. Also, the use of a microphone that has a 3.5mm jack significantly improves response (tested). USB introduces too much lag, evident even on an i7 Quad Core (tested). The difference is staggering.

                    I’ve also provided a 25MB version of the animated face.gif in the repo. You can still acquire the original via the link in the readme if you so desire. That file is 60+MB.

                    Peace!

                    Create a working config
                    How to add modules

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

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

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

                        @cowboysdude

                        Ahhhh, nicely done dude! :-)

                        Create a working config
                        How to add modules

                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 3
                        • 4
                        • 5
                        • 28
                        • 29
                        • 1 / 29
                        • 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