Read the statement by Michael Teeuw here.
MagicMirror project for sister
-
@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() }
-
@blaukon thanks I’ll try it out. Great work
-
@hayman Could you share your config file for the MMM-remote? Would be helpful and save much time :D
-
@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. -
@blaukon i think he was looking for the part of you config.js for this module
-
@blaukon
Really great job, thanks for sharing. How did you create the MP3 files or do you have them from a free database? -
@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 -