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.

    MagicMirror project for sister

    Scheduled Pinned Locked Moved Show your Mirror
    32 Posts 11 Posters 14.7k Views 12 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.
    • B Offline
      bachoo786 @blaukon
      last edited by

      @blaukon thanks man

      1 Reply Last reply Reply Quote 0
      • H Offline
        hayman
        last edited by

        Nice work,can you share how to change the icon of MK2 instead of Google icon???

        B 1 Reply Last reply Reply Quote 0
        • B Offline
          blaukon @hayman
          last edited by

          @hayman thanks! Please keep in mind that I’m not using the newest version of AssistantMK2. I’ve changed the following lines in his code (commented as “NEW”), this way, it will only me shown, if MMM-Hotword detected the hotword:

            prepareDom() {
              ....
              this.subdom.youtube = ytOutput
              this.subdom.wrapper = wrapper
          
              wrapper.style.display = "none"			//NEW
              return wrapper
            }
          
            activate(profile, textQuery=null, sender=null, id=null, sayMode=false) {
                 ....
                if (this.config.onActivate) {
          	this.subdom.wrapper.style.display = "block"	                   // NEW
                  setTimeout(()=>{
                    this.doCommand(this.config.onActivate, "onActivate", "onActivate")
                  }, this.config.onActivate.timer)
                }
                ....
            }
          
            deactivate(cb=()=>{}) {
              this.changeStatus("STANDBY")
              this.subdom.wrapper.style.display = "none"			// NEW
              this.sendNotification(this.config.notifications.ASSISTANT_DEACTIVATED)
              this.quietRequest = false
              cb()
            }
          
          H 1 Reply Last reply Reply Quote 1
          • H Offline
            hayman @blaukon
            last edited by

            @blaukon thanks I’ll try it out. Great work

            1 Reply Last reply Reply Quote 0
            • P Offline
              phmandl
              last edited by

              @hayman Could you share your config file for the MMM-remote? Would be helpful and save much time :D

              B 1 Reply Last reply Reply Quote 0
              • B Offline
                blaukon @phmandl
                last edited by

                @phmandl hey, what do you mean by config-file? I’ve already uploaded the config.js to my google-drive: https://drive.google.com/drive/folders/16hNIqnGdpdmm9KeE-jcLGc0-fB80OpML
                or do you mean the modul-files?
                I have not changed any mmm-remote settings or module-code.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @blaukon
                  last edited by

                  @blaukon i think he was looking for the part of you config.js for this module

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    stro
                    last edited by

                    @blaukon
                    Really great job, thanks for sharing. How did you create the MP3 files or do you have them from a free database?

                    1 Reply Last reply Reply Quote 0
                    • B Offline
                      blaukon
                      last edited by

                      @stro voice responses are downloaded from google translate :-)
                      http://translate.google.com/translate_tts?ie=UTF-8&client=tw-ob&q=hey, how are you&tl=En-us

                      1 Reply Last reply Reply Quote 1
                      • B blaukon referenced this topic on
                      • 1
                      • 2
                      • 3
                      • 4
                      • 3 / 4
                      • 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