Read the statement by Michael Teeuw here.
MMM-Hotword,MMM-AssistanMk2 Hotword no Funktion
-
@guongthongminh
Do you mean, you want to show specific web page when you say hotword?
In that case, which module are you using to show web page? -
@Sean Can I use the default browser, Chromium?
MMM-PageReader is also possible.
Sorry for not good at english! -
@guongthongminh
First, using default Browser(Chromium) is not so good idea. You could lose control.
I’m reading MMM-PageReader(https://github.com/dgburr/MMM-PageReader) now, it seems possible to use.models: [ { hotwords : "smart_mirror", file : "smart_mirror.umdl", sensitivity : "0.5", }, // You can add more models here. ], commands: { "smart_mirror": { notificationExec: { notification: "PAGE_READER_LOAD", payload: "https://forum.magicmirror.builders/topic...." } }, // You can add more commands here }In this example, you can activate MMM-PageReader with hotword “smart mirror”. Not tested, but ideally working like this.
-
@Sean Thank you very much!
Let me try and see how I hope it will look perfect -
@Sean Is my config file ok?
I think it’s almost not working, please help me!

-
@Sean said in MMM-Hotword,MMM-AssistanMk2 Hotword no Funktion:
First, using default Browser(Chromium) is not so good idea. You could lose control.
on the armv6 processors (pi 0, 1 and some 3), the electron browser is no longer available at the newer node versions (>8) we are running on 10, so they have to use some other browser and serveronly split mode
-
@sdetweil Can you be more specific? Can you help me finish my project because I’m interested in it !!!
-
@guongthongminh I dont think this is your problem
you have two models: [] sections above
one that says the hotword is smart_mirror
and one that says “tin_tuc”
I don’t know which became active…
just take the{ hotwords: "tin tuc", file: .., sensitivity: "0.5" },and put it into the the models array above
-
@sdetweil The hot word is “hotword” for using mmm-asisstantMK2
hot word “tun tuc” to call mmm-pagereader
The result I want it like this https://www.youtube.com/watch?v=xdLz0bdxO58
Can you help me because I don’t know much about this! -
@guongthongminh sorry, I cannot help…
-
@Sean
I really need your support !!! Please -
@guongthongminh
You did definemodelstwice, so previous one (“smart_mirror”) is ignored.
do like this; (I wroteYou can add more models herebut you might not see.)models: [ { hotwords: "smart_mirror", ... }, { hotwords: "tin_tuc", ... }, ], -
@Sean I fixed this but still could not get the MMM-PageReader module to appear on the screen. Could the cause be from the MMM-PageReader modules?

-
@guongthongminh
Don’t do what you can’t understand.I wrote in my earlier answer, payload was something like this;
payload: "URL TO OPEN",But in your last post, you did like this;
payload: (detected, afterRecord) => { ... }It doesn’t make sense.
-
@Sean Sorry, I tried this but the result is still the same

-
@guongthongminh
Let’s check. See the backend logs and the frontend logs.- Hotword
tin_tucwas caught normally? (You can check the result on backend log)- If so, notification was emitted normally? (You can check it on frontend log)
- if so, well, that’s not my business. Maybe MMM-PageReader has some issue about using notification.
- If not, you probably have some error(s) on frontend to prevent working of module. Solve them first.
- If not, you should solve the hotword issue first. maybe your
tin_tuc.pmdlwas not catchable.
- If so, notification was emitted normally? (You can check it on frontend log)
- Hotword
-
@Sean The mirror receives and answers like this: “This feature is not yet supported on this device”. I cannot determine the cause.
-
@guongthongminh ??? where did you see that message?
-
@Sean google assistant said
-
@guongthongminh
??? You are working aboutMMM-Hotword, notMMM-AssistantMk2right?
If Google says something, you’ve activated MMM-AssistantMk2. It means…
You played like this?"smart mirror, tin tuc!"? This is not the usage you are doing.
I answered How to use hotword to control other modules until now, and your current approach is totally wrong.
So what you want exactly? Using Google Assistant totin tuc? (I think its not needed because you’ve already your .pmdl made)
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