Read the statement by Michael Teeuw here.
Start or not...?
-
customizable notification trigger
notifications: {
PAUSE: “HOTWORD_PAUSA”,
RESUME: “HOTWORD_RIPRENDI”,
LISTENING : “HOTWORD_ASCOLTA”,
SLEEPING : “HOTWORD_DORMI”,
ERROR : “HOTWORD_ERRORE”,No, you SHOULD NOT do that modification. Those values are used for system communication between modules. Those are not related with user language or user experience. If you are not developer, you don’t need to touch them.
What is the difference between gAction and transcriptionHook?
gAction is small application or conversation set on Assistant. It is harder to create, but give natural experience to user.
transcriptionHook is just little trick to catch some pattern from your vocal query when you order to Assistant. If some pattern be found when you say something, my module will execute defined command instead original response of Assistant. It’s easier to handle (comparing with gAction)The code you wrote should be put under the module MMM-assistantmk2, MMM-Hotword or MMM-pages?
MMM-AssistantMk2. Read the instruction on github repository. (CONFIGURATION and USAGE documents)
-
Sorry guys i need your help again!
I had to reinstall raspbian due to a module that did not work.
Before formatting the SD, I backed up the MagicMirror folder.
Question: can I copy the folders with the old modules (Mmm-assistantmk2, MMM-Pages, etc…) in the new MagicMirror installation?Thanks.
-
@egnos
Some modules could be copied. But some modules couldn’t. They needs new installation for dependencies. -
@sean Let’s take the example of the “AssistantMk2” module.
To copy the module I should follow these steps:-
Install the pre-dependencies: sudo apt-get install libasound2-dev sox libsox-fmt-all
-
I copy the “MMM-AssistantMk2” folder to the new “modules” folder.
-
In theory I should not follow the fourth chapter of the installation guide IV. Google Assistant Setup, because the configuration has already been implemented.
All right?
Thanks.
-
-
I copy the “MMM-AssistantMk2” folder to the new “modules” folder.
I can not guarantee your copied folder might work because it is not “built/compiled” on new machine.