Read the statement by Michael Teeuw here.
MMM-AssistantMk2 (v3)
-
@Bugsounet Sure! When I used the auto installer on my RPi3B+, running Raspbian Stretch (I list all these because maybe it’s OK on Buster, I do not know) the npm install created “node-v64-linux-arm-glibc” in the ~/MagicMirror/modules/MMM-AssistantMk2/node_modules/grpc/src/node/extension_library/ directory
I know this because I’m running MM with PM2, and the PM2 logs clearly stated that the plugin was looking for “electron-v3.0-linux-arm-glibc” at that location and could not find it.
This was a well-documented bug with the v2 install process, and the commands that fixed it were
npm install --save-dev electron-rebuild
./node_modules/.bin/electron-rebuildThese are run from the MMM-AssistantMk2 directory AND the MMM-Hotword directory. Those were easy!
As to the memory issue, I went back just now to check the pm2 logs for errors, and yes, I see these entries:
0|mm | mmap() failed: Cannot allocate memory
0|mm | Failed to create permanent mapping for memfd region with ID = 3774675295
0|mm | Ignoring received block reference with non-registered memfd ID = 3774675295But I was not sure if they were related to the npm install issue or not. I thought they might be leftover from when the proper grpc files were not there, because, frankly, I know nothing about this stuff.
And thirdly, yes, I did read about the proper config for the v3 version, and everything seems to be fine there. The plugin loads fine, even listens to me, but simply does not process the commands and then kind of locks up. The rest of the mirror runs fine, but the voice command is no longer responsive.
I set up MMM-Buttons to trigger the Assistant as well, and that also works to set off the listener, with exactly the same result - no parsing of the voice command, the eventual “Can’t understand this” dialogue box, and unresponsive until restart.
-
I have open an issue for this for try to correct it but it’s an unstable branch (nightly build / dev)
If you have it, you can test :) -
Error “mmap () failed: Cannot allocate memory” will be fixed from version 3.1.0
we have coded a secondary code that does not use HTML5 audio.possibly, if you are not using bluetooth.
it seems that pulseaudio is the source of the problemif you don’t use bluetooth try;
sudo apt-get autoremove --purge pulseaudio
possibly a restart of the RPI to finish the changes.
and check the parameters witharecord -l
,aplay -l
this was reported by a user.
I personally have no mmap error because I uninstall pulseaudio during the installation of raspbianOR wait release V3.1.0
-
@Bugsounet
Hello Friend! Please include pt-BR (Portuguese Brazil), we Brazilians are always overlooked in translations even though it is the largest country in Latin America with the largest population and major producers and consumers of technologies. -
@meusprojetoskali said in MMM-AssistantMk2 (v3):
Hello Friend! Please include pt-BR (Portuguese Brazil), we Brazilians are always overlooked in translations even though it is the largest country in Latin America with the largest population and major producers and consumers of technologies.
Makes your contribution as PR for Portuguese Brazillian translation. We’ll accept to merge.
-
This post is deleted! -
Excuse me, but in the Portuguese translation the answer was meaningless, can you explain it in other words?
What is a RP contribution? -
@meusprojetoskali
This module needs two kinds of translations.-
Basic terms used by the module.
https://github.com/eouia/MMM-AssistantMk2/tree/master/translations
Error messages or some basic text would be used by the module itself. You can contribute by translating these files.
Send us translation direclty.
Or make a fork from the original github repository to your own repository. Add your work, then makePull Request(PR)
to the original repository. If the original author( - we) accept it, your working will be merged into the original repository. -
vocal patterns for locale on recipes.
Recipe
also might needs some translations. For example,with-MMM-Youtube.js
recipe (https://github.com/eouia/MMM-AssistantMk2/blob/master/recipes/with-MMM-Youtube.js) is written in English. So,stop video
as a pattern oftranscriptionHook
is used. If you could providewith-MMM-Youtube.PT_BR.js
with translation ofstop video
, send us directly or make a PR as I’ve said above.
-
-
MMM-AssistantMk2 v3.1.0-1 is out
The AMk2 team
-
@Bugsounet said in MMM-AssistantMk2 (v3):
MMM-AssistantMk2 v3.1.0-1 is out
The AMk2 team
git pull That’s enough?