Read the statement by Michael Teeuw here.
MMM-AssistantMk2
-
So, I have to try one by one to see which one fails?
Maybe.
Or you can usenpm start devto investigate front-end logs on dev-console of MM screen. Anyway, that is out of range which I can help. -
@Sean
Thank you very much for the help and time you have dedicated to me. -
@Sean
Hi. Sorry for the inconvenience again. It tells me to update MMM-AssistantMk2, and when I update it it doesn’t stop.
-
@juantata
If you have no unsatisfying or any issue with current version, You don’t need to update. Not for only this module, but for all modules of MagicMirror, and forMagicMirror itself. This is my personal recommendation.The error means you’d modified the source (Why?) Usually, a user doesn’t need to (SHOULDN’T) do modifying the source itself.
Don’t do what you don’t understand.However you want to update anyway, just remove those files then
git pullagain. (If not work, trygit stash) -
@Sean said in MMM-AssistantMk2:
-Multi profile and language demommm so i can use google assistant and speak Swedish to it in the new mk2?
if so… im going to make a new build -
@berne
Swedish is not supported by Google officially yet.
https://developers.google.com/assistant/sdk/reference/rpc/languages -
Hi
This module is fine but I I can’t get it to work in French. When I call “jarvis”, mk2 assistant don’t undertand french, only english. Someone have the same issue ? -
@tontonchow
simply, adjust your account setting on your google assistant app of your smartphone. -
@Sean my app is correctly configure for me. If he don’t understand histoire reply is in french but if i speak french he don’t understand.
Étrange
-
@tontonchow
Weird. Transcription on the log is returned as French as expected? -
@Sean Yes
I don’t know why but it seems to work after adjust config.js and rebootadd , after lang line
profiles: { "default" : { profileFile: "default.json", lang: "fr-FR", -
@tontonchow
Can you show me the log of transcription part when you said some phrases as French? To see whether transcription was recognized as French or not. -
Hi Sean,
Nice works for MK2 update but i have a problem to install it. I launched the auto installation but a packet is not found. gcc-7 is missing. when a try to install manually the answer is (in french):pi@raspberrypi:~/MagicMirror/modules/MMM-AssistantMk2 $ sudo apt-get install gcc-7 Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait E: Impossible de trouver le paquet gcc-7when i write gcc -v the result is:
gcc version 6.3.0 20170516 (Raspbian 6.3.0-18+rpi1+deb9u1)And without this my Magic mirror turn into a black screen
How i can install gcc-7 ?
Do i need an update of raspbian to install gcc-7. I’m on last version of raspbian StretchThanks for your support and your next answers
-
@MisterT
first, try to install without gcc7. usually gcc8 on buster was a reason of problem, so gcc6 on stretch might be ok(not tested currently but it worked a year ago) -
hi @Sean thanks for your reply. So retry auto installation with gc6 and rebuild electron. Then finish the config with my audio and mic. Great
After these, i download my credentials then make my default profile.
So everithing seem to bo good. that’t why i start MM and:
MK2v3 logo is on my Magic mirror with animation but when i say a simple sentence, nothing happen.
I changed hotword word to Jarvis and html5 to mpg321 but it’s the same thing.See below my config js for hotword and MK2
{ module: "MMM-Hotword", position: "top_left", config: { useDisplay: false, chimeOnFinish: null, recipes: ["with-AMk2v3_Jarvis.js"], mic: { recordProgram: "arecord", device: "plughw:1", }, }, }, { module: "MMM-AssistantMk2", position: "top_right", config: { debug: true, ui: "Classic", assistantConfig: { latitude: 43.64074, // -90.0 - +90.0 longitude: 5.09545, // -180.0 - +180.0 }, responseConfig: { useHTML5: false, // sound render by HTML5 playProgram: "mpg321", }, micConfig: { recorder: "arecord", device: "plughw:1", }, recipes: [ "with-MMM-Hotword.js" ], profiles: { "default": { profileFile: "default.json", lang: "fr-FR" } }, }, },have you an idea ?
-
@MisterT
Need a log to know what happens. -
@Sean after uninstall, re install, rebuilt electron from MK2 and from Hotword, it was always the same.
So i decided to start a simple config.js with only default modules and Mk2 and hotword. Finaly…Tada !!! it works.The guilty module is MMM-GooglemapsTraffic. So I hid it in my config.js
I have no console log about Mk2 if MMM-GooglemapsTraffic is on.
Have you an idea?
-
@MisterT said in MMM-AssistantMk2:
MMM-GooglemapsTraffic
yes, it has a bug, download the fixed version from my repo (the author has not updated from my changes, last updated 2 years ago)
rename the existing module folder out of the way
cd ~/MagicMirror/modules mv MMM-GooglemapsTraffic MMM-GooglemapsTraffic.original git clone https://github.com/sdetweil/MMM-GoogleMapsTraffic.git cd MMM-GooglemapsTraffic npm install -
@sdetweil ok i installed MMM-GoogleMapsTraffic from your repo and i launched my MM. The result is :
- MMM-MK2 works very well
- MMM-GoogleMapsTraffic not works. I haven’t maps on the screen
When i installed from your repo i had some “warn” message.See below
npm WARN deprecated time-grunt@2.0.0: Deprecated because Grunt is practically unmaintained. Move on to something better. This package will continue to work with Grunt v1, but it will not receive any updates. npm notice created a lockfile as package-lock.json. You should commit this file. npm WARN grunt-stylelint@0.14.0 requires a peer of stylelint@^13.2.0 but none is installed. You must install peer dependencies yourself. npm WARN stylelint-config-standard@20.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself. npm WARN stylelint-config-recommended@3.0.0 requires a peer of stylelint@>=10.1.0 but none is installed. You must install peer dependencies yourself. npm WARN MMM-GoogleMapsTraffic@1.0.0 No repository field.is it possible that these “warn” are the problem ?
My config if need:
{ module: 'MMM-GoogleMapsTraffic', position: 'bottom_left', config: { key: 'xxxxxxxxx', lat: 4x.470485, lng: x.231369, height: '300px', width: '300px', zoom: 14, styledMapType: "transparent", disableDefaultUI: true, backgroundColor: 'hsla(0, 0%, 0%, 0)', markers: [ { lat: 4x.470485, lng: x.231369, fillColor: '#9966ff' }, ], }, }, -
@MisterT if you use the sample config with your apikey does it work? (my api key below)
if you look at the console log, do you see any errors reported
pm2 logs, if you use pm2 to start the mirror, else the terminal window where you do npm start{ module: 'MMM-GoogleMapsTraffic', position: 'top_left', config: { key: 'AIzaSyCJyY3ijaw9X9xJis62XWsbz32PXIk8krI', /// put your key here lat: 37.8262306, lng: -122.2920096, height: '300px', width: '300px' styledMapType: "transparent", disableDefaultUI: true, backgroundColor: 'hsla(0, 0%, 0%, 0)', markers: [ { lat: 37.8262316, lng: -122.2920196, fillColor: '#9966ff' }, ], }, },
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