@sdetweil said in Almost done need to active my mirror by Phrase:
hotword config doc
https://github.com/eouia/MMM-Hotword/blob/master/documents/usage.md
glance only displays the info for some period of time… (default 10 seconds)… how long do you want the info to stay on screen?
the README.md file for each module tells how to use it
thanks for link i have been redning and reding it a coupel of time, and i notis the "This is a real example of recipe file"
is what i am looking for, that is a code for show all/hide all, the “only” thing i need figuer out, is how to get it to work, i need to record some new audio files, and change the “show all” to my phrase that i whant.
and creat trainer for it:D
looks like i maybe can solve this.
The qustine is if i need to anything more?
will that code hide all of my modules?
or do i need to typ all the namn of them,
dont rely know how to explain, i hoop u understand, if not let me know
var recipe = {
models: [
{
hotwords : "hideall",
file : "hideall.pmdl",
sensitivity : "0.5",
},
{
hotwords : "showall",
file : "showall.pmdl",
sensitivity : "0.5",
},
],
commands: {
"hideall": {
moduleExec: {
module: [],
exec: (module) => { module.hide()}
}
},
"showall": {
moduleExec: {
module: [],
exec: (module) => { module.show()}
}
},
},
}
exports.recipe = recipe // Don't remove this line.````