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.

    Defaults always read, not config values

    Scheduled Pinned Locked Moved Troubleshooting
    4 Posts 3 Posters 2.3k Views 3 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.
    • B Offline
      bartalluyn
      last edited by

      Hi,

      I’m facing a problem where, in my code, the module doesn’t read the config file somehow. Below is my configuration in config.js. I don’t see something wrong.

      	{
      		module: 'MMM-matrixeffect',
      		position: 'lower_third',
      		canvasWidth:400,
      		canvasHeight:400,
      		textPoints:10,
      		fontName:"Courier New",
      		textColor:"#F00",
      		updateSpeed:400
      	},
      

      I check the contents of the config with this. When watching this, it’s always the default.

      		 	Log.info(this.config);
      

      any one an idea?

      thanks

      J 1 Reply Last reply Reply Quote 0
      • yawnsY Offline
        yawns Moderator
        last edited by

        {
        	module: 'MMM-matrixeffect',
        	position: 'lower_third',
        	config: {
        		canvasWidth:400,
        		canvasHeight:400,
        		textPoints:10,
        		fontName:"Courier New",
        		textColor:"#F00",
        		updateSpeed:400
        	}
        },
        
        1 Reply Last reply Reply Quote 1
        • J Offline
          Jopyth Moderator @bartalluyn
          last edited by Jopyth

          Edit: @yawns was faster.

          Helpful sticky: How to troubleshoot

          1 Reply Last reply Reply Quote 1
          • B Offline
            bartalluyn
            last edited by

            Thank you kindly for the quick reply.
            I had a feeling it was going to be quite a simple solution. :-)

            I’m just a noob getting the hang of things more and more.

            1 Reply Last reply Reply Quote 0

            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
            • 1 / 1
            • 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