Read the statement by Michael Teeuw here.
MMM-AssistantMk2 (v3)
-
using the latest module + MMM-Hotword and everything works exept controling MMM-Spotify by voice.I use the prepared recipe for it ,MMM-Spotify is showing whatever is playing allright but no voice command is working. My config:
{ module: "MMM-AssistantMk2", position: "top_left", config: { ui: "Classic", assistantConfig: { projectId: "kitchen-tv-d4c48", // Required to use gaction. modelId: "kitchen-tv", // (OPTIONAL for gaction) instanceId: "kitchen-tv", // (OPTIONAL for gaction) latitude: 37.975342, longitude: 23.736151, }, micConfig: { recorder: "arecord", device: "plughw:1" }, recipes: [ "with-MMM-Hotword.js", "Reboot-Restart-Shutdown.js", "with-MMM-Spotify.js" ], profiles: { "default": { profileFile: "default.json", lang: "en-US" } }, useA2D: false, } }, { module: "MMM-Hotword", position: "bottom_left", config: { useDisplay: false, chimeOnFinish: null, recipes: ["with-AMk2v3_Jarvis.js"], mic: { recordProgram: "arecord", device: "plughw:1", }, }, }, { module: "MMM-Spotify", position: "top_right", config: { style: "mini", // "default" or "mini" available control: "hidden", //"default", "hidden" available updateInterval: 1000, onStart: null, // disable onStart feature with `null` allowDevices: [], //If you want to limit devices to display info, use this. // allowDevices: ["RASPOTIFY", "My iPhoneX", "My Home speaker"], } }, -
@costascontis : MMM-Spotify and recipes have an issue @eouia will solve it soon.
I can’t inspect it, because I have no premium account -
@Bugsounet said in MMM-AssistantMk2 (v3):
@costascontis : MMM-Spotify and recipes have an issue @eouia will solve it soon.
I can’t inspect it, because I have no premium accountoh!!! need to have premium account on spotify to work?i dont…
-
You should be a premium member of Spotify
-
@Sean said in MMM-AssistantMk2 (v3):
You should be a premium member of Spotify
so as a free member on Spotify i can use MMM-Spotify to see what is playing but i can not control it by voice?
-
@costascontis said in MMM-AssistantMk2 (v3):
so as a free member on Spotify i can use MMM-Spotify to see what is playing but i can not control it by voice?
Hmmm. I didn’t test. but there is a possibility not to use any feature (Because some API’s are tied together, so I’m not sure)
-
@Sean i did so as a free member i can only see what’s playing,album photo an info about song,artist and device playing.I only cant control anything.
-
Notes: it’s not related to MMM-Spotify but it’s Spotify Api want that
-
This post is deleted! -
MMM-AssistantMk2 v3.2.3
NEW UPDATES
3.2.3 (30/04/2020)
- ADD: New ui -> Simple
- OPT: Optional Build with Snowboy embed
- ADD:
A2DStopCommandfor personalize your stop command (Assistant2Display Server) - FIX: some logs
3.2.2 (17/04/2020)
- FIX: Package.json (google-assistant)
-
@Bugsounet Hi, I installed this module and A2D module and it’s working fine just few small problems:
1 When I want to use this module with A2D and the answer is coming on the screen all the modules is go hiding and its coming back on the screen after 1 minute. If I use without A2D everything works fine and the modules just go blurred behind of the answer window and come back fast.
2 it’s try to use that radio recipe but I can’t manage to start any radio station. I don’t know how it’s work. Every time when the assistant understands station name he look on the Internet to find information about that radio station but never want to start listening. I must install something else ?
Apart of this everything it’s fine and the module it’s brilliant. Thank you for this. -
-
@Bugsounet
Hello again. I tried what you recommended but without much success. First I made the settings for A2D as you recommended and now when I ask something after the assistant answers me an internet window opens with reference to the answer this being a new and very good thing. But when the assistant starts saying the answer, it hides the modules on the screen apart of calendarext. I was talking about this in the post above. I put a short video on youtube.
https://youtu.be/DOIkuA60tKo
As for the radio, I tried after that tutorial but without success.
I tried to use that file “with-radio_fr.js” but when I say “cheriefm” the assistant shows me the website of the radio station “cheriefm” saying “here is what I found on the web” without starting the radio station.
Thank you. -
@electros said in MMM-AssistantMk2 (v3):
it hides the modules on the screen apart of calendarext
it’s a know bug of calendarext
I tried to use that file “with-radio_fr.js” but when I say “cheriefm”
ah … “cheriefm” is the name of the block (like a landmark)
the think to say is “mets chérie fm” in the sample.
you can try to change it for your language withpatternvalueexemple: if you change
patternvalue toradio test
if you say :radio testit will reconize thecheriefmcommand and execute it (send to A2D mp3 link of the radio and img) -
@Bugsounet said in MMM-AssistantMk2 (v3):
it’s a know bug of calendarext
okay but couldn’t remain all the modules on the screen behind the assistant window?
ah … “cheriefm” is the name of the block (like a landmark)
the think to say is “mets chérie fm” in the sample.
you can try to change it for your language with pattern value
exemple: if you change pattern value to radio test
if you say : radio test it will reconize the cheriefm command and execute it (send to A2D mp3 link of the radio and img)
Well I need to practice more with this. for a start I think I should look for another microphone, the assistant doesn’t really understand what I’m saying.
Do you think a respeaker board with 2 microphones would be better than a USB microphone? -
@electros said in MMM-AssistantMk2 (v3):
I think I should look for another microphone, the assistant doesn’t really understand what I’m saying
One possible solution for mic
Working on getting a good hardware solution for MMM-AssistantMK2
-
@Serge Thank you for the link i was looking for a solution like that.
-
Hey everyone, I have a problem with the MMM-assistantMk2:
The Icon is showing on the mirror, when i click on it in VNC it activates,and works. but it doesnt activate by my voice on the mirror.
any ideas? these are my configs:var config = { address: "localhost", // Address to listen on, can be: // - "localhost", "127.0.0.1", "::1" to listen on loopback interface // - another specific IPv4/6 to listen on a specific interface // - "0.0.0.0", "::" to listen on any interface // Default, when address config is left out or empty, is "localhost" port: 8080, ipWhitelist: ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses // or add a specific IPv4 of 192.168.1.5 : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"], // or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format : // ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"], useHttps: false, // Support HTTPS or not, default "false" will use HTTP httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true language: "en", timeFormat: 24, units: "metric", // serverOnly: true/false/"local" , // local for armv6l processors, default // starts serveronly and then starts chrome browser // false, default for all NON-armv6l devices // true, force serveronly mode, because you want to.. no UI on this device modules: [ { module: "clock", position: "top_left" }, { module: "calendar", header: "US Holidays", position: "top_left", config: { calendars: [ { symbol: "calendar-check", url: "webcal://www.calendarlabs.com/ical-calendar/ics/76/US_Holidays.ics" } ] } }, { module: "compliments", position: "lower_third" }, { module: "currentweather", position: "top_right", config: { location: "New York", locationID: "", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "New York", locationID: "5128581", //ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city appid: "YOUR_OPENWEATHER_API_KEY" } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "New York Times", url: "http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml" } ], showSourceTitle: true, showPublishDate: true, broadcastNewsFeeds: true, broadcastNewsUpdates: true } },{ module: "MMM-AssistantMk2", position: "top_left", config: { debug: false, ui: "Classic", // Classic2, Classic or Simple // if you want Google Nest ui style // set Fullscreen ui AND fullscreen_above position assistantConfig: { projectId: "", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: 52.0955919, longitude: 4.4711253, }, responseConfig: { useHTML5: true, // sound render by HTML5 useScreenOutput: true, useAudioOutput: true, useChime: true, timer: 5000, myMagicWord: true, //Your prefer sound play program. //By example, if you are running this on OSX, `afplay` could be available. //by default mpg321 play program is enabled //if audio output cutting try with mpg123 or cvlc program playProgram: "mpg321", chime: { beep: "beep.mp3", error: "error.mp3", continue: "continue.mp3", open: "Google_beep_open.mp3", close: "Google_beep_close.mp3", }, // false - animated icons, 'standby' - static icons only for standby state, true - all static icons useStaticIcons: false }, micConfig: { // put there configuration generated by auto-installer recorder: "arecord", device: "plughw:1", }, customActionConfig: { autoMakeAction: false, autoUpdateAction: false, // in RPI, gaction CLI might have some trouble.(current version should be 2.2.4, but for linux-arm, Google haven't updated) so leave this as false in RPI. I don't know it is solved or not. actionLocale: "en-US", // At this moment, multi-languages are not supported, sorry. Someday I'll work. }, recipes: [ "with-MMM-TelegramBot.js" ], profiles: { "default": { profileFile: "default.json", lang: "en-US" } }, useA2D: false, A2DStopCommand: "stop", useSnowboy: true, snowboy: { audioGain: 2.0, Frontend: true, Model: "jarvis", Sensitivity: null }, }, }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}(it’s running on raspberry pi 4b)
-
useSnowboy: true,
if you use this feature, you need to update AMk2
npm run updatetry this in AMk2 directory
and enable snowboy library (and electron rebuild for snowboy) -
@jimmydew in the future please use the markdown for code
select the text and hit the </> icon above the editor
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