Solved MMM-GA Cast Not Working
-
Hi guys! hoping you can help me figure out why my mirror is not appearing as an option to cast to.
Here’s my config, sorry it’s a little messy as I just rewrote it all upgrading to version 3:
odule: "MMM-GoogleAssistant", position: "top_left", configDeepMerge: true, //position: "fullscreen_above", config: { debug: false, assistantConfig: { lang: "en-US", projectId: "magic-mirror-79d8d", // Required to use gaction. modelId: "", // (OPTIONAL for gaction) instanceId: "", // (OPTIONAL for gaction) latitude: (removed for posting), longitude: (removed for posting), }, responseConfig: { useFullscreen:true, useResponseOutput: true, responseOutputCSS: "response_output.css", screenOutputCSS: "screen_output.css", screenOutputTimer: 5000, activateDelay: 250, useAudioOutput: true, useChime: true, chimes: { beep: "beep.mp3", error: "error.mp3", continue: "continue.mp3", confirmation: "confirmation.mp3", open: "Google_beep_open.mp3", close: "Google_beep_close.mp3", warning: "warning.ogg", }, }, }, micConfig: { recorder: "arecord", device: "plughw:2", }, Extented: { useEXT: true, deviceName: "Magic Mirror", stopCommand: "stop", youtube: { useYoutube: true, youtubeCommand: "youtube", displayResponse: true, useVLC: true, }, cast: { useCast: true, castName: "Magic Mirror (Vanity)", port: 8569 }, }, NPMCheck: { useChecker: true, delay: 10 * 60 * 1000, useAlert: true, } },
-
Are you trying to case youtube if so is it a music vid? Try casting a movie trailer to see if that works?
The Youtube Extented is having a problem and people are working on it and the cast side may also be affected. -
Hi, your config is really to bad. Use template and past inside uniquely what do you want to modify
Actually I see some merge from v2 to v3 and features not exist…
In see again a micConfig part and with this config It will never works.
Extented features should be inside config :{}So better… I repeat again… Use template for create your own config with wiki
-
Ah, I see! I misread one of the brackets as the end of the config section. Still a newbie at this.
I rewrote the configuration file to match closer to V3.
I am able to successfully cast YouTube now! With audio and everything! Might be a feasible workaround for folks until the YouTube fix is in.
-
I have already tried to send a YT video link directly via the cast it works but the problem is that the CAST player asks for a confirmation by click to start playback.
not very practical … so I did not deploy thisThe main thing is that you have fixed your mistake.
Good use to you