MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    MMM-voice setup but MagicMirror wont display

    Scheduled Pinned Locked Moved Troubleshooting
    31 Posts 4 Posters 14.4k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S Offline
      shazglass @strawberry 3.141
      last edited by yawns

      @strawberry-3.141

      /* 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.

      1 Reply Last reply Reply Quote 0
      • Mykle1M Offline
        Mykle1 Project Sponsor Module Developer @shazglass
        last edited by

        @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. :-)

        Create a working config
        How to add modules

        S 2 Replies Last reply Reply Quote 1
        • S Offline
          shazglass @Mykle1
          last edited by

          @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;)

          1 Reply Last reply Reply Quote 0
          • C Offline
            cyberphox
            last edited by

            if Strawberry can’t fix it…no one can!!!

            Full time Dad, DJ and entertainer and lover of technology.

            1 Reply Last reply Reply Quote 0
            • S Offline
              shazglass @Mykle1
              last edited by

              @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

              strawberry 3.141S 1 Reply Last reply Reply Quote 1
              • strawberry 3.141S Offline
                strawberry 3.141 Project Sponsor Module Developer @shazglass
                last edited by

                @shazglass maybe you want to explain here what solved your issue, so people that experience the same issue can see the solution :)

                Please create a github issue if you need help, so I can keep track

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  shazglass @strawberry 3.141
                  last edited by

                  @strawberry-3.141 I have to be dead honest, I dont know! I was asked to run a few commands in the terminal and when asked to start the MM…after a couple of commands later it worked. the best person to ask is Myle…I am to much of a newbie to understand…sorry.

                  Mykle1M 1 Reply Last reply Reply Quote 0
                  • Mykle1M Offline
                    Mykle1 Project Sponsor Module Developer @shazglass
                    last edited by

                    @shazglass said in MMM-voice setup but MagicMirror wont display:

                    the best person to ask is Myle

                    I don’t know who this Myle guy is but I’ll answer for him. :-)

                    Months ago, in an old topic, somewhere on this forum, I found this fix, and saved it. As I’ve always been a fan of @Strawberry’s MMM-voice, I thought that I would need it in the future, and I was right. I’ve installed MMM-voice several times, on several machines, and every time the installation completes, yet the module ERROR’s upon loading. Based on these two commands, I’m thinking a path to specific files needs to be corrected. This also leads the user to think they’ve done something wrong, when in fact, they haven’t.

                    LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib

                    sudo ldconfig

                    Create a working config
                    How to add modules

                    S 1 Reply Last reply Reply Quote 3
                    • S Offline
                      shazglass @Mykle1
                      last edited by

                      @Mykle1 oops! See what happens when I type - thnk goodness my son is doing all the hard work! pologies or the incorrect name ;)

                      And I do agree - I thought I had done something wrong and messed up my son’s voice commands. But again THANK YOU for he help - will tackle “hello-Lucy” with my son this weekend…fingers crossed!

                      Mykle1M 1 Reply Last reply Reply Quote 0
                      • Mykle1M Offline
                        Mykle1 Project Sponsor Module Developer @shazglass
                        last edited by

                        @shazglass

                        Take your time. Read the directions carefully. They pretty much walk you through the steps. You and your son will be fine. If you get hung up on something you can post here and I’ll lend you a hand. Send your husband out for food and beer in case I get hungry. ;-)

                        Create a working config
                        How to add modules

                        S 1 Reply Last reply Reply Quote 1
                        • 1
                        • 2
                        • 3
                        • 4
                        • 3 / 4
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy