Read the statement by Michael Teeuw here.
MMM-voice setup but MagicMirror wont display
-
@shazglass said in MMM-voice setup but MagicMirror wont display:
I am serously a 5 day taught myself to help my son with his project.
No worries dude. Personally, I’m glad to see you involved with your son. That’s how this started for me. I wanted to have something in common with my 21 year old son so I could stay “cool” in his eyes. Now . . .
I don’t use voice on my Pi mirror anymore but I do use it extensively on other boards. This is what I remember.
- I didn’t use a 3rd party sound card
- USB microphone plugged directly into USB port of the Pi
- Needing to run
alsamixer
in a terminal window to set mic/capture device. - Testing mic by recording your voice (forgot command - google it)
After that, installing MMM-voice, paying careful attention to the directions on how to install the dependencies. If at this point the module runs but displays a microphone and the word “ERROR” then I can help you. If, on the other hand, the module does not run and errors in the terminal or the dev console then something in your beginning steps is amiss
-
@Mykle1 Good morning.
thank you for the reply, makes a lot of sense. I don’t know how to run alsamixer? which directory would I do that in. I have tested the mic and it def works. I am at the point where it displays a microphone with ERROR showing. Sometimes it says , INITIALISING, CHOOSE MODE, then straight away shows ERROR again. Is there something on the pi I need to configure? thnx again Mykle, and I am a mom to a 15 year old :) -
@shazglass There is a error log in the module. Also there is a hidden debug option for for informations
debug: true
-
@strawberry-3.141 Hi - thank you for your reply. Ok, so how do I fix the error log in the module? and where must i type debug: true? Sorry for being a pain - like I said, I have no idea, I am seriously just helping my son, who also just taught himself by reading all of this information.
-
{ module: 'MMM-voice', position: 'bottom_bar', config: { microphone: 1, debug: true } },
post your error and debug log, it’s huge so maybe on pastebin
-
/* Magic Mirror Config Sample * * By Michael Teeuw http://michaelteeuw.nl * MIT Licensed. * * For more information how you can configurate this file * See https://github.com/MichMich/MagicMirror#configuration * */ 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, 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"], language: "en", timeFormat: 24, units: "metric", modules: [ { module: "alert", }, { module: "updatenotification", position: "top_bar" }, { module: "clock", position: "top_left" }, { module: "mmm-systemtemperature", position: "top_center", classes: 'small dimmed', }, { module: "MMM-Lunartic", position: "top_center", config: { image: "animation", distance: "km", useHeader: true, header: "The Moon", maxWidth: "300px", animationSpeed: 3000, } }, { module: "compliments", position: "lower_third", config: { compliments: { anytime: [ "Hey there Tyler!" ], morning: [ "Good morning, Tyler!", "Enjoy your day!", "How was your sleep Tyler?" ], afternoon: [ "Hello, Tyler!", "How was school Tyler?", "Looking good today!" ], evening: [ "Have a great evening!", "You look nice!", "Sleep well Tyler!" ] } } }, { module: "currentweather", position: "top_right", config: { location: "Johannesburg,South_Africa", locationID: "3362024", //ID from http://www.openweathermap.org/help/city_list.txt appid: "9cb2b560a465957274fa56860a202af5" } }, { module: "weatherforecast", position: "top_right", header: "Weather Forecast", config: { location: "Johannesburg,South_Africa", locationID: "3362024", //ID from http://www.openweathermap.org/help/city_list.txt appid: "c65138e0beb14c63bdf5f804f8816f74" } }, { module: "MMM-CountDown", position: "bottom_right", config: { event: "End of Term 2", date: "2018-06-22", } }, { module: "MMM-voice", position: "bottom_bar", config: { microphone: 1, debug: true } }, { module: "MMM-QRCode", position: "bottom_left", config: { text: " Scan to join Home Wifi", colorDark : "#fff", colorLight : "#000", imageSize : 60, showRaw : false, } }, { module: "newsfeed", position: "bottom_bar", config: { feeds: [ { title: "EWN News", url: "http://ewn.co.za/RSS%20Feeds/Latest%20News" } ], showSourceTitle: true, showPublishDate: true } }, ] }; /*************** DO NOT EDIT THE LINE BELOW ***************/ if (typeof module !== "undefined") {module.exports = config;}
This is my config/config.js I have no clue whats wrong, but things arent even in the same place as before? The QRCode is higher, the Countdown is higher, the Moon thing is squashed. I think I am killing my sons project. The MM shows the mic display but says ERROR then UNDEFINED.
-
@shazglass said in MMM-voice setup but MagicMirror wont display:
thnx again Mykle, and I am a mom to a 15 year old :)
That is fantastic, and you are most welcome. I will leave you in the hands of @strawberry 3.141. He is the author of MMM-voice and best qualified to help you. If there is anything else that I can help you with, just ask, or PM me.
A chilly, sunny NYC morning to you. :-)
-
@Mykle1 Thank you!! I hope I can help my son with this! Thank you for your help, I seriously appreciate your time.
From a hot sunny South Africa;) -
if Strawberry can’t fix it…no one can!!!
-
@Mykle1
I would just like to say a MASSIVE and HUGE THANK YOU to you for helping me fix the problem I was experiencing!! I PM’ed you and you have spend the last 10 minutes of your Sunday helping out a complete stranger who half the time didn’t know what you were asking me to do.
So, you will be mentioned in my son’s science project that he has chosen to do the MM on.
without you, there was no WOW factor! @Mykle1 - you are an ANGEL!!! thank you so much!!! x