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.8k 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.
    • D Offline
      Damian @Mykle1
      last edited by Damian

      @Mykle1

      I bought a micro USB one last year when I tried to put alexa on the Pi, and when testing at about 1 foot away, I sounded as if I were 10 feet away with cotton wool in my mouth. Also had problems of latency using Alexa, so I abandoned both, having spent way too much time trying just about every combination of settings I read up to try, and ask about.

      I always read reviews on the likes of Amazon, and have read of a few that really only work great when really close up to the Mic, and so far I have not came across any review that has mentioned a Mic that has worked from a decent distance, seeing as Mic’s are usually always used up close.

      The PS3 Eye was the only one where I seen a reviewer state that he used his from about 3M away and was heard perfectly on Skype, but alas, not from a Pi, and not using it for voice control.

      As you have noted, the USB mic works perfect for normal usage, and it only becomes a problem when using Lucy… Like my previous problem when using Alexa, so therein may be the problem? I was about to add the limitations of the Pi as an additional factor, but you also noted the same problem on your powerfull i7, so I am of the opinion that USB mic’s for Voice control are not a good combination? for whatever techy reason that I know nothing about.

      The only sure way of sourcing a suitable Mic, for the purpose of long range use, is to read from someone that is actually using one that has worked from a decent distance, on the same project - Lucy.

      @pepebc offered up the PS3 Eye, which sounds and looks great, and works for him, but he is not using it for Lucy, so there is no telling if it will work or not, with Lucy :-(

      You may have been very lucky in your random choice of 3.5 Mic, as if you chose another, it may have only worked at very close quarters? but seeing as your one actualy works at a decent distance with Lucy, then that is worth a hundred reviews, imho ;-) as I would be hard pushed to find a reviewer on Amazon that is reviewing a Mic for the purposes of using Lucy from a decent distance away, from a MM. ;-)

      I will find a UK supplier of the same one you have used, as that has proven to work within a decent range, that users of MM/Lucy would want.
      I will see if I can remove the long stem from the Mic though, to make it easier to hide from sight.

      Thanks again.

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

        @Damian

        Ok, good luck and keep me posted

        Create a working config
        How to add modules

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

          Latest tests…

          https://www.youtube.com/watch?v=UEiENwkSZSU&ab_channel=MaintenanceConcepts

          cruunnerrC P 2 Replies Last reply Reply Quote 3
          • cruunnerrC Offline
            cruunnerr @cowboysdude
            last edited by

            @cowboysdude

            U need a touch screen, bro ^^

            It’s running like hell ^^Very nice

            cowboysdudeC 1 Reply Last reply Reply Quote 0
            • yawnsY Offline
              yawns Moderator
              last edited by

              System performance is awesome, not comparable to the pi at all.
              After show modules the screen is crowded. Is this an error as it is not looking like in the beginning of your video? Or did you hide some modules before starting your video?

              Touch hardware is not yet implemented, is it? Would love to see this in action regarding latency and reliability :)

              Mykle1M cowboysdudeC 2 Replies Last reply Reply Quote 0
              • M Offline
                maxbachmann
                last edited by

                What is The Computer Setup You use?
                And yes seems like it Shows Modules from other Pages than Page one Aswell white The command Show Modules
                Although I am Not sure wether that isn’t intended As there Is The command Show Page 1 Aswell

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

                  @cowboysdude
                  OK, great work !!

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

                    @yawns said in Hello-Lucy:

                    System performance is awesome, not comparable to the pi at all.

                    Exactly.

                    After show modules the screen is crowded.

                    SHOW MODULES by default will show ALL modules. So, if you have several pages employed it can get busy real fast. Still, it was intentional to have the ability to hide/show all modules, individual modules and pages of modules.

                    @cowboysdude has done an excellent job of implementing Hello-Lucy

                    Create a working config
                    How to add modules

                    yawnsY M 2 Replies Last reply Reply Quote 1
                    • yawnsY Offline
                      yawns Moderator @Mykle1
                      last edited by

                      @Mykle1 said in Hello-Lucy:

                      @yawns said in Hello-Lucy:

                      After show modules the screen is crowded.

                      SHOW MODULES by default will show ALL modules. So, if you have several pages employed it can get busy real fast. Still, it was intentional to have the ability to hide/show all modules, individual modules and pages of modules.

                      I see, thanks for clarification Mykle!

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

                        @Mykle1 said in Hello-Lucy:

                        @yawns said in Hello-Lucy:

                        System performance is awesome, not comparable to the pi at all.

                        Exactly.

                        After show modules the screen is crowded.

                        SHOW MODULES by default will show ALL modules. So, if you have several pages employed it can get busy real fast. Still, it was intentional to have the ability to hide/show all modules, individual modules and pages of modules.

                        Ah thats what I Thought :)

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

                          @cruunnerr said in Hello-Lucy:

                          @cowboysdude

                          U need a touch screen, bro ^^

                          It’s running like hell ^^Very nice

                          It is a touch screen already ;)

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

                            @yawns said in Hello-Lucy:

                            System performance is awesome, not comparable to the pi at all.
                            After show modules the screen is crowded. Is this an error as it is not looking like in the beginning of your video? Or did you hide some modules before starting your video?

                            Touch hardware is not yet implemented, is it? Would love to see this in action regarding latency and reliability :)

                            NO that’s just what happens because when you blanket show modules it shows all pages at once. That’s not a bug it’s just how it works :)

                            1 Reply Last reply Reply Quote 0
                            • NathanWilcoxN Offline
                              NathanWilcox
                              last edited by

                              @Mykle1

                              Great module have been using for some time while developing the mirror.

                              I apologise if you have covered this else where but I simply cannot find it, Is there a way to automatically show modules on MagicMirror start as appose to them being hidden and only shown when prompted.

                              Thanks

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

                                @NathanWilcox said in Hello-Lucy:

                                Is there a way to automatically show modules on MagicMirror start as appose to them being hidden and only shown when prompted.

                                If you’re not gun shy about modifying the files yourself, you can find this in the MMM-voice.js file and comment it out. You’ll find it at about line 277. I assume you know that every module you have loading will be displayed. :-)

                                     if (notification === 'DOM_OBJECTS_CREATED') {
                                         MM.getModules().enumerate((module) => {
                                                module.hide(1000);
                                            });   
                                     } 
                                

                                Create a working config
                                How to add modules

                                1 Reply Last reply Reply Quote 2
                                • NathanWilcoxN Offline
                                  NathanWilcox
                                  last edited by

                                  @Mykle1

                                  That’s exactly what I was looking for. Yes I did realise it would show all.

                                  I’m trying to demonstrate to the other half the different ways we can have the mirror and she wasn’t too enthusiastic with booting a “blank screen”

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

                                    @NathanWilcox

                                    Sound of whip snapping

                                    ;-)

                                    Create a working config
                                    How to add modules

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

                                      Will give Snips a try when I get my microphone array. Seems like the just released ther German automated speech recognition a few days ago

                                      Seems pretty easy in general (I guess the hardest thing will be talking to the modules since snips uses python and here it’s java script while I am usually only using c++ lmao)

                                      Edit: Just realised there is already a mqtt module for MagicMirror2 that should make it quite a bit easier

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

                                        @mykle1: Very nice module! Works really good, and it’s easy to add more and more modules. unfortunately, with one of them, I have a problem: https://github.com/eouia/MMM-CalendarExt.

                                        I found the wrapper part, but it doesn’t work. The other modules are still working. Do you have an idea?

                                          getDom: function() {
                                            if (this.isInit) {
                                              R = new Render ()
                                              R.drawViews(
                                                this.CurrentConfigs,
                                                this.getEventsToDraw()
                                              )
                                            }
                                            var wrapper = null
                                            wrapper = document.createElement("div")
                                            wrapper.id = 'CALEXT_proxy'
                                            wrapper.className = 'proxy'
                                            return wrapper
                                          },
                                        
                                            notificationReceived: function(notification, payload) {
                                                if (notification === 'HIDE_WORK') {
                                                    this.hide(1000);
                                                }  else if (notification === 'SHOW_WORK') {
                                                    this.show(1000);
                                                }
                                                    
                                            },	  
                                        

                                        Thank you!

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

                                          @djsunrise19

                                          That looks right.

                                          Have you made the other changes that you need to make, according to the readme? That is not the only modification you need to perform.
                                          If you issue the “SHOW MODULES” command, does it show then?
                                          Is there another " notificationReceived: function" within the MMM-CalendarExt.js file?

                                          Create a working config
                                          How to add modules

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

                                            @Mykle1 said in Hello-Lucy:

                                            @djsunrise19

                                            That looks right.

                                            Have you made the other changes that you need to make, according to the readme? That is not the only modification you need to perform.
                                            If you issue the “SHOW MODULES” command, does it show then?
                                            Is there another " notificationReceived: function" within the MMM-CalendarExt.js file?

                                            Yes, all other Lucy / Voice modules are still working. I made all changes (accordingly your read me). Within the MMM-CalendarExt.js file are more than one “notificationReceived: function” functions:

                                              notificationReceived: function(notification, payload, sender) {
                                                var sessionId = moment().valueOf()
                                                if (typeof payload !== 'undefined' && payload !== null) {
                                                  if (typeof payload.sessionId !== 'undefined') {
                                                    sessionId = payload.sessionId
                                                  }
                                                }
                                                switch (notification) {
                                                  case 'DOM_OBJECTS_CREATED':
                                                    if(typeof sender == 'undefined') {
                                                      this.loadCSS()
                                                      this.initAfterLoading()
                                                    }
                                                    break
                                                  case 'CHANGED_PROFILE':
                                                    this.showing = 0
                                                    this.isInit = 0
                                                    this.initAfterLoading(payload.to)
                                                    this.sendNotification('CALEXT_SAYS_PROFILE_CHANGED', payload)
                                                    break
                                                  case 'CALEXT_ADD_EVENT':
                                                    if(typeof payload.event !== 'undefined') {
                                                      this.addInstantEvent(payload.event, sender.name, sessionId)
                                                    }
                                                    break
                                                  case 'CALEXT_REMOVE_EVENT':
                                                    if(typeof payload.uid !== 'undefined') {
                                                      this.removeInstantEvent(payload.uid, sender.name, sessionId)
                                                    }
                                                    break
                                                  case 'CALEXT_TELL_SCHEDULE':
                                                    if(typeof payload.filter !== 'undefined') {
                                                      this.saySchedule(payload.filter, sender.name, sessionId)
                                                    }
                                                    break
                                                  case 'CALEXT_MODIFY_CONFIG':
                                                    this.modifyConfiguration(payload.config, sender.name, sessionId)
                                                }
                                              },
                                            
                                              socketNotificationReceived: function(notification, payload) {
                                                switch (notification) {
                                                  case 'CALENDAR_MODIFIED':
                                                    this.sendNotification("CALEXT_SAYS_CALENDAR_MODIFIED")
                                                    this.events = payload
                                                    this.makeIndex()
                                                    this.draw()
                                            
                                                    break
                                                  case 'READY_TO_ADD_CALENDAR':
                                                    this.addCalendars()
                                                    break;
                                                  }
                                              },
                                            

                                            Should I put your function after one of these?

                                            Mykle1M 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
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 14
                                            • 15
                                            • 6 / 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