@makepluscode
https://pastebin.com/cBFMG7ak
i got this… what sholde i do?
@makepluscode
https://pastebin.com/cBFMG7ak
i got this… what sholde i do?
I was think about, maybe build something similar, and got an idea.
Do u think a rpi move sensor can see through the glas?
Think if u have an eye behind the screen, and when it’s noticed movement the MM will show up on the screen.
I don’t own any senor to try it
so i got some time over today, to test it all,
if i say: hide all module it dosent work
but it if i say :Smart mirror hide all modules it works
but mirror mirror on the wall i just get some saying from it, not show the modules.
i need to say :smart mirror show all module it works
can i some way change so i dont need to say smart mirror, just hide all module?
i now need to trying found out what is wrong…dont know wher to start, i guees the .pdl i a good one
@smassy can u post your config, whant to see whear u add the recipes line,
@Sean dont relly understand you post. and dont rely know what i sholde do next, this is the first boot up afteri have create hotword, recipes, dont know if its wrong in my config or in my files,
this is my config:
https://pastebin.com/bw4QpXnL
it feels like my config is a bit messy?
i cant post my code, the forum is saying its spam:/
position: "top_right",
config: {
recipes: ["hiden_show_all.js",]
chimeOnFinish: null,
mic: {
recordProgram: "arecord",
device: "plughw:1"
},
models: [
{
hotwords : "smart_mirror",
file : "smart_mirror.umdl",
sensitivity : "0.5",
},
],
commands: {
"smart_mirror": {
notificationExec: {
notification: "ASSISTANT_ACTIVATE",
payload: (detected, afterRecord) => {
return {profile:"default"}
}
},
restart:false,
afterRecordLimit:0 ```
i am geting error on **chimeOnFinish: null,**
yes i am doing almost the same, i found the hide_and show all… i did make new hotword, and have edit the recipes… so all i have left now, was to start it and see it work but, cant some error in the config…
@Wuz0ink snyggt jobbat:)
Vad har du för kalender för sverige?
@Sean thanks for reply
commands: {
"hideall": {
moduleExec: {
**module: [],**
exec: (module) => { module.hide()}````
Do i need write all of the module namn? or is that module [], inculude all of my module?
if so i "just need to"
1. record audio file using tranier
2 add the file to models directory
2. add the recipe file to recipes directory
3. add config js : recipes: ["hide_show_all"]
any it that right?
@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.````
@Mykle1 said in Wake mirror with voice:
Or this?
can i change to word, from show all modules to let say- Mirror Mirror on the wall?
EDIT: look like i can, will it work if i have mmm-assistantmk2 installd?
i just whant the mirror to be just like that a mirror, then after a comand i what all my modules to show up,